Class

GdkX11X11Window

Description

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

Hierarchy

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

Ancestors

Constructors

gdk_x11_window_foreign_new_for_display

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.

Available since: 2.24

Functions

gdk_x11_window_lookup_for_display

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

Available since: 2.24

Instance methods

gdk_x11_window_get_desktop

Gets the number of the workspace window is on.

Available since: 3.10

gdk_x11_window_get_xid

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

gdk_x11_window_move_to_current_desktop

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.

Available since: 2.8

gdk_x11_window_move_to_desktop

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.

Available since: 3.10

gdk_x11_window_set_frame_extents

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

Available since: 3.10

Deprecated since: 3.12

gdk_x11_window_set_frame_sync_enabled

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.

Available since: 3.8

gdk_x11_window_set_hide_titlebar_when_maximized

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

Available since: 3.4

gdk_x11_window_set_theme_variant

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.

Available since: 3.2

gdk_x11_window_set_user_time

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.

Available since: 2.6

gdk_x11_window_set_utf8_property

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.

Available 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

Properties inherited from GdkWindow (1)
Gdk.Window:cursor

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

Available since: 2.18

Signals

Signals inherited from GdkWindow (5)
Gdk.Window::create-surface

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.

Available since: 3.0

Gdk.Window::from-embedder

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

Available since: 2.18

Gdk.Window::moved-to-rect

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

Available since: 3.22

Gdk.Window::pick-embedded-child

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

Available since: 2.18

Gdk.Window::to-embedder

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

Available since: 2.18

Signals inherited from GObject (1)
GObject.Object::notify

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.