Dazzle.ApplicationWindow¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.ApplicationWindow (6), Gtk.Window (119), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gio.ActionGroup (14), Gio.ActionMap (5)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
|
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Window (5), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10), Gio.ActionGroup (14), Gio.ActionMap (3)
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
If the window is fullscreen |
||
r |
The state of the titlebar animation |
Style Properties¶
- Inherited:
Signals¶
Fields¶
- Inherited:
Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1), Gio.ActionGroup (4)
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Dazzle.ApplicationWindow(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- get_fullscreen()¶
-
Gets if the window is in the fullscreen state.
New in version 3.26.
- get_titlebar()¶
- Returns:
A
Gtk.Widget
orNone
- Return type:
Gets the titlebar for the window, if there is one.
New in version 3.26.
- get_titlebar_animation()¶
- Return type:
- set_fullscreen(fullscreen)¶
- Parameters:
fullscreen (
bool
) – if the window should be in the fullscreen state
Sets the
Dazzle.ApplicationWindow
into either the fullscreen or unfullscreen state based on fullscreen.The titlebar for the window is contained within a
Gtk.Revealer
which is repurposed as a floating bar when the application is in fullscreen mode.See
Dazzle.ApplicationWindow.get_fullscreen
() to get the current fullscreen state.New in version 3.26.
- set_titlebar(titlebar)¶
- Parameters:
titlebar (
Gtk.Widget
) –
Sets the titlebar for the window.
Generally, you want to do this from your GTK ui template by setting the <child type=”titlebar”>
New in version 3.26.
- do_get_fullscreen() virtual¶
-
Gets if the window is in the fullscreen state.
New in version 3.26.
- do_set_fullscreen(fullscreen) virtual¶
- Parameters:
fullscreen (
bool
) – if the window should be in the fullscreen state
Sets the
Dazzle.ApplicationWindow
into either the fullscreen or unfullscreen state based on fullscreen.The titlebar for the window is contained within a
Gtk.Revealer
which is repurposed as a floating bar when the application is in fullscreen mode.See
Dazzle.ApplicationWindow.get_fullscreen
() to get the current fullscreen state.New in version 3.26.
Property Details¶
- Dazzle.ApplicationWindow.props.fullscreen¶
-
The “fullscreen” property denotes if the window is in the fullscreen state. The titlebar of the
Dazzle.ApplicationWindow
contains a revealer which will be repurposed into a floating bar while the window is in the fullscreen mode.Set this property to
False
to unfullscreen.
- Dazzle.ApplicationWindow.props.titlebar_animation¶
- Name:
titlebar-animation
- Type:
- Default Value:
- Flags:
The state of the titlebar animation