PreferencesPage
Object Hierarchy:
Description:
[ CCode ( type_id = "adw_preferences_page_get_type ()" ) ]
[ Version ( since = "1.0" ) ]
public class PreferencesPage : Widget, Accessible, Buildable, ConstraintTarget
A page from [class@PreferencesWindow].
<picture> <source srcset="preferences-page-dark.png" media="(prefers-color-scheme: dark)"> <img
src="preferences-page.png" alt="preferences-page"> </picture>
The `AdwPreferencesPage` widget gathers preferences groups into a single page of a preferences window.
CSS nodes
`AdwPreferencesPage` has a single CSS node with name `preferencespage`.
Accessibility
`AdwPreferencesPage` uses the `GTK_ACCESSIBLE_ROLE_GROUP` role.
Content:
Properties:
Creation methods:
Methods:
- public void add (PreferencesGroup group)
Adds a preferences group to this.
- public unowned string? get_icon_name ()
Gets the icon name for this.
- public unowned string? get_name ()
Gets the name of this.
- public unowned string get_title ()
Gets the title of this.
- public bool get_use_underline ()
Gets whether an embedded underline in the title indicates a mnemonic.
- public void remove (PreferencesGroup group)
Removes a group from this.
- public void set_icon_name (string? icon_name)
Sets the icon name for this.
- public void set_name (string? name)
Sets the name of this.
- public void set_title (string title)
Sets the title of this.
- public void set_use_underline (bool use_underline)
Sets whether an embedded underline in the title indicates a mnemonic.
Inherited Members:
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.Accessible
- accessible_role
- get_accessible_role
- reset_property
- reset_relation
- reset_state
- update_property
- update_property_value
- update_relation
- update_relation_value
- update_state
- update_state_value
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