Class: Handy::ViewSwitcher
- Inherits:
-
Gtk::Bin
- Object
- Gtk::Bin
- Handy::ViewSwitcher
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#initialize ⇒ Gtk::Widget
constructor
Creates a new
HdyViewSwitcher. -
#narrow_ellipsize ⇒ Pango::EllipsizeMode
The preferred place to ellipsize the string.
-
#narrow_ellipsize=(narrow_ellipsize) ⇒ Pango::EllipsizeMode
The preferred place to ellipsize the string.
-
#policy ⇒ Handy::ViewSwitcherPolicy
The policy to determine which mode to use.
-
#policy=(policy) ⇒ Handy::ViewSwitcherPolicy
The policy to determine which mode to use.
-
#stack ⇒ Gtk::Stack
The [classGtk.Stack] the view switcher controls.
-
#stack=(stack) ⇒ Gtk::Stack
The [classGtk.Stack] the view switcher controls.
Constructor Details
#initialize ⇒ Gtk::Widget
Creates a new HdyViewSwitcher.
Instance Method Details
#narrow_ellipsize ⇒ Pango::EllipsizeMode
The preferred place to ellipsize the string.
If the narrow mode label does not have enough room to display the entire string, specified as a [enumPango.EllipsizeMode].
Note that setting this property to a value other than
PANGO_ELLIPSIZE_NONE has the side-effect that the label requests only
enough space to display the ellipsis.
#narrow_ellipsize=(narrow_ellipsize) ⇒ Pango::EllipsizeMode
The preferred place to ellipsize the string.
If the narrow mode label does not have enough room to display the entire string, specified as a [enumPango.EllipsizeMode].
Note that setting this property to a value other than
PANGO_ELLIPSIZE_NONE has the side-effect that the label requests only
enough space to display the ellipsis.
#policy ⇒ Handy::ViewSwitcherPolicy
The policy to determine which mode to use.
#policy=(policy) ⇒ Handy::ViewSwitcherPolicy
The policy to determine which mode to use.
#stack ⇒ Gtk::Stack
The [classGtk.Stack] the view switcher controls.
#stack=(stack) ⇒ Gtk::Stack
The [classGtk.Stack] the view switcher controls.