Gtk.Separator

Entities

Tagged Types

Access Types

Subtypes

Subprograms

Generic Instantiations

Description

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
Parameters
Widget
Return Value

"+"

function "+"
  (Widget : access Gtk_Separator_Record'Class)
return Gtk.Orientable.Gtk_Orientable
Parameters
Widget
Return Value

"-"

function "-"
  (Interf : Gtk.Buildable.Gtk_Buildable)
return Gtk_Separator
Parameters
Interf
Return Value

"-"

function "-"
  (Interf : Gtk.Orientable.Gtk_Orientable)
return Gtk_Separator
Parameters
Interf
Return Value

Get_Orientation

function Get_Orientation
   (Self : not null access Gtk_Separator_Record)
    return Gtk.Enums.Gtk_Orientation
Parameters
Self
Return Value

Get_Type

function Get_Type return Glib.GType
Return Value

Gtk_Hseparator

subtype Gtk_Hseparator is Gtk_Separator;

Gtk_Hseparator_New

function Gtk_Hseparator_New return Gtk_Hseparator

Creates a new Gtk.Separator.Gtk_Hseparator.

Return Value

Gtk_Hseparator_Record

subtype Gtk_Hseparator_Record is Gtk_Separator_Record;

Gtk_New

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.

Parameters
Separator
Orientation

the separator's orientation.

Gtk_New_Hseparator

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.

Parameters
Separator

Gtk_New_Vseparator

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.

Parameters
Separator

Gtk_Separator

type Gtk_Separator is access all Gtk_Separator_Record'Class;

Gtk_Separator_New

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

Parameters
Orientation

the separator's orientation.

Return Value

Gtk_Separator_Record

type Gtk_Separator_Record is new Gtk_Widget_Record with null record;

Gtk_Vseparator

subtype Gtk_Vseparator is Gtk_Separator;

Gtk_Vseparator_New

function Gtk_Vseparator_New return Gtk_Vseparator

Creates a new Gtk.Separator.Gtk_Vseparator.

Return Value

Gtk_Vseparator_Record

subtype Gtk_Vseparator_Record is Gtk_Separator_Record;

Hseparator_Get_Type

function Hseparator_Get_Type return Glib.GType
Return Value

Implements_Gtk_Buildable

package Implements_Gtk_Buildable is new Glib.Types.Implements
  (Gtk.Buildable.Gtk_Buildable, Gtk_Separator_Record, Gtk_Separator);

Implements_Gtk_Orientable

package Implements_Gtk_Orientable is new Glib.Types.Implements
  (Gtk.Orientable.Gtk_Orientable, Gtk_Separator_Record, Gtk_Separator);

Initialize

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.

Parameters
Separator
Orientation

the separator's orientation.

Initialize_Hseparator

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.

Parameters
Separator

Initialize_Vseparator

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.

Parameters
Separator

Set_Orientation

procedure Set_Orientation
   (Self        : not null access Gtk_Separator_Record;
    Orientation : Gtk.Enums.Gtk_Orientation)
Parameters
Self
Orientation

Vseparator_Get_Type

function Vseparator_Get_Type return Glib.GType
Return Value