- addOnComputeSize
gulong addOnComputeSize(void delegate(ToplevelSize, ToplevelIF) dlg, ConnectFlags connectFlags)
Emitted when the size for the surface needs to be computed, when
it is present.
- beginMove
void beginMove(Device device, int button, double x, double y, uint timestamp)
Begins an interactive move operation.
- beginResize
void beginResize(GdkSurfaceEdge edge, Device device, int button, double x, double y, uint timestamp)
Begins an interactive resize operation.
- focus
void focus(uint timestamp)
Sets keyboard focus to @surface.
- getState
GdkToplevelState getState()
Gets the bitwise or of the currently active surface state flags,
from the GdkToplevelState enumeration.
- getToplevelStruct
GdkToplevel* getToplevelStruct(bool transferOwnership)
- inhibitSystemShortcuts
void inhibitSystemShortcuts(Event event)
Requests that the @toplevel inhibit the system shortcuts.
- lower
bool lower()
Asks to lower the @toplevel below other windows.
- minimize
bool minimize()
Asks to minimize the @toplevel.
- present
void present(ToplevelLayout layout)
Present @toplevel after having processed the GdkToplevelLayout rules.
- restoreSystemShortcuts
void restoreSystemShortcuts()
Restore default system keyboard shortcuts which were previously
inhibited.
- setDecorated
void setDecorated(bool decorated)
Sets the toplevel to be decorated.
- setDeletable
void setDeletable(bool deletable)
Sets the toplevel to be deletable.
- setIconList
void setIconList(ListG surfaces)
Sets a list of icons for the surface.
- setModal
void setModal(bool modal)
Sets the toplevel to be modal.
- setStartupId
void setStartupId(string startupId)
Sets the startup notification ID.
- setTitle
void setTitle(string title)
Sets the title of a toplevel surface.
- setTransientFor
void setTransientFor(Surface parent)
Sets a transient-for parent.
- showWindowMenu
bool showWindowMenu(Event event)
Asks the windowing system to show the window menu.
- supportsEdgeConstraints
bool supportsEdgeConstraints()
Returns whether the desktop environment supports
tiled window states.
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.