Interface
GdkToplevel
since: 4.0
Description [src]
interface Gdk.Toplevel : Gdk.Surface
A GdkToplevel
is a freestanding toplevel surface.
The GdkToplevel
interface provides useful APIs for interacting with
the windowing system, such as controlling maximization and size of the
surface, setting icons and transient parents for dialogs.
Available since: 4.0
Prerequisite
In order to implement Toplevel, your type must inherit fromGdkSurface
.
Instance methods
gdk_toplevel_get_state
Gets the bitwise or of the currently active surface state flags,
from the GdkToplevelState
enumeration.
since: 4.0
gdk_toplevel_inhibit_system_shortcuts
Requests that the toplevel
inhibit the system shortcuts.
since: 4.0
gdk_toplevel_present
Present toplevel
after having processed the GdkToplevelLayout
rules.
since: 4.0
gdk_toplevel_restore_system_shortcuts
Restore default system keyboard shortcuts which were previously inhibited.
since: 4.0
gdk_toplevel_supports_edge_constraints
Returns whether the desktop environment supports tiled window states.
since: 4.0
Signals
Gdk.Toplevel::compute-size
Emitted when the size for the surface needs to be computed, when it is present.
since: 4.0