Page
Object Hierarchy:
Description:
[ GtkTemplate ( ui = "/org/altlinux/Tuner/page.ui" ) ]
public class Page : NavigationPage, Buildable
A settings page that can contain groups of preferences widgets.
This class represents an individual page within a Tuner.PanelPage, typically loaded from
the "/org/altlinux/Tuner/page.ui" template. It manages the layout and ordering of preference groups.
To allow plugins to add content, you need to set the "tag" property.
The page consists of an Adw.ToolbarView with Adw.HeaderBar and an
Adw.PreferencesPage container that holds the preference groups.
Content:
Creation methods:
Methods:
- public void add (PreferencesGroup group)
Adds a single Adw.PreferencesGroup to this
page.
- public void add_child (Builder builder, Object child, string? type)
- public void add_content (PageContent page_content)
- public Group? find_group (string id)
Finds a group by its ID.
- public Box get_groups_container ()
Gets the container widget that holds all preference groups.
- public void reorder_group (Group group)
Reorders a group based on its priority value.
Inherited Members:
All known members inherited from class Adw.NavigationPage
- can_pop
- child
- get_can_pop
- get_child
- get_tag
- get_title
- hidden
- hiding
- set_can_pop
- set_child
- set_tag
- set_title
- showing
- shown
- tag
- title
All known members inherited from class Gtk.Widget
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
All known members inherited from interface Gtk.Buildable
- add_child
- custom_finished
- custom_tag_end
- custom_tag_start
- get_buildable_id
- get_id
- get_internal_child
- parser_finished
- set_buildable_property
- set_id
All known members inherited from interface Gtk.Accessible
- accessible_role
- announce
- get_accessible_parent
- get_accessible_role
- get_at_context
- get_bounds
- get_first_accessible_child
- get_next_accessible_sibling
- get_platform_state
- reset_property
- reset_relation
- reset_state
- set_accessible_parent
- update_next_accessible_sibling
- update_property
- update_property_value
- update_relation
- update_relation_value
- update_state
- update_state_value