GtkSeparator is a horizontal or vertical separator widget, depending on the value of the Gtk.Orientable.Gtk_Orientable:orientation property, 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.
<screenshot>gtk-separator</screenshot> <group>Ornaments</group>
function "+"
(Widget : access Gtk_Separator_Record'Class)
return Gtk.Buildable.Gtk_Buildable
function "+"
(Widget : access Gtk_Separator_Record'Class)
return Gtk.Orientable.Gtk_Orientable
function "-"
(Interf : Gtk.Buildable.Gtk_Buildable)
return Gtk_Separator
function "-"
(Interf : Gtk.Orientable.Gtk_Orientable)
return Gtk_Separator
function Get_Orientation
(Self : not null access Gtk_Separator_Record)
return Gtk.Enums.Gtk_Orientation
function Get_Type return Glib.GType
subtype Gtk_Hseparator is Gtk_Separator;
function Gtk_Hseparator_New return Gtk_Hseparator
Creates a new Gtk.Separator.Gtk_Hseparator.
subtype Gtk_Hseparator_Record is Gtk_Separator_Record;
procedure Gtk_New
(Separator : out Gtk_Separator;
Orientation : Gtk.Enums.Gtk_Orientation)
Creates a new Gtk.Separator.Gtk_Separator with the given orientation. Since: gtk+ 3.0 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
the separator's orientation.
procedure Gtk_New_Hseparator (Separator : out Gtk_Hseparator)
Creates a new Gtk.Separator.Gtk_Hseparator. Initialize_Hseparator does nothing if the object was already created with another call to Initialize* or G_New.
procedure Gtk_New_Vseparator (Separator : out Gtk_Vseparator)
Creates a new Gtk.Separator.Gtk_Vseparator. Initialize_Vseparator does nothing if the object was already created with another call to Initialize* or G_New.
type Gtk_Separator is access all Gtk_Separator_Record'Class;
function Gtk_Separator_New
(Orientation : Gtk.Enums.Gtk_Orientation) return Gtk_Separator
Creates a new Gtk.Separator.Gtk_Separator with the given orientation. Since: gtk+ 3.0
the separator's orientation.
type Gtk_Separator_Record is new Gtk_Widget_Record with null record;
subtype Gtk_Vseparator is Gtk_Separator;
function Gtk_Vseparator_New return Gtk_Vseparator
Creates a new Gtk.Separator.Gtk_Vseparator.
subtype Gtk_Vseparator_Record is Gtk_Separator_Record;
function Hseparator_Get_Type return Glib.GType
package Implements_Gtk_Buildable is new Glib.Types.Implements
(Gtk.Buildable.Gtk_Buildable, Gtk_Separator_Record, Gtk_Separator);
package Implements_Gtk_Orientable is new Glib.Types.Implements
(Gtk.Orientable.Gtk_Orientable, Gtk_Separator_Record, Gtk_Separator);
procedure Initialize
(Separator : not null access Gtk_Separator_Record'Class;
Orientation : Gtk.Enums.Gtk_Orientation)
Creates a new Gtk.Separator.Gtk_Separator with the given orientation. Since: gtk+ 3.0 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
the separator's orientation.
procedure Initialize_Hseparator
(Separator : not null access Gtk_Hseparator_Record'Class)
Creates a new Gtk.Separator.Gtk_Hseparator. Initialize_Hseparator does nothing if the object was already created with another call to Initialize* or G_New.
procedure Initialize_Vseparator
(Separator : not null access Gtk_Vseparator_Record'Class)
Creates a new Gtk.Separator.Gtk_Vseparator. Initialize_Vseparator does nothing if the object was already created with another call to Initialize* or G_New.
procedure Set_Orientation
(Self : not null access Gtk_Separator_Record;
Orientation : Gtk.Enums.Gtk_Orientation)
function Vseparator_Get_Type return Glib.GType