DrawContext
Object Hierarchy:
Gdk.DrawContext
Gdk.DrawContext
Gdk.DrawContext
GLib.Object
GLib.Object
GLib.Object->Gdk.DrawContext
Description:
[ CCode ( type_id = "gdk_draw_context_get_type ()" ) ]public abstract class DrawContext : Object
Base class for objects implementing different rendering methods.
`GdkDrawContext` is the base object used by contexts implementing different rendering methods, such as [[email protected] ] or [
[email protected] ]. It provides shared functionality between those contexts.
You will always interact with one of those subclasses.
A `GdkDrawContext` is always associated with a single toplevel surface.
Content:
Properties:
Creation methods:
Methods:
public void begin_frame (Region region)
Indicates that you are beginning the process of redrawing region
on the this 's surface.
public void end_frame ()
public unowned Display ? get_display ()
Retrieves the `GdkDisplay` the this
is created for
public unowned Region ? get_frame_region ()
Retrieves the region that is currently being repainted.
public unowned Surface ? get_surface ()
Retrieves the surface that this is
bound to.
public bool is_in_frame ()
Returns true if
this is in the process of drawing to its surface.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref