ViewStackPage
Object Hierarchy:
Description:
[ CCode ( type_id = "adw_view_stack_page_get_type ()" ) ]
[ Version ( since = "1.0" ) ]
public sealed class ViewStackPage : Object
An auxiliary class used by [class@ViewStack].
Content:
Properties:
- public uint badge_number { get; set; }
A number associated with the page.
- public Widget child { get; construct; }
The child of the page.
- 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:
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 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 ()
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 is marked as “needs 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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref