PreferencesPage

open class PreferencesPage(pointer: <Error class: unknown class><<Error class: unknown class>>)

A page from class@PreferencesDialog.

preferences-page

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.

Skipped during bindings generation

  • method get_name: C function adw_preferences_page_get_name is ignored

  • method set_name: C function adw_preferences_page_set_name is ignored

  • method name: Property has no getter nor setter

Constructors

Link copied to clipboard
constructor()

Creates a new AdwPreferencesPage.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val adwPreferencesPagePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard

The description to be displayed at the top of the page.

Link copied to clipboard

Whether the description should be centered.

Link copied to clipboard
open val gtkAccessiblePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkBuildablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkConstraintTargetPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open var iconName: String?

The icon name for this page.

Link copied to clipboard
open var title: String

The title for this page.

Link copied to clipboard

Whether an embedded underline in the title indicates a mnemonic.

Functions

Link copied to clipboard
open fun add(group: PreferencesGroup)

Adds a preferences group to @self.

Link copied to clipboard

Gets the description of @self.

Link copied to clipboard

Gets whether the description is centered.

Link copied to clipboard
open fun getIconName(): String?

Gets the icon name for @self.

Link copied to clipboard
open fun getTitle(): String

Gets the title of @self.

Link copied to clipboard

Gets whether an embedded underline in the title indicates a mnemonic.

Link copied to clipboard
open fun remove(group: PreferencesGroup)

Removes a group from @self.

Link copied to clipboard
open fun scrollToTop()

Scrolls the scrolled window of @self to the top.

Link copied to clipboard
open fun setDescription(description: String)

Sets the description of @self.

Link copied to clipboard
open fun setDescriptionCentered(centered: Boolean)

Sets whether the description should be centered.

Link copied to clipboard
open fun setIconName(iconName: String? = null)

Sets the icon name for @self.

Link copied to clipboard
open fun setTitle(title: String)

Sets the title of @self.

Link copied to clipboard
open fun setUseUnderline(useUnderline: Boolean)

Sets whether an embedded underline in the title indicates a mnemonic.