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

Gnome::Gtk4::Separator

Description§

Gnome::Gtk4::Separator is a horizontal or vertical separator widget.

UNKNOWN image§

=for image :class<inline> :src<asset_files/images/separator.png> :width<30\%>

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§

UNKNOWN image§

=for image :class<inline> :src<asset_files/images/plantuml/Separator.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

new-separator§

Creates a new Gnome::Gtk4::Separator with the given orientation.

method new-separator ( GtkOrientation $orientation --> Gnome::Gtk4::Separator )
Code
  • $orientation; the separator’s orientation..