Surface
Object Hierarchy:
Gdk.X11.Surface
Gdk.X11.Surface
Gdk.X11.Surface
Gdk.Surface
Gdk.Surface
Gdk.Surface->Gdk.X11.Surface
GLib.Object
GLib.Object
GLib.Object->Gdk.Surface
Description:
[ CCode ( type_id = "gdk_x11_surface_get_type ()" ) ] [ GIR ( name = "X11Surface" ) ]public class Surface : Surface
Content:
Static methods:
Creation methods:
Methods:
public uint32 get_desktop ()
Gets the number of the workspace this
is on.
public unowned Surface ? get_group ()
Returns the group this surface belongs to.
public uint32 get_server_time ()
Routine to get the current X server time stamp.
public Window get_xid ()
Returns the X resource (surface) belonging to a `GdkSurface`.
public void move_to_current_desktop ()
Moves the surface to the correct workspace when running under a window
manager that supports multiple workspaces, as described in the
Extended Window Manager Hints specification.
public void move_to_desktop (uint32 desktop)
Moves the surface to the given workspace when running unde a window
manager that supports multiple workspaces, as described in the
Extended Window Manager Hints specification.
public void set_frame_sync_enabled (bool frame_sync_enabled)
This function can be used to disable frame synchronization for a
surface.
public void set_group (Surface leader)
Sets the group leader of this to be
leader
.
public void set_skip_pager_hint (bool skips_pager)
Sets a hint on this that pagers
should not display it.
public void set_skip_taskbar_hint (bool skips_taskbar)
Sets a hint on this that taskbars
should not display it.
public void set_theme_variant (string variant)
GTK applications can request a dark theme variant.
public void set_urgency_hint (bool urgent)
Sets a hint on this that it needs
user attention.
public void set_user_time (uint32 timestamp)
The application can use this call to update the _NET_WM_USER_TIME
property on a toplevel surface.
public void set_utf8_property (string name, string ? value)
This function modifies or removes an arbitrary X11 window property of
type UTF8_STRING.
Inherited Members:
All known members inherited from class Gdk.Surface
beep
create_cairo_context
create_gl_context
create_similar_surface
create_vulkan_context
cursor
destroy
display
enter_monitor
event
frame_clock
get_cursor
get_device_cursor
get_device_position
get_display
get_frame_clock
get_height
get_mapped
get_scale_factor
get_width
height
hide
is_destroyed
layout
leave_monitor
mapped
queue_render
render
request_layout
scale_factor
set_cursor
set_device_cursor
set_input_region
set_opaque_region
translate_coordinates
width
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