Gtk.StackPage¶
class — extends GObject.Object, Accessible
An auxiliary class used by GtkStack.
Methods¶
get_child¶
Returns the stack child to which self belongs.
get_icon_name¶
Returns the icon name of the page.
get_name¶
Returns the name of the page.
get_needs_attention¶
Returns whether the page is marked as “needs attention”.
get_title¶
Gets the page title.
get_use_underline¶
Gets whether underlines in the page title indicate mnemonics.
get_visible¶
Returns whether page is visible in its GtkStack.
This is independent from the Widget.visible
property of its widget.
set_icon_name¶
Sets the icon name of the page.
Parameters:
setting— the new value to set
set_name¶
Sets the name of the page.
Parameters:
setting— the new value to set
set_needs_attention¶
Sets whether the page is marked as “needs attention”.
Parameters:
setting— the new value to set
set_title¶
Sets the page title.
Parameters:
setting— the new value to set
set_use_underline¶
Sets whether underlines in the page title indicate mnemonics.
Parameters:
setting— the new value to set
set_visible¶
Sets whether page is visible in its GtkStack.
Parameters:
visible— The new property value
Properties¶
child¶
The child that this page is for.
icon_name¶
The icon name of the child page.
name¶
The name of the child page.
needs_attention¶
Whether the page requires the user attention.
This is used by the StackSwitcher to change the
appearance of the corresponding button when a page needs
attention and it is not the current one.
title¶
The title of the child page.
use_underline¶
If set, an underline in the title indicates a mnemonic.
visible¶
Whether this page is visible.