gtk-bin, gtk-container, gtk-widget, g-initially-unowned, gtk-buildable, g-object, common-lisp:standard-object, common-lisp:t
gtk-application-window, gtk-assistant, gtk-dialog, gtk-offscreen-window, gtk-plug, gtk-shortcuts-window
A gtk-window is a toplevel window which can contain other widgets.
Windows normally have decorations that are under the control of the windowing system and allow the user to manipulate the window, e. g. to resize it, move it, or close it.
The gtk-window implementation of the gtk-buildable interface supports a custom <accel-groups> element, which supports any number of <group> elements representing the gtk-accel-group objects you want to add to your window. This is synonymous with the gtk-window-add-accel-group function.
GtkWindow as GtkBuildable
Example: A UI definition fragment with accel groups
<object class="GtkWindow"> <accel-groups> <group name="accelgroup1"/> </accel-groups> </object> <!-- --> ... <!-- --> <object class="GtkAccelGroup" id="accelgroup1"/>The gtk-window implementation of the gtk-buildable interface supports setting a child as the titlebar by specifying "titlebar" as the "type" attribute of a <child> element.
window.background ├── decoration ├── <titlebar child>.titlebar [.default-decoration] ╰── <child>gtk-window has a main CSS node with name window and style class .background, and a subnode with name decoration.
Style classes that are typically used with the main CSS node are .csd, when client-side decorations are in use, .solid-csd, for client-side decorations without invisible borders, .ssd, used by mutter when rendering server-side decorations. gtk-window also represents window states with the following style classes on the main node: .tiled, .maximized, .fullscreen. Specialized types of window often add their own discriminating style classes, such as .popup or .tooltip.
gtk-window adds the .titlebar and .default-decoration style classes to the widget that is added as a titlebar child.
Style Property Details
The "activate-default" signal
lambda (window) : ActionThe "activate-default" signal is a keybinding signal which gets emitted when the user activates the default widget of window.
The "activate-focus" signal
lambda (window) : ActionThe "activate-focus" signal is a keybinding signal which gets emitted when the user activates the currently focused widget of window.
The "enable-debugging" signal
lambda (window toggle) : ActionThe "enable-debugging" signal is a keybinding signal which gets emitted when the user enables or disables interactive debugging. When toggle is true, interactive debugging is toggled on or off, when it is nil, the debugger will be pointed at the widget under the pointer. The default bindings for this signal are Ctrl-Shift-I and Ctrl-Shift-D.
The "keys-changed" signal
lambda (window) : Run FirstThe "keys-changed" signal gets emitted when the set of accelerators or mnemonics that are associated with window changes.
The "set-focus" signal
lambda (window widget) : Run Last
Slot Access Functions
Inherited Slot Access Functions