About my projects, examples and tutorials
Gnome::Gtk4::StackPage

Gnome::Gtk4::StackPage

Description§

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

Uml Diagram§

UNKNOWN image§

=for image :class<inline> :src<asset_files/images/plantuml/StackPage.png> :width<70\%>

Class initialization§

new§

:native-object§

Create an object using a native object from an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.

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

Methods§

get-child§

Returns the stack child to which $self belongs.

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

Return value; the child to which $self belongs.

get-icon-name§

Returns the icon name of the page.

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

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

get-name§

Returns the name of the page.

method get-name (--> Str )
Code

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 )
Code

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

get-title§

Gets the page title.

method get-title (--> Str )
Code

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 )
Code

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 )
Code

Return value; True if $page is visible.

set-icon-name§

Sets the icon name of the page.

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

set-name§

Sets the name of the page.

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

set-needs-attention§

Sets whether the page is marked as ā€œneeds attentionā€.

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

set-title§

Sets the page title.

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

set-use-underline§

Sets whether underlines in the page title indicate mnemonics.

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

set-visible§

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

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