ViewStackPage
Object Hierarchy:
Description:
[ CCode ( type_id = "adw_view_stack_page_get_type ()" ) ]
public sealed class ViewStackPage : Object, Accessible
public sealed class ViewStackPage : Object, Accessible
An auxiliary class used by [class@ViewStack].
Namespace: Adw
Package: libadwaita-1
Content:
Properties:
- public uint badge_number { get; set; }
The badge number for this page.
- public Widget child { get; construct; }
The stack child to which the page belongs.
- 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; }
Whether an embedded underline in the title indicates a mnemonic.
- public bool visible { get; set; }
Whether this page is visible.
Creation methods:
- protected ViewStackPage ()
Methods:
- public uint get_badge_number ()
Gets the badge number for this page.
- public unowned Widget get_child ()
Gets the stack child to which this belongs.
- public unowned string? get_icon_name ()
Gets the icon name of the page.
- public unowned string? get_name ()
Gets the name of the page.
- public bool get_needs_attention ()
Gets whether the page requires the user 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 ()
Gets whether this is visible in its `AdwViewStack`.
- public void set_badge_number (uint badge_number)
Sets the badge number for this page.
- public void set_icon_name (string? icon_name)
Sets the icon name of the page.
- public void set_name (string? name)
Sets the name of the page.
- public void set_needs_attention (bool needs_attention)
Sets whether the page requires the user attention.
- public void set_title (string? title)
Sets the page title.
- public void set_use_underline (bool use_underline)
Sets whether underlines in the page title indicate mnemonics.
- public void set_visible (bool visible)
Sets whether
page
is visible in its `AdwViewStack`.
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible