X11
class X11WindowLayer (value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases: Enum
member TOP 1
member BOTTOM 2
class X11WindowGeometry (value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases: Enum
member CENTER 1
member CENTER_AUTO 2
member TOP 3
member TOP_LEFT 4
member TOP_RIGHT 5
member BOTTOM 6
member BOTTOM_LEFT 7
member BOTTOM_RIGHT 8
member LEFT 9
member RIGHT 10
class X11Window
Bases: Window
A dockable window for X11/XOrg
- Parameters:
- title (str , optional) — the title of this window (used for window manager scoping), defaults to “fabric”
- type (Literal [ “top-level” , “popup” ] | Gtk.WindowType , optional) — the type of this window (useful with some window managers), defaults to Gtk.WindowType.TOPLEVEL
- child (Gtk.Widget | None , optional) — a child widget to add into this window, defaults to None
- name (str | None , optional) — the name identifer for this widget (useful for styling), defaults to None
- visible (bool , optional) — whether should this widget be visible or not once initialized, defaults to True
- all_visible (bool , optional) — whether should this widget and all of its children be visible or not once initialized, defaults to False
- style (str | None , optional) — inline stylesheet to be applied on this widget, defaults to None
- style_classes (Iterable *[*str ] | str | None , optional) — a list of style classes to be added into this widget once initialized, defaults to None
- tooltip_text (str | None , optional) — the text that should be rendered inside the tooltip, defaults to None
- tooltip_markup (str | None , optional) — same as tooltip_text but it accepts simple markup expressions, defaults to None
- h_align (Literal [ “fill” , “start” , “end” , “center” , “baseline” ] | Gtk.Align | None , optional) — horizontal alignment of this widget (compared to its parent), defaults to None
- v_align (Literal [ “fill” , “start” , “end” , “center” , “baseline” ] | Gtk.Align | None , optional) — vertical alignment of this widget (compared to its parent), defaults to None
- h_expand (bool , optional) — whether should this widget fill in all the available horizontal space or not, defaults to False
- v_expand (bool , optional) — whether should this widget fill in all the available vertical space or not, defaults to False
- size (Iterable *[*int ] | int | None , optional) — a fixed size for this widget (not guranteed to get applied), defaults to None