### Class

# GdkX11 X11Surface

#### Description

    final class GdkX11.X11Surface : Gdk.Surface
    {
      /* No available fields */
    }

No description available.

#### Ancestors

- GdkSurface
- GObject

#### Functions

###### gdk_x11_surface_lookup_for_display

Looks up the `GdkSurface` that wraps the given native window handle.

deprecated: 4.18

#### Instance methods

###### gdk_x11_surface_get_desktop

Gets the number of the workspace `surface` is on.

deprecated: 4.18

###### gdk_x11_surface_get_group

Returns the group this surface belongs to.

deprecated: 4.18

###### gdk_x11_surface_get_xid

Returns the X resource (surface) belonging to a `GdkSurface`.

deprecated: 4.18

###### gdk_x11_surface_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. Will not do anything if the surface is already on all workspaces.

deprecated: 4.18

###### gdk_x11_surface_move_to_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.

deprecated: 4.18

###### gdk_x11_surface_set_frame_sync_enabled

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

deprecated: 4.18

###### gdk_x11_surface_set_group

Sets the group leader of `surface` to be `leader`. See the ICCCM for details.

deprecated: 4.18

###### gdk_x11_surface_set_skip_pager_hint

Sets a hint on `surface` that pagers should not display it. See the EWMH for details.

deprecated: 4.18

###### gdk_x11_surface_set_skip_taskbar_hint

Sets a hint on `surface` that taskbars should not display it. See the EWMH for details.

deprecated: 4.18

###### gdk_x11_surface_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 surfaces.

deprecated: 4.18

###### gdk_x11_surface_set_urgency_hint

Sets a hint on `surface` that it needs user attention. See the ICCCM for details.

deprecated: 4.18

###### gdk_x11_surface_set_user_time

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

deprecated: 4.18

###### gdk_x11_surface_set_utf8_property

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

deprecated: 4.18

##### Methods inherited from GdkSurface (25)

Please see GdkSurface for a full list of methods.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

##### Properties inherited from GdkSurface (8)

###### Gdk.Surface:cursor

The mouse pointer for the `GdkSurface`.

###### Gdk.Surface:display

The `GdkDisplay` connection of the surface.

###### Gdk.Surface:frame-clock

The `GdkFrameClock` of the surface.

###### Gdk.Surface:height

The height of the surface, in pixels.

###### Gdk.Surface:mapped

Whether the surface is mapped.

###### Gdk.Surface:scale

The scale of the surface.

###### Gdk.Surface:scale-factor

The scale factor of the surface.

###### Gdk.Surface:width

The width of the surface in pixels.

#### Signals

##### Signals inherited from GdkSurface (5)

###### GdkSurface::enter-monitor

Emitted when `surface` starts being present on the monitor.

###### GdkSurface::event

Emitted when GDK receives an input event for `surface`.

###### GdkSurface::layout

Emitted when the size of `surface` is changed, or when relayout should be performed.

###### GdkSurface::leave-monitor

Emitted when `surface` stops being present on the monitor.

###### GdkSurface::render

Emitted when part of the surface needs to be redrawn.

##### Signals inherited from GObject (1)

###### GObject::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 GdkX11X11SurfaceClass {
      /* no available fields */
    }

No description available.