The Gtk.Separator_Menu_Item.Gtk_Separator_Menu_Item is a separator used to group items within a menu. It displays a horizontal line with a shadow to make it appear sunken into the interface.
# CSS nodes
GtkSeparatorMenuItem has a single CSS node with name separator.
<group>Menus and Toolbars</group>
function "+"
(Widget : access Gtk_Separator_Menu_Item_Record'Class)
return Gtk.Actionable.Gtk_Actionable
function "+"
(Widget : access Gtk_Separator_Menu_Item_Record'Class)
return Gtk.Activatable.Gtk_Activatable
function "+"
(Widget : access Gtk_Separator_Menu_Item_Record'Class)
return Gtk.Buildable.Gtk_Buildable
function "-"
(Interf : Gtk.Actionable.Gtk_Actionable)
return Gtk_Separator_Menu_Item
function "-"
(Interf : Gtk.Activatable.Gtk_Activatable)
return Gtk_Separator_Menu_Item
function "-"
(Interf : Gtk.Buildable.Gtk_Buildable)
return Gtk_Separator_Menu_Item
procedure Do_Set_Related_Action
(Self : not null access Gtk_Separator_Menu_Item_Record;
Action : not null access Gtk.Action.Gtk_Action_Record'Class)
function Get_Action_Name
(Self : not null access Gtk_Separator_Menu_Item_Record)
return UTF8_String
function Get_Action_Target_Value
(Self : not null access Gtk_Separator_Menu_Item_Record)
return Glib.Variant.Gvariant
function Get_Related_Action
(Self : not null access Gtk_Separator_Menu_Item_Record)
return Gtk.Action.Gtk_Action
function Get_Type return Glib.GType
function Get_Use_Action_Appearance
(Self : not null access Gtk_Separator_Menu_Item_Record) return Boolean
procedure Gtk_New (Widget : out Gtk_Separator_Menu_Item)
Creates a new Gtk.Separator_Menu_Item.Gtk_Separator_Menu_Item. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
type Gtk_Separator_Menu_Item is access all Gtk_Separator_Menu_Item_Record'Class;
function Gtk_Separator_Menu_Item_New return Gtk_Separator_Menu_Item
Creates a new Gtk.Separator_Menu_Item.Gtk_Separator_Menu_Item.
type Gtk_Separator_Menu_Item_Record is new Gtk_Menu_Item_Record with null record;
package Implements_Gtk_Actionable is new Glib.Types.Implements
(Gtk.Actionable.Gtk_Actionable, Gtk_Separator_Menu_Item_Record, Gtk_Separator_Menu_Item);
package Implements_Gtk_Activatable is new Glib.Types.Implements
(Gtk.Activatable.Gtk_Activatable, Gtk_Separator_Menu_Item_Record, Gtk_Separator_Menu_Item);
package Implements_Gtk_Buildable is new Glib.Types.Implements
(Gtk.Buildable.Gtk_Buildable, Gtk_Separator_Menu_Item_Record, Gtk_Separator_Menu_Item);
procedure Initialize
(Widget : not null access Gtk_Separator_Menu_Item_Record'Class)
Creates a new Gtk.Separator_Menu_Item.Gtk_Separator_Menu_Item. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
procedure Set_Action_Name
(Self : not null access Gtk_Separator_Menu_Item_Record;
Action_Name : UTF8_String := "")
procedure Set_Action_Target_Value
(Self : not null access Gtk_Separator_Menu_Item_Record;
Target_Value : Glib.Variant.Gvariant)
procedure Set_Detailed_Action_Name
(Self : not null access Gtk_Separator_Menu_Item_Record;
Detailed_Action_Name : UTF8_String)
procedure Set_Related_Action
(Self : not null access Gtk_Separator_Menu_Item_Record;
Action : not null access Gtk.Action.Gtk_Action_Record'Class)
procedure Set_Use_Action_Appearance
(Self : not null access Gtk_Separator_Menu_Item_Record;
Use_Appearance : Boolean)
procedure Sync_Action_Properties
(Self : not null access Gtk_Separator_Menu_Item_Record;
Action : access Gtk.Action.Gtk_Action_Record'Class)