Class: Handy::PreferencesWindow

Inherits:
Window
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Constructor Details

#initializeGtk::Widget

Creates a new HdyPreferencesWindow.

Instance Method Details

#can_swipe_backBoolean

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

Returns:

  • (Boolean)

    TRUE if back swipe is enabled

#can_swipe_back=(can_swipe_back) ⇒ Boolean

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

Parameters:

  • can_swipe_back (Boolean)

Returns:

  • (Boolean)

    can-swipe-back

  • (Boolean)

    can-swipe-back

#can_swipe_back?Boolean

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

Returns:

  • (Boolean)

    can-swipe-back

#close_subpagenil

Closes the current subpage.

If there is no presented subpage, this does nothing.

Returns:

  • (nil)

#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.

Parameters:

  • subpage (Gtk::Widget)

    the subpage

Returns:

  • (nil)

#search_enabledBoolean

Gets whether search is enabled for self.

Returns:

  • (Boolean)

    whether search is enabled for self

#search_enabled=(search_enabled) ⇒ Boolean

Whether search is enabled.

Parameters:

  • search_enabled (Boolean)

Returns:

  • (Boolean)

    search-enabled

  • (Boolean)

    search-enabled

#search_enabled?Boolean

Whether search is enabled.

Returns:

  • (Boolean)

    search-enabled