Class: Handy::PreferencesWindow
Instance Method Summary collapse
-
#can_swipe_back ⇒ Boolean
Gets whether swipe gestures allow switching from a subpage to the preferences.
-
#can_swipe_back=(can_swipe_back) ⇒ Boolean
Whether the window allows closing the subpage via a swipe gesture.
-
#can_swipe_back? ⇒ Boolean
Whether the window allows closing the subpage via a swipe gesture.
-
#close_subpage ⇒ nil
Closes the current subpage.
-
#initialize ⇒ Gtk::Widget
constructor
Creates a new
HdyPreferencesWindow. -
#present_subpage(subpage) ⇒ nil
Sets subpage as the window's subpage and opens it.
-
#search_enabled ⇒ Boolean
Gets whether search is enabled for self.
-
#search_enabled=(search_enabled) ⇒ Boolean
Whether search is enabled.
-
#search_enabled? ⇒ Boolean
Whether search is enabled.
Constructor Details
#initialize ⇒ Gtk::Widget
Creates a new HdyPreferencesWindow.
Instance Method Details
#can_swipe_back ⇒ Boolean
Gets whether swipe gestures allow switching from a subpage to the preferences.
#can_swipe_back=(can_swipe_back) ⇒ Boolean
Whether the window allows closing the subpage via a swipe gesture.
#can_swipe_back? ⇒ Boolean
Whether the window allows closing the subpage via a swipe gesture.
#close_subpage ⇒ nil
Closes the current subpage.
If there is no presented subpage, this does nothing.
#present_subpage(subpage) ⇒ nil
Sets subpage as the window's subpage and opens it.
The transition can be cancelled by the user, in which case visible child will change back to the previously visible child.
#search_enabled ⇒ Boolean
Gets whether search is enabled for self.
#search_enabled=(search_enabled) ⇒ Boolean
Whether search is enabled.
#search_enabled? ⇒ Boolean
Whether search is enabled.