Gnome::Gtk4::Separator
#------------------------------------------------------------------------------- #--[Class Description]---------------------------------------------------------- #-------------------------------------------------------------------------------
Description
Gnome::Gtk4::Separator is a horizontal or vertical separator widget.
=for image :src<asset_files/images/separator.png> :width<30%> :class<inline>
A Gnome::Gtk4::Separator can be used to group the widgets within a window. It displays a line with a shadow to make it appear sunken into the interface.
CSS nodes
Gnome::Gtk4::Separator has a single CSS node with name separator. The node gets one of the .horizontal or .vertical style classes.
Accessibility
Gnome::Gtk4::Separator uses the GTK_ACCESSIBLE_ROLE_SEPARATOR role.
Uml Diagram =for image :src<asset_files/images/plantuml/Separator.png> :width<70%> :class<inline>
#------------------------------------------------------------------------------- #--[Class Initialization]------------------------------------------------------- #-------------------------------------------------------------------------------
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! )
#-------------------------------------------------------------------------------
new-separator
Creates a new Gnome::Gtk4::Separator with the given orientation.
method new-separator ( GtkOrientation $orientation --> Gnome::Gtk4::Separator )
$orientation; the separator’s orientation..