Class: Gtk::StackPage
- Inherits:
-
Object
- Object
- Gtk::StackPage
- Defined in:
- (unknown)
Overview
GtkStackPage is an auxiliary class used by GtkStack.
Instance Method Summary collapse
-
#child ⇒ Gtk::Widget
The child that this page is for.
-
#child=(child) ⇒ Gtk::Widget
The child that this page is for.
-
#icon_name ⇒ String
The icon name of the child page.
-
#icon_name=(icon_name) ⇒ String
The icon name of the child page.
-
#name ⇒ String
The name of the child page.
-
#name=(name) ⇒ String
The name of the child page.
-
#needs_attention ⇒ Boolean
Returns whether the page is marked as “needs attention”.
-
#needs_attention=(needs_attention) ⇒ Boolean
Whether the page requires the user attention.
-
#needs_attention? ⇒ Boolean
Whether the page requires the user attention.
-
#title ⇒ String
The title of the child page.
-
#title=(title) ⇒ String
The title of the child page.
-
#use_underline ⇒ Boolean
Gets whether underlines in the page title indicate mnemonics.
-
#use_underline=(use_underline) ⇒ Boolean
If set, an underline in the title indicates a mnemonic.
-
#use_underline? ⇒ Boolean
If set, an underline in the title indicates a mnemonic.
-
#visible ⇒ Boolean
Returns whether page is visible in its
GtkStack. -
#visible=(visible) ⇒ Boolean
Whether this page is visible.
-
#visible? ⇒ Boolean
Whether this page is visible.
Instance Method Details
#child ⇒ Gtk::Widget
The child that this page is for.
#child=(child) ⇒ Gtk::Widget
The child that this page is for.
#icon_name ⇒ String
The icon name of the child page.
#icon_name=(icon_name) ⇒ String
The icon name of the child page.
#name ⇒ String
The name of the child page.
#name=(name) ⇒ String
The name of the child page.
#needs_attention ⇒ Boolean
Returns whether the page is marked as “needs attention”.
#needs_attention=(needs_attention) ⇒ Boolean
Whether the page requires the user attention.
This is used by the [classGtk.StackSwitcher] to change the appearance of the corresponding button when a page needs attention and it is not the current one.
#needs_attention? ⇒ Boolean
Whether the page requires the user attention.
This is used by the [classGtk.StackSwitcher] to change the appearance of the corresponding button when a page needs attention and it is not the current one.
#title ⇒ String
The title of the child page.
#title=(title) ⇒ String
The title of the child page.
#use_underline ⇒ Boolean
Gets whether underlines in the page title indicate mnemonics.
#use_underline=(use_underline) ⇒ Boolean
If set, an underline in the title indicates a mnemonic.
#use_underline? ⇒ Boolean
If set, an underline in the title indicates a mnemonic.
#visible ⇒ Boolean
Returns whether page is visible in its GtkStack.
This is independent from the [propertyGtk.Widget:visible] property of its widget.
#visible=(visible) ⇒ Boolean
Whether this page is visible.
#visible? ⇒ Boolean
Whether this page is visible.