1.188 <GtkStackPage>

Class: <GtkStackPage>

It derives from <GObject>.

An auxiliary class used by <GtkStack>.

Properties

Property: stack-page:child self

The child that this page is for.

Its value is a <GtkWidget>, or #f.

It can only be set when the object is made, with #:child.

Property: stack-page:icon-name self

The icon name of the child page.

Its value is a string, or #f.

Set it with (set! (stack-page:icon-name self) value).

Property: stack-page:name self

The name of the child page.

Its value is a string, or #f.

Set it with (set! (stack-page:name self) value).

Property: stack-page:needs-attention self

Whether the page requires the user attention.

This is used by the <GtkStackSwitcher> to change the appearance of the corresponding button when a page needs attention and it is not the current one.

Its value is a boolean.

Set it with (set! (stack-page:needs-attention self) value).

Property: stack-page:title self

The title of the child page.

Its value is a string, or #f.

Set it with (set! (stack-page:title self) value).

Property: stack-page:use-underline self

If set, an underline in the title indicates a mnemonic.

Its value is a boolean.

Set it with (set! (stack-page:use-underline self) value).

Property: stack-page:visible self

Whether this page is visible.

Its value is a boolean.

Set it with (set! (stack-page:visible self) value).

Procedures

Method: stack-page:get-child self ⇒ %return
Method: get-child self ⇒ %return

Returns the stack child to which self belongs.

self

Passed: a <GtkStackPage>.

a <GtkStackPage>

%return

Returned: a <GtkWidget>.

the child to which self belongs

Method: stack-page:get-icon-name self ⇒ %return
Method: get-icon-name self ⇒ %return

Returns the icon name of the page.

self

Passed: a <GtkStackPage>.

a <GtkStackPage>

%return

Returned: a string, or #f.

The value of the stack-page:icon-name property

Method: stack-page:get-name self ⇒ %return
Method: get-name self ⇒ %return

Returns the name of the page.

self

Passed: a <GtkStackPage>.

a <GtkStackPage>

%return

Returned: a string, or #f.

The value of the stack-page:name property

Method: stack-page:get-needs-attention? self ⇒ %return
Method: get-needs-attention? self ⇒ %return

Returns whether the page is marked as “needs attention”.

self

Passed: a <GtkStackPage>.

a <GtkStackPage>

%return

Returned: a boolean.

The value of the stack-page:needs-attention property.

Method: stack-page:get-title self ⇒ %return
Method: get-title self ⇒ %return

Gets the page title.

self

Passed: a <GtkStackPage>.

a <GtkStackPage>

%return

Returned: a string, or #f.

The value of the stack-page:title property

Method: stack-page:get-use-underline? self ⇒ %return
Method: get-use-underline? self ⇒ %return

Gets whether underlines in the page title indicate mnemonics.

self

Passed: a <GtkStackPage>.

a <GtkStackPage>

%return

Returned: a boolean.

The value of the stack-page:use-underline property

Method: stack-page:get-visible? self ⇒ %return
Method: get-visible? self ⇒ %return

Returns whether page is visible in its <GtkStack>.

This is independent from the widget:visible property of its widget.

self

Passed: a <GtkStackPage>.

a <GtkStackPage>

%return

Returned: a boolean.

#t if page is visible

Method: stack-page:set-icon-name self setting
Method: set-icon-name self setting

Sets the icon name of the page.

self

Passed: a <GtkStackPage>.

a <GtkStackPage>

setting

Passed: a string.

the new value to set

Method: stack-page:set-name self setting
Method: set-name self setting

Sets the name of the page.

self

Passed: a <GtkStackPage>.

a <GtkStackPage>

setting

Passed: a string.

the new value to set

Method: stack-page:set-needs-attention self setting
Method: set-needs-attention self setting

Sets whether the page is marked as “needs attention”.

self

Passed: a <GtkStackPage>.

a <GtkStackPage>

setting

Passed: a boolean.

the new value to set

Method: stack-page:set-title self setting
Method: set-title self setting

Sets the page title.

self

Passed: a <GtkStackPage>.

a <GtkStackPage>

setting

Passed: a string.

the new value to set

Method: stack-page:set-use-underline self setting
Method: set-use-underline self setting

Sets whether underlines in the page title indicate mnemonics.

self

Passed: a <GtkStackPage>.

a <GtkStackPage>

setting

Passed: a boolean.

the new value to set

Method: stack-page:set-visible self visible
Method: set-visible self visible

Sets whether page is visible in its <GtkStack>.

self

Passed: a <GtkStackPage>.

a <GtkStackPage>

visible

Passed: a boolean.

The new property value