Class: Handy::ViewSwitcherBar

Inherits:
Gtk::Bin
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Constructor Details

#initializeGtk::Widget

Creates a new HdyViewSwitcherBar.

Instance Method Details

#policyHandy::ViewSwitcherPolicy

The policy used to determine which mode to use.

Returns:

#policy=(policy) ⇒ Handy::ViewSwitcherPolicy

The policy used to determine which mode to use.

Parameters:

Returns:

#revealBoolean

Gets whether self should be revealed or hidden.

Returns:

  • (Boolean)

    whether self is revealed

#reveal=(reveal) ⇒ Boolean

Whether the bar should be revealed or hidden.

Parameters:

  • reveal (Boolean)

Returns:

  • (Boolean)

    reveal

  • (Boolean)

    reveal

#reveal?Boolean

Whether the bar should be revealed or hidden.

Returns:

  • (Boolean)

    reveal

#stackGtk::Stack

The [classGtk.Stack] the [classViewSwitcher] controls.

Returns:

  • (Gtk::Stack)

    stack

#stack=(stack) ⇒ Gtk::Stack

The [classGtk.Stack] the [classViewSwitcher] controls.

Parameters:

  • stack (Gtk::Stack)

Returns:

  • (Gtk::Stack)

    stack

  • (Gtk::Stack)

    stack