Class: Handy::TabPage
- Inherits:
-
Object
- Object
- Handy::TabPage
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#child ⇒ Gtk::Widget
The child of the page.
-
#child=(child) ⇒ Gtk::Widget
The child of the page.
-
#icon ⇒ Gio::Icon
The icon of the page.
-
#icon=(icon) ⇒ Gio::Icon
The icon of the page.
-
#indicator_activatable ⇒ Boolean
Gets whether the indicator of self is activatable.
-
#indicator_activatable=(indicator_activatable) ⇒ Boolean
Whether the indicator icon is activatable.
-
#indicator_activatable? ⇒ Boolean
Whether the indicator icon is activatable.
-
#indicator_icon ⇒ Gio::Icon
An indicator icon for the page.
-
#indicator_icon=(indicator_icon) ⇒ Gio::Icon
An indicator icon for the page.
-
#loading ⇒ Boolean
Gets whether self is loading.
-
#loading=(loading) ⇒ Boolean
Whether the page is loading.
-
#loading? ⇒ Boolean
Whether the page is loading.
-
#needs_attention ⇒ Boolean
Gets whether self needs attention.
-
#needs_attention=(needs_attention) ⇒ Boolean
Whether the page needs attention.
-
#needs_attention? ⇒ Boolean
Whether the page needs attention.
-
#parent ⇒ Handy::TabPage
The parent page of the page.
-
#parent=(parent) ⇒ Handy::TabPage
The parent page of the page.
-
#pinned ⇒ Boolean
Gets whether self is pinned.
-
#pinned=(pinned) ⇒ Boolean
Whether the page is pinned.
-
#pinned? ⇒ Boolean
Whether the page is pinned.
-
#selected ⇒ Boolean
Gets whether self is selected.
-
#selected=(selected) ⇒ Boolean
Whether the page is selected.
-
#selected? ⇒ Boolean
Whether the page is selected.
-
#title ⇒ String
The title of the page.
-
#title=(title) ⇒ String
The title of the page.
-
#tooltip ⇒ String
The tooltip of the page.
-
#tooltip=(tooltip) ⇒ String
The tooltip of the page.
Instance Method Details
#child ⇒ Gtk::Widget
The child of the page.
#child=(child) ⇒ Gtk::Widget
The child of the page.
#icon ⇒ Gio::Icon
The icon of the page.
[classTabBar] displays the icon next to the title.
It will not show the icon if [propertyTabPage:loading] is set to TRUE,
or if the page is pinned and [propertyTabPage:indicator-icon] is set.
#icon=(icon) ⇒ Gio::Icon
The icon of the page.
[classTabBar] displays the icon next to the title.
It will not show the icon if [propertyTabPage:loading] is set to TRUE,
or if the page is pinned and [propertyTabPage:indicator-icon] is set.
#indicator_activatable ⇒ Boolean
Gets whether the indicator of self is activatable.
#indicator_activatable=(indicator_activatable) ⇒ Boolean
Whether the indicator icon is activatable.
If set to TRUE, [signalTabView::indicator-activated] will be emitted
when the indicator icon is clicked.
If [propertyTabPage:indicator-icon] is not set, does nothing.
#indicator_activatable? ⇒ Boolean
Whether the indicator icon is activatable.
If set to TRUE, [signalTabView::indicator-activated] will be emitted
when the indicator icon is clicked.
If [propertyTabPage:indicator-icon] is not set, does nothing.
#indicator_icon ⇒ Gio::Icon
An indicator icon for the page.
A common use case is an audio or camera indicator in a web browser.
[classTabPage] will show it at the beginning of the tab, alongside icon representing [propertyTabPage:icon] or loading spinner.
If the page is pinned, the indicator will be shown instead of icon or spinner.
If [propertyTabPage:indicator-activatable] is set to TRUE, the indicator
icon can act as a button.
#indicator_icon=(indicator_icon) ⇒ Gio::Icon
An indicator icon for the page.
A common use case is an audio or camera indicator in a web browser.
[classTabPage] will show it at the beginning of the tab, alongside icon representing [propertyTabPage:icon] or loading spinner.
If the page is pinned, the indicator will be shown instead of icon or spinner.
If [propertyTabPage:indicator-activatable] is set to TRUE, the indicator
icon can act as a button.
#loading ⇒ Boolean
Gets whether self is loading.
#loading=(loading) ⇒ Boolean
Whether the page is loading.
If set to TRUE, [classTabBar] will display a spinner in place of icon.
If the page is pinned and [propertyTabPage:indicator-icon] is set, the loading status will not be visible.
#loading? ⇒ Boolean
Whether the page is loading.
If set to TRUE, [classTabBar] will display a spinner in place of icon.
If the page is pinned and [propertyTabPage:indicator-icon] is set, the loading status will not be visible.
#needs_attention ⇒ Boolean
Gets whether self needs attention.
#needs_attention=(needs_attention) ⇒ Boolean
Whether the page needs attention.
[classTabBar] will display a glow under the tab representing the page if
set to TRUE. If the tab is not visible, the corresponding edge of the tab
bar will be highlighted.
#needs_attention? ⇒ Boolean
Whether the page needs attention.
[classTabBar] will display a glow under the tab representing the page if
set to TRUE. If the tab is not visible, the corresponding edge of the tab
bar will be highlighted.
#parent ⇒ Handy::TabPage
The parent page of the page.
See [methodTabView.add_page] and [methodTabView.close_page].
#parent=(parent) ⇒ Handy::TabPage
The parent page of the page.
See [methodTabView.add_page] and [methodTabView.close_page].
#pinned ⇒ Boolean
Gets whether self is pinned.
#pinned=(pinned) ⇒ Boolean
Whether the page is pinned.
See [methodTabView.set_page_pinned].
#pinned? ⇒ Boolean
Whether the page is pinned.
See [methodTabView.set_page_pinned].
#selected ⇒ Boolean
Gets whether self is selected.
#selected=(selected) ⇒ Boolean
Whether the page is selected.
#selected? ⇒ Boolean
Whether the page is selected.
#title ⇒ String
The title of the page.
[classTabBar] will display it in the center of the tab unless it's pinned, and will use it as a tooltip unless [propertyTabPage:tooltip] is set.
#title=(title) ⇒ String
The title of the page.
[classTabBar] will display it in the center of the tab unless it's pinned, and will use it as a tooltip unless [propertyTabPage:tooltip] is set.
#tooltip ⇒ String
The tooltip of the page.
The tooltip can be marked up with the Pango text markup language.
If not set, [classTabBar] will use [propertyTabPage:title] as a tooltip instead.
#tooltip=(tooltip) ⇒ String
The tooltip of the page.
The tooltip can be marked up with the Pango text markup language.
If not set, [classTabBar] will use [propertyTabPage:title] as a tooltip instead.