Class: Handy::ViewSwitcherTitle
- Inherits:
-
Gtk::Bin
- Object
- Gtk::Bin
- Handy::ViewSwitcherTitle
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#initialize ⇒ Handy::ViewSwitcherTitle
constructor
Creates a new
HdyViewSwitcherTitle. -
#policy ⇒ Handy::ViewSwitcherPolicy
The policy used to determine which mode to use.
-
#policy=(policy) ⇒ Handy::ViewSwitcherPolicy
The policy used to determine which mode to use.
-
#stack ⇒ Gtk::Stack
The [classGtk.Stack] the [classViewSwitcher] controls.
-
#stack=(stack) ⇒ Gtk::Stack
The [classGtk.Stack] the [classViewSwitcher] controls.
-
#subtitle ⇒ String
The subtitle of the [classViewSwitcher].
-
#subtitle=(subtitle) ⇒ String
The subtitle of the [classViewSwitcher].
-
#title ⇒ String
The title of the [classViewSwitcher].
-
#title=(title) ⇒ String
The title of the [classViewSwitcher].
-
#title_visible ⇒ Boolean
Gets whether the title of self is currently visible.
-
#title_visible=(title_visible) ⇒ Boolean
Whether the bar should be revealed or hidden.
-
#title_visible? ⇒ Boolean
Whether the bar should be revealed or hidden.
-
#view_switcher_enabled ⇒ Boolean
Gets whether self's view switcher is enabled.
-
#view_switcher_enabled=(view_switcher_enabled) ⇒ Boolean
Whether the bar should be revealed or hidden.
-
#view_switcher_enabled? ⇒ Boolean
Whether the bar should be revealed or hidden.
Constructor Details
#initialize ⇒ Handy::ViewSwitcherTitle
Creates a new HdyViewSwitcherTitle.
Instance Method Details
#policy ⇒ Handy::ViewSwitcherPolicy
The policy used to determine which mode to use.
#policy=(policy) ⇒ Handy::ViewSwitcherPolicy
The policy used to determine which mode to use.
#stack ⇒ Gtk::Stack
The [classGtk.Stack] the [classViewSwitcher] controls.
#stack=(stack) ⇒ Gtk::Stack
The [classGtk.Stack] the [classViewSwitcher] controls.
#subtitle ⇒ String
The subtitle of the [classViewSwitcher].
The subtitle should give a user additional details.
#subtitle=(subtitle) ⇒ String
The subtitle of the [classViewSwitcher].
The subtitle should give a user additional details.
#title ⇒ String
The title of the [classViewSwitcher].
The title should give a user additional details. A good title should not include the application name.
#title=(title) ⇒ String
The title of the [classViewSwitcher].
The title should give a user additional details. A good title should not include the application name.
#title_visible ⇒ Boolean
Gets whether the title of self is currently visible.
#title_visible=(title_visible) ⇒ Boolean
Whether the bar should be revealed or hidden.
#title_visible? ⇒ Boolean
Whether the bar should be revealed or hidden.
#view_switcher_enabled ⇒ Boolean
Gets whether self's view switcher is enabled.
#view_switcher_enabled=(view_switcher_enabled) ⇒ Boolean
Whether the bar should be revealed or hidden.
If it is disabled, the title will be displayed instead. This allows to programmatically hide the view switcher even if it fits in the available space.
This can be used e.g. to ensure the view switcher is hidden below a certain window width, or any other constraint you find suitable.
#view_switcher_enabled? ⇒ Boolean
Whether the bar should be revealed or hidden.
If it is disabled, the title will be displayed instead. This allows to programmatically hide the view switcher even if it fits in the available space.
This can be used e.g. to ensure the view switcher is hidden below a certain window width, or any other constraint you find suitable.