- public void cairo_draw_from_gl (Context cr, Surface surface, int source, int source_type, int buffer_scale, int x, int y, int width, int height)
The main way to not draw GL content in GTK.
- public void cairo_rectangle (Context cr, Rectangle rectangle)
Adds the given rectangle to the current path of cr
.
- public void cairo_region (Context cr, Region region)
Adds the given region to the current path of cr
.
- public Region cairo_region_create_from_surface (Surface surface)
Creates region that covers the area where the given surface
is more than 50% opaque.
- public void cairo_set_source_pixbuf (Context cr, Pixbuf pixbuf, double pixbuf_x, double pixbuf_y)
Sets the given pixbuf as the source pattern for cr
.
- public void cairo_set_source_rgba (Context cr, RGBA rgba)
Sets the specified `GdkRGBA` as the source color of cr
.
- public async bool content_deserialize_async (InputStream stream, string mime_type, Type type, int io_priority, Cancellable? cancellable, out Value value) throws Error
Read content from the given input stream and deserialize it,
asynchronously.
- public ContentFormats? content_formats_parse (string string)
Parses the given string
into `GdkContentFormats` and
returns the formats.
- public void content_register_deserializer (string mime_type, Type type, ContentDeserializeFunc deserialize, void* data, DestroyNotify notify)
Registers a function to deserialize object of a given type.
- public void content_register_serializer (Type type, string mime_type, ContentSerializeFunc serialize, void* data, DestroyNotify notify)
Registers a function to serialize objects of a given type.
- public async bool content_serialize_async (OutputStream stream, string mime_type, Value value, int io_priority, Cancellable? cancellable) throws Error
Serialize content and write it to the given output stream,
asynchronously.
- public bool drag_action_is_unique (DragAction action)
- public Quark gl_error_quark ()
- public unowned string? intern_mime_type (string string)
Canonicalizes the given mime type and interns the result.
- public void keyval_convert_case (uint symbol, out uint lower, out uint upper)
Obtains the upper- and lower-case versions of the keyval symbol
.
- public uint keyval_from_name (string keyval_name)
Converts a key name to a key value.
- public bool keyval_is_lower (uint keyval)
Returns true if the given key value
is in lower case.
- public bool keyval_is_upper (uint keyval)
Returns true if the given key value
is in upper case.
- public unowned string? keyval_name (uint keyval)
Converts a key value into a symbolic name.
- public uint keyval_to_lower (uint keyval)
Converts a key value to lower case, if applicable.
- public uint32 keyval_to_unicode (uint keyval)
Convert from a GDK key symbol to the corresponding Unicode character.
- public uint keyval_to_upper (uint keyval)
Converts a key value to upper case, if applicable.
- public Region pango_layout_get_clip_region (Layout layout, int x_origin, int y_origin, int[] index_ranges)
Obtains a clip region which contains the areas where the given ranges
of text would be drawn.
- public Pixbuf? pixbuf_get_from_surface (Surface surface, int src_x, int src_y, int width, int height)
Transfers image data from a `cairo_surface_t` and converts it to a
`GdkPixbuf`.
- public Pixbuf? pixbuf_get_from_texture (Texture texture)
Creates a new pixbuf from texture
.
- public void set_allowed_backends (string backends)
Sets a list of backends that GDK should try to use.
- public Quark texture_error_quark ()
- public uint unicode_to_keyval (uint32 wc)
Convert from a Unicode character to a key symbol.
- public Quark vulkan_error_quark ()