Separator
Object Hierarchy:
Description:
[ CCode ( type_id = "gtk_separator_get_type ()" ) ]
public sealed class Separator : Widget, Accessible, Buildable, ConstraintTarget, Orientable
public sealed class Separator : Widget, Accessible, Buildable, ConstraintTarget, Orientable
`GtkSeparator` is a horizontal or vertical separator widget.
![An example GtkSeparator](separator.png)
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.
Namespace: Gtk
Package: gtk4
Content:
Creation methods:
Inherited Members:
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible
All known members inherited from interface Gtk.Buildable
All known members inherited from interface Gtk.Orientable