Class

HandyPreferencesWindow

Description [src]

class Handy.PreferencesWindow : Handy.Window {
  parent_instance: HdyWindow
}

A window to present an application’s preferences.

The HdyPreferencesWindow widget presents an application’s preferences gathered into pages and groups. The preferences are searchable by the user.

CSS nodes

HdyPreferencesWindow has a main CSS node with the name window and the style class .preferences.

Available since:1.0

Ancestors

  • HdyWindow
  • GtkWindow
  • GtkBin
  • GtkContainer
  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

  • AtkImplementorIface
  • GtkBuildable

Constructors

hdy_preferences_window_new

Creates a new HdyPreferencesWindow.

Available since: 1.0

Instance methods

hdy_preferences_window_close_subpage

Closes the current subpage.

Available since: 1.0

hdy_preferences_window_get_can_swipe_back

Gets whether swipe gestures allow switching from a subpage to the preferences.

Available since: 1.0

hdy_preferences_window_get_search_enabled

Gets whether search is enabled for self.

Available since: 1.0

hdy_preferences_window_present_subpage

Sets subpage as the window’s subpage and opens it.

Available since: 1.0

hdy_preferences_window_set_can_swipe_back

Sets whether swipe gestures allow switching from a subpage to the preferences.

Available since: 1.0

hdy_preferences_window_set_search_enabled

Sets whether search is enabled for self.

Available since: 1.0

Properties

Handy.PreferencesWindow:can-swipe-back

Whether the window allows closing the subpage via a swipe gesture.

Available since: 1.0

Handy.PreferencesWindow:search-enabled

Whether search is enabled.

Available since: 1.0

Class structure

struct HandyPreferencesWindowClass {
  HdyWindowClass parent_class;
  
}
Class members
parent_class
HdyWindowClass
 

The parent class.