Interface
GdkToplevel
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.
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.
gdk_toplevel_restore_system_shortcuts
Restore default system keyboard shortcuts which were previously inhibited.
gdk_toplevel_supports_edge_constraints
Returns whether the desktop environment supports tiled window states.
Signals
Gdk.Toplevel::compute-size
Emitted when the size for the surface needs to be computed, when it is present.