Class

GtkSeparator

Description [src]

final class Gtk.Separator : Gtk.Widget {
  /* No available fields */
}

GtkSeparator is a horizontal or vertical separator widget.

An example GtkSeparator

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

Hierarchy

hierarchy this GtkSeparator implements_0 GtkAccessible this--implements_0 implements_1 GtkBuildable this--implements_1 implements_2 GtkConstraintTarget this--implements_2 implements_3 GtkOrientable this--implements_3 ancestor_0 GtkWidget ancestor_0--this ancestor_1 GInitiallyUnowned ancestor_1--ancestor_0 ancestor_2 GObject ancestor_2--ancestor_1

Ancestors

Constructors

gtk_separator_new

Creates a new GtkSeparator with the given orientation.