1.171 <GtkSeparator>

Class: <GtkSeparator>

It derives from <GtkWidget>.

Draws a horizontal or vertical line to separate other widgets.

A <GtkSeparator> 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

<GtkSeparator> has a single CSS node with name separator. The node gets one of the .horizontal or .vertical style classes.

Accessibility

<GtkSeparator> uses the Gtk.AccessibleRole.separator role.

Procedures

Procedure: separator:new orientation ⇒ %return

Creates a new <GtkSeparator> with the given orientation.

orientation

Passed: a <GtkOrientation>, or one of its symbols.

the separator’s orientation.

%return

Returned: a <GtkWidget>.

a new <GtkSeparator>.