Class

GdkWaylandWaylandToplevel

Description [src]

final class GdkWayland.WaylandToplevel : GdkWayland.WaylandSurface
  implements Gdk.Toplevel {
  /* No available fields */
}

The Wayland implementation of GdkToplevel.

Beyond the GdkToplevel API, the Wayland implementation has API to set up cross-process parent-child relationships between surfaces with gdk_wayland_toplevel_export_handle() and gdk_wayland_toplevel_set_transient_for_exported().

Implements

Instance methods

gdk_wayland_toplevel_drop_exported_handle

Destroy a handle that was obtained with gdk_wayland_toplevel_export_handle().

since: 4.12

gdk_wayland_toplevel_export_handle

Asynchronously obtains a handle for a surface that can be passed to other processes.

gdk_wayland_toplevel_set_application_id

Sets the application id on a GdkToplevel.

gdk_wayland_toplevel_set_transient_for_exported

Marks toplevel as transient for the surface to which the given parent_handle_str refers.

gdk_wayland_toplevel_unexport_handle

Destroys the handle that was obtained with gdk_wayland_toplevel_export_handle().

deprecated: 4.12 

Methods inherited from GdkWaylandSurface (1)
gdk_wayland_surface_get_wl_surface

Returns the Wayland wl_surface of a GdkSurface.

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.

Methods inherited from GdkToplevel (19)
gdk_toplevel_begin_move

Begins an interactive move operation.

gdk_toplevel_begin_resize

Begins an interactive resize operation.

gdk_toplevel_focus

Sets keyboard focus to surface.

gdk_toplevel_get_state

Gets the bitwise or of the currently active surface state flags, from the GdkToplevelState enumeration.

gdk_toplevel_inhibit_system_shortcuts

Requests that the toplevel inhibit the system shortcuts.

gdk_toplevel_lower

Asks to lower the toplevel below other windows.

gdk_toplevel_minimize

Asks to minimize the toplevel.

gdk_toplevel_present

Present toplevel after having processed the GdkToplevelLayout rules.

gdk_toplevel_restore_system_shortcuts

Restore default system keyboard shortcuts which were previously inhibited.

gdk_toplevel_set_decorated

Sets the toplevel to be decorated.

gdk_toplevel_set_deletable

Sets the toplevel to be deletable.

gdk_toplevel_set_icon_list

Sets a list of icons for the surface.

gdk_toplevel_set_modal

Sets the toplevel to be modal.

gdk_toplevel_set_startup_id

Sets the startup notification ID.

gdk_toplevel_set_title

Sets the title of a toplevel surface.

gdk_toplevel_set_transient_for

Sets a transient-for parent.

gdk_toplevel_show_window_menu

Asks the windowing system to show the window menu.

gdk_toplevel_supports_edge_constraints

Returns whether the desktop environment supports tiled window states.

gdk_toplevel_titlebar_gesture
No description available.

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.

Properties inherited from GdkToplevel (10)
Gdk.Toplevel:decorated

Whether the window manager should add decorations.

Gdk.Toplevel:deletable

Whether the window manager should allow to close the surface.

Gdk.Toplevel:fullscreen-mode

The fullscreen mode of the surface.

Gdk.Toplevel:icon-list

A list of textures to use as icon.

Gdk.Toplevel:modal

Whether the surface is modal.

Gdk.Toplevel:shortcuts-inhibited

Whether the surface should inhibit keyboard shortcuts.

Gdk.Toplevel:startup-id

The startup ID of the surface.

Gdk.Toplevel:state

The state of the toplevel.

Gdk.Toplevel:title

The title of the surface.

Gdk.Toplevel:transient-for

The transient parent of the surface.

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.

Signals inherited from GdkToplevel (1)
GdkToplevel::compute-size

Emitted when the size for the surface needs to be computed, when it is present.