final class GdkX11.X11Window : Gdk.Window
  /* No available fields */

No description available.


hierarchy this GdkX11Window ancestor_0 GdkWindow ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0




Wraps a native window in a GdkWindow. The function will try to look up the window using gdk_x11_window_lookup_for_display() first. If it does not find it there, it will create a new window.

since: 2.24



Looks up the GdkWindow that wraps the given native window handle.

since: 2.24

Instance methods


Gets the number of the workspace window is on.

since: 3.10


Returns the X resource (window) belonging to a GdkWindow.


Moves the window to the correct workspace when running under a window manager that supports multiple workspaces, as described in the Extended Window Manager Hints specification. Will not do anything if the window is already on all workspaces.

since: 2.8


Moves the window to the given workspace when running unde a window manager that supports multiple workspaces, as described in the Extended Window Manager Hints specification.

since: 3.10


This is the same as gdk_window_set_shadow_width() but it only works on GdkX11Window.

deprecated: 3.12 since: 3.10


This function can be used to disable frame synchronization for a window. Normally frame synchronziation will be enabled or disabled based on whether the system has a compositor that supports frame synchronization, but if the window is not directly managed by the window manager, then frame synchronziation may need to be disabled. This is the case for a window embedded via the XEMBED protocol.

since: 3.8


Set a hint for the window manager, requesting that the titlebar should be hidden when the window is maximized.

since: 3.4


GTK+ applications can request a dark theme variant. In order to make other applications - namely window managers using GTK+ for themeing - aware of this choice, GTK+ uses this function to export the requested theme variant as _GTK_THEME_VARIANT property on toplevel windows.

since: 3.2


The application can use this call to update the _NET_WM_USER_TIME property on a toplevel window. This property stores an Xserver time which represents the time of the last user input event received for this window. This property may be used by the window manager to alter the focus, stacking, and/or placement behavior of windows when they are mapped depending on whether the new window was created by a user action or is a “pop-up” window activated by a timer or some other event.

since: 2.6


This function modifies or removes an arbitrary X11 window property of type UTF8_STRING. If the given window is not a toplevel window, it is ignored.

since: 3.4

Methods inherited from GdkWindow (157)

Please see GdkWindow for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.


Properties inherited from GdkWindow (1)

The mouse pointer for a GdkWindow. See gdk_window_set_cursor() and gdk_window_get_cursor() for details.


Signals inherited from GdkWindow (5)

The ::create-surface signal is emitted when an offscreen window needs its surface (re)created, which happens either when the window is first drawn to, or when the window is being resized. The first signal handler that returns a non-NULL surface will stop any further signal emission, and its surface will be used.


The ::from-embedder signal is emitted to translate coordinates in the embedder of an offscreen window to the offscreen window.


Emitted when the position of window is finalized after being moved to a destination rectangle.


The ::pick-embedded-child signal is emitted to find an embedded child at the given position.


The ::to-embedder signal is emitted to translate coordinates in an offscreen window to its embedder.

Signals inherited from GObject (1)

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GdkX11X11WindowClass {
  /* no available fields */

No description available.