Window
- class Window(*args, **kwargs)
Superclasses: Window
, Widget
, InitiallyUnowned
, Object
Subclasses: AboutWindow
, PreferencesWindow
Implemented Interfaces: Accessible
, Buildable
, ConstraintTarget
, Native
, Root
, ShortcutManager
- Constructors:
Window(**properties)
new() -> Gtk.Widget
Constructors
Methods
- class Window
- add_breakpoint(breakpoint: Breakpoint) None
Adds
breakpoint
toself
.Added in version 1.4.
- Parameters:
breakpoint – the breakpoint to add
- get_content() Widget | None
Gets the content widget of
self
.This method should always be used instead of
get_child
.
- get_current_breakpoint() Breakpoint | None
Gets the current breakpoint.
Added in version 1.4.
- get_dialogs() ListModel
Returns a
ListModel
that contains the open dialogs ofself
.This can be used to keep an up-to-date view.
Added in version 1.5.
Properties
- class Window
-
- props.current_breakpoint: Breakpoint
The current breakpoint.
Added in version 1.4.
Fields
- class Window
- parent_instance