Gtk.StackPage¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
|||
r/w |
|||
r/w |
|||
r/w/en |
|||
r/w |
|||
r/w/en |
|||
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gtk.StackPage(**kwargs)¶
- Bases:
- Abstract:
No
GtkStackPage
is an auxiliary class used byGtkStack
.- get_child()[source]¶
- Returns:
the child to which self belongs
- Return type:
Returns the stack child to which self belongs.
- get_needs_attention()[source]¶
- Returns:
The value of the [property`Gtk`.StackPage:needs-attention] property.
- Return type:
Returns whether the page is marked as “needs attention”.
- get_use_underline()[source]¶
- Returns:
The value of the [property`Gtk`.StackPage:use-underline] property
- Return type:
Gets whether underlines in the page title indicate mnemonics.
- get_visible()[source]¶
-
Returns whether page is visible in its
GtkStack
.This is independent from the [property`Gtk`.Widget:visible] property of its widget.
- set_icon_name(setting)[source]¶
- Parameters:
setting (
str
) – the new value to set
Sets the icon name of the page.
- set_name(setting)[source]¶
- Parameters:
setting (
str
) – the new value to set
Sets the name of the page.
- set_needs_attention(setting)[source]¶
- Parameters:
setting (
bool
) – the new value to set
Sets whether the page is marked as “needs attention”.
Property Details¶
- Gtk.StackPage.props.child¶
- Name:
child
- Type:
- Default Value:
- Flags:
The child that this page is for.
- Gtk.StackPage.props.icon_name¶
-
The icon name of the child page.
- Gtk.StackPage.props.name¶
-
The name of the child page.
- Gtk.StackPage.props.needs_attention¶
- Name:
needs-attention
- Type:
- Default Value:
- Flags:
Whether the page requires the user attention.
This is used by the [class`Gtk`.StackSwitcher] to change the appearance of the corresponding button when a page needs attention and it is not the current one.
- Gtk.StackPage.props.title¶
-
The title of the child page.
- Gtk.StackPage.props.use_underline¶
- Name:
use-underline
- Type:
- Default Value:
- Flags:
If set, an underline in the title indicates a mnemonic.