Skip to content

X11

import { Aside } from “@astrojs/starlight/components”; import TypeSignature from “@components/TypeSignature.astro”;

<TypeSignature typeName={ “X11WindowLayer” } typePrefix={ “class” } typeArgList={ ”(*values)” }> X11WindowLayer

Bases: Enum

<TypeSignature typeName={ “TOP” } typePrefix={ “member” } returnType={ “1” }> TOP

<TypeSignature typeName={ “BOTTOM” } typePrefix={ “member” } returnType={ “2” }> BOTTOM

<TypeSignature typeName={ “X11WindowGeometry” } typePrefix={ “class” } typeArgList={ ”(*values)” }> X11WindowGeometry

Bases: Enum

<TypeSignature typeName={ “CENTER” } typePrefix={ “member” } returnType={ “1” }> CENTER

<TypeSignature typeName={ “CENTER_AUTO” } typePrefix={ “member” } returnType={ “2” }> CENTER_AUTO

<TypeSignature typeName={ “TOP” } typePrefix={ “member” } returnType={ “3” }> TOP

<TypeSignature typeName={ “TOP_LEFT” } typePrefix={ “member” } returnType={ “4” }> TOP_LEFT

<TypeSignature typeName={ “TOP_RIGHT” } typePrefix={ “member” } returnType={ “5” }> TOP_RIGHT

<TypeSignature typeName={ “BOTTOM” } typePrefix={ “member” } returnType={ “6” }> BOTTOM

<TypeSignature typeName={ “BOTTOM_LEFT” } typePrefix={ “member” } returnType={ “7” }> BOTTOM_LEFT

<TypeSignature typeName={ “BOTTOM_RIGHT” } typePrefix={ “member” } returnType={ “8” }> BOTTOM_RIGHT

<TypeSignature typeName={ “LEFT” } typePrefix={ “member” } returnType={ “9” }> LEFT

<TypeSignature typeName={ “RIGHT” } typePrefix={ “member” } returnType={ “10” }> RIGHT

<TypeSignature typeName={ “X11Window” } typePrefix={ “class” } typeArgList={ “(type_hint: Literal[‘normal’, ‘dialog’, ‘menu’, ‘toolbar’, ‘splashscreen’, ‘utility’, ‘dock’, ‘desktop’, ‘dropdown-menu’, ‘popup-menu’, ‘tooltip’, ‘notification’, ‘combo’, ‘dnd’] | WindowTypeHint = Gdk.WindowTypeHint.DOCK, geometry: Literal[‘center’, ‘center-auto’, ‘top-left’, ‘top’, ‘top-right’, ‘left’, ‘right’, ‘bottom-left’, ‘bottom’, ‘bottom-right’] | X11WindowGeometry = X11WindowGeometry.TOP, margin: str | Iterable[int] = ‘0px 0px 0px 0px’, layer: Literal[‘top’, ‘bottom’] | X11WindowLayer = X11WindowLayer.TOP, sticky: bool = True, focusable: bool = True, resizable: bool = False, decorated: bool = False, taskbar_hint: bool = False, pager_hint: bool = False, title: str = ‘fabric’, type: Literal[‘top-level’, ‘popup’] | WindowType = Gtk.WindowType.TOPLEVEL, child: Widget | None = None, name: str | None = None, visible: bool = True, all_visible: bool = False, style: str | None = None, style_classes: Iterable[str] | str | None = None, tooltip_text: str | None = None, tooltip_markup: str | None = None, h_align: Literal[‘fill’, ‘start’, ‘end’, ‘center’, ‘baseline’] | Align | None = None, v_align: Literal[‘fill’, ‘start’, ‘end’, ‘center’, ‘baseline’] | Align | None = None, h_expand: bool = False, v_expand: bool = False, size: Iterable[int] | int | None = None, **kwargs)” }> 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

<TypeSignature typeName={ “layer” } typePrefix={ “property” } returnType={ “X11WindowLayer” }> layer

<TypeSignature typeName={ “margin” } typePrefix={ “property” } returnType={ “tuple[int, int, int, int]” }> margin

<TypeSignature typeName={ “geometry” } typePrefix={ “property” } returnType={ “X11WindowGeometry” }> geometry

<TypeSignature typeName={ “steal_input” } typePrefix={ “def” } typeArgList={ ”()” } returnType={ “bool” }> steal_input

<TypeSignature typeName={ “unsteal_input” } typePrefix={ “def” } typeArgList={ ”()” }> unsteal_input

<TypeSignature typeName={ “steal_input_soft” } typePrefix={ “def” } typeArgList={ “(can_release: bool = False)” } returnType={ “bool” }> steal_input_soft