StackPage
Object Hierarchy:
Description:
[ CCode ( type_id = "gtk_stack_page_get_type ()" ) ]
public sealed class StackPage : Object, Accessible
public sealed class StackPage : Object, Accessible
An auxiliary class used by `GtkStack`.
Namespace: Gtk
Package: gtk4
Content:
Properties:
- public Widget child { get; construct; }
The child that this page is for.
- public string icon_name { get; set; }
The icon name of the child page.
- public string name { get; set; }
The name of the child page.
- public bool needs_attention { get; set; }
Whether the page requires the user attention.
- public string title { get; set; }
The title of the child page.
- public bool use_underline { get; set; }
If set, an underline in the title indicates a mnemonic.
- public bool visible { get; set; }
Whether this page is visible.
Creation methods:
- protected StackPage ()
Methods:
- public unowned Widget get_child ()
Returns the stack child to which this belongs.
- public unowned string? get_icon_name ()
Returns the icon name of the page.
- public unowned string? get_name ()
Returns the name of the page.
- public bool get_needs_attention ()
Returns whether the page is marked as “needs attention”.
- public unowned string? get_title ()
Gets the page title.
- public bool get_use_underline ()
Gets whether underlines in the page title indicate mnemonics.
- public bool get_visible ()
Returns whether
pageis visible in its `GtkStack`. - public void set_icon_name (string setting)
Sets the icon name of the page.
- public void set_name (string setting)
Sets the name of the page.
- public void set_needs_attention (bool setting)
Sets whether the page is marked as “needs attention”.
- public void set_title (string setting)
Sets the page title.
- public void set_use_underline (bool setting)
Sets whether underlines in the page title indicate mnemonics.
- public void set_visible (bool visible)
Sets whether
pageis visible in its `GtkStack`.
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible