StackPage
-
class StackPage(**properties: Any)
Superclasses: Object
Implemented Interfaces: Accessible
GtkStackPage
is an auxiliary class used by GtkStack
.
Methods
-
class StackPage
-
get_child() → Widget
Returns the stack child to which self
belongs.
-
get_icon_name() → str | None
Returns the icon name of the page.
-
get_name() → str | None
Returns the name of the page.
-
get_needs_attention() → bool
Returns whether the page is marked as “needs attention”.
-
get_title() → str | None
Gets the page title.
-
get_use_underline() → bool
Gets whether underlines in the page title indicate mnemonics.
-
get_visible() → bool
Returns whether page
is visible in its GtkStack
.
This is independent from the visible
property of its widget.
-
set_icon_name(setting: str) → None
Sets the icon name of the page.
- Parameters:
setting – the new value to set
-
set_name(setting: str) → None
Sets the name of the page.
- Parameters:
setting – the new value to set
-
set_needs_attention(setting: bool) → None
Sets whether the page is marked as “needs attention”.
- Parameters:
setting – the new value to set
-
set_title(setting: str) → None
Sets the page title.
- Parameters:
setting – the new value to set
-
set_use_underline(setting: bool) → None
Sets whether underlines in the page title indicate mnemonics.
- Parameters:
setting – the new value to set
-
set_visible(visible: bool) → None
Sets whether page
is visible in its GtkStack
.
- Parameters:
visible – The new property value
Properties
-
class StackPage
-
props.child: Widget
The type of the None singleton.
-
props.icon_name: str
The type of the None singleton.
-
props.name: str
The type of the None singleton.
-
props.needs_attention: bool
The type of the None singleton.
-
props.title: str
The type of the None singleton.
-
props.use_underline: bool
The type of the None singleton.
-
props.visible: bool
The type of the None singleton.