About all my projects
Gnome::Gtk4::Separator

Gnome::Gtk4::Separator

Description

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

No caption

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.

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

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..