- beginMove
void beginMove(gdk.device.Device device, int button, double x, double y, uint timestamp)
Begins an interactive move operation.
- beginResize
void beginResize(gdk.types.SurfaceEdge edge, gdk.device.Device device, int button, double x, double y, uint timestamp)
Begins an interactive resize operation.
- connectComputeSize
ulong connectComputeSize(T callback, Flag!"After" after)
Connect to ComputeSize signal.
- focus
void focus(uint timestamp)
Sets keyboard focus to surface.
- getState
gdk.types.ToplevelState getState()
- inhibitSystemShortcuts
void inhibitSystemShortcuts(gdk.event.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(gdk.toplevel_layout.ToplevelLayout layout)
- 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(gdk.texture.Texture[] 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(gdk.surface.Surface parent)
Sets a transient-for parent.
- showWindowMenu
bool showWindowMenu(gdk.event.Event event)
Asks the windowing system to show the window menu.
- supportsEdgeConstraints
bool supportsEdgeConstraints()
Returns whether the desktop environment supports
tiled window states.
- titlebarGesture
bool titlebarGesture(gdk.types.TitlebarGesture gesture)
- decorated
bool decorated [@property getter]
- decorated
bool decorated [@property setter]
- deletable
bool deletable [@property getter]
- deletable
bool deletable [@property setter]
- fullscreenMode
gdk.types.FullscreenMode fullscreenMode [@property getter]
Get fullscreenMode property.
- fullscreenMode
gdk.types.FullscreenMode fullscreenMode [@property setter]
Set fullscreenMode property.
- iconList
void* iconList [@property getter]
- iconList
void* iconList [@property setter]
- modal
bool modal [@property getter]
- modal
bool modal [@property setter]
- shortcutsInhibited
bool shortcutsInhibited [@property getter]
Get shortcutsInhibited property.
- startupId
string startupId [@property getter]
- startupId
string startupId [@property setter]
- state
gdk.types.ToplevelState state [@property getter]
- title
string title [@property getter]
- title
string title [@property setter]
- transientFor
gdk.surface.Surface transientFor [@property getter]
Get transientFor property.
- transientFor
gdk.surface.Surface transientFor [@property setter]
Set transientFor property.
A gdk.toplevel.Toplevel is a freestanding toplevel surface.
The gdk.toplevel.Toplevel 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.