Skip to content

Stack

class Stack (transition_type: Literal['none', 'crossfade', 'slide-right', 'slide-left', 'slide-up', 'slide-down', 'slide-left-right', 'slide-up-down', 'over-up', 'over-down', 'over-left', 'over-right', 'under-up', 'under-down', 'under-left', 'under-right', 'over-up-down', 'over-down-up', 'over-left-right', 'over-right-left'] | StackTransitionType = Gtk.StackTransitionType.NONE, transition_duration: int = 400, children: Widget | Iterable[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)

Bases: Stack, Container

property transition_type StackTransitionType

property transition_duration