Skip to content

CenterBox

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

<TypeSignature typeName={ “CenterBox” } typePrefix={ “class” } typeArgList={ “(start_children: Widget | Iterable[Widget] | None = None, center_children: Widget | Iterable[Widget] | None = None, end_children: Widget | Iterable[Widget] | None = None, spacing: int = 0, orientation: Literal[‘v’, ‘vertical’, ‘h’, ‘horizontal’] | Orientation = Gtk.Orientation.HORIZONTAL, 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)” }> CenterBox

Bases: Box

<TypeSignature typeName={ “start_children” } typePrefix={ “property” } returnType={ “list[Widget]” }> start_children

<TypeSignature typeName={ “center_children” } typePrefix={ “property” } returnType={ “list[Widget]” }> center_children

<TypeSignature typeName={ “end_children” } typePrefix={ “property” } returnType={ “list[Widget]” }> end_children

<TypeSignature typeName={ “add_start” } typePrefix={ “def” } typeArgList={ “(widget: Widget)” }> add_start

<TypeSignature typeName={ “add_center” } typePrefix={ “def” } typeArgList={ “(widget: Widget)” }> add_center

<TypeSignature typeName={ “add_end” } typePrefix={ “def” } typeArgList={ “(widget: Widget)” }> add_end

<TypeSignature typeName={ “remove_start” } typePrefix={ “def” } typeArgList={ “(widget: Widget)” }> remove_start

<TypeSignature typeName={ “remove_center” } typePrefix={ “def” } typeArgList={ “(widget: Widget)” }> remove_center

<TypeSignature typeName={ “remove_end” } typePrefix={ “def” } typeArgList={ “(widget: Widget)” }> remove_end