About all my projects
Gnome::Gtk4::StackPage

Gnome::Gtk4::StackPage

Description

Gnome::Gtk4::StackPage is an auxiliary class used by Gnome::Gtk4::Stack.

Class initialization

new

:native-object

Create an object using a native object from elsewhere. See also Gnome::N::TopLevelSupportClass.

multi method new ( N-Object :$native-object! )

Methods

get-child

Returns the stack child to which $self belongs.

method get-child (--> N-Object )

Return value; the child to which $self belongs.

get-icon-name

Returns the icon name of the page.

method get-icon-name (--> Str )

Return value; The value of the icon-name property.

get-name

Returns the name of the page.

method get-name (--> Str )

Return value; The value of the name property.

get-needs-attention

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

method get-needs-attention (--> Bool )

Return value; The value of the needs-attention property..

get-title

Gets the page title.

method get-title (--> Str )

Return value; The value of the title property.

get-use-underline

Gets whether underlines in the page title indicate mnemonics.

method get-use-underline (--> Bool )

Return value; The value of the use-underline property.

get-visible

Returns whether $page is visible in its Gnome::Gtk4::Stack.

This is independent from the visible defined in Gnome::Gtk4::Widget property of its widget.

method get-visible (--> Bool )

Return value; True if $page is visible.

set-icon-name

Sets the icon name of the page.

method set-icon-name ( Str $setting )
  • $setting; the new value to set.

set-name

Sets the name of the page.

method set-name ( Str $setting )
  • $setting; the new value to set.

set-needs-attention

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

method set-needs-attention ( Bool() $setting )
  • $setting; the new value to set.

set-title

Sets the page title.

method set-title ( Str $setting )
  • $setting; the new value to set.

set-use-underline

Sets whether underlines in the page title indicate mnemonics.

method set-use-underline ( Bool() $setting )
  • $setting; the new value to set.

set-visible

Sets whether $page is visible in its Gnome::Gtk4::Stack.

method set-visible ( Bool() $visible )
  • $visible; The new property value.