Glib.Simple_Action_Group.Gsimple_Action_Group is a hash table filled with Glib.Action.Gaction objects, implementing the Glib.Action_Group.Gaction_Group and Glib.Action_Map.Gaction_Map interfaces.
function "+"
(Widget : access Gsimple_Action_Group_Record'Class)
return Glib.Action_Group.Gaction_Group
function "+"
(Widget : access Gsimple_Action_Group_Record'Class)
return Glib.Action_Map.Gaction_Map
function "-"
(Interf : Glib.Action_Group.Gaction_Group)
return Gsimple_Action_Group
function "-"
(Interf : Glib.Action_Map.Gaction_Map)
return Gsimple_Action_Group
procedure Action_Added
(Self : not null access Gsimple_Action_Group_Record;
Action_Name : UTF8_String)
procedure Action_Enabled_Changed
(Self : not null access Gsimple_Action_Group_Record;
Action_Name : UTF8_String;
Enabled : Boolean)
procedure Action_Removed
(Self : not null access Gsimple_Action_Group_Record;
Action_Name : UTF8_String)
procedure Action_State_Changed
(Self : not null access Gsimple_Action_Group_Record;
Action_Name : UTF8_String;
State : Glib.Variant.Gvariant)
procedure Activate_Action
(Self : not null access Gsimple_Action_Group_Record;
Action_Name : UTF8_String;
Parameter : Glib.Variant.Gvariant)
procedure Add_Action
(Self : not null access Gsimple_Action_Group_Record;
Action : Glib.Action.Gaction)
procedure Add_Action_Entries
(Self : not null access Gsimple_Action_Group_Record;
Entries : GAction_Entry_Array;
User_Data : System.Address := System.Null_Address)
procedure Add_Entries
(Self : not null access Gsimple_Action_Group_Record;
Entries : Glib.Action_Map.GAction_Entry_Array;
User_Data : System.Address := System.Null_Address)
A convenience function for creating multiple Glib.Simple_Action.Gsimple_Action instances and adding them to the action group. Since: gtk+ 2.30 Deprecated since 2.38, 1
a pointer to the first item in an array of Glib.Action_Map.GAction_Entry structs
the user data for signal connections
procedure Change_Action_State
(Self : not null access Gsimple_Action_Group_Record;
Action_Name : UTF8_String;
Value : Glib.Variant.Gvariant)
procedure G_New (Self : out Gsimple_Action_Group)
Creates a new, empty, Glib.Simple_Action_Group.Gsimple_Action_Group. Since: gtk+ 2.28
function Get_Action_Enabled
(Self : not null access Gsimple_Action_Group_Record;
Action_Name : UTF8_String) return Boolean
function Get_Action_Parameter_Type
(Self : not null access Gsimple_Action_Group_Record;
Action_Name : UTF8_String) return Glib.Variant.Gvariant_Type
function Get_Action_State
(Self : not null access Gsimple_Action_Group_Record;
Action_Name : UTF8_String) return Glib.Variant.Gvariant
function Get_Action_State_Hint
(Self : not null access Gsimple_Action_Group_Record;
Action_Name : UTF8_String) return Glib.Variant.Gvariant
function Get_Action_State_Type
(Self : not null access Gsimple_Action_Group_Record;
Action_Name : UTF8_String) return Glib.Variant.Gvariant_Type
function Get_Type return Glib.GType
type Gsimple_Action_Group is access all Gsimple_Action_Group_Record'Class;
function Gsimple_Action_Group_New return Gsimple_Action_Group
Creates a new, empty, Glib.Simple_Action_Group.Gsimple_Action_Group. Since: gtk+ 2.28
type Gsimple_Action_Group_Record is new GObject_Record with null record;
function Has_Action
(Self : not null access Gsimple_Action_Group_Record;
Action_Name : UTF8_String) return Boolean
package Implements_Gaction_Group is new Glib.Types.Implements
(Glib.Action_Group.Gaction_Group, Gsimple_Action_Group_Record, Gsimple_Action_Group);
package Implements_Gaction_Map is new Glib.Types.Implements
(Glib.Action_Map.Gaction_Map, Gsimple_Action_Group_Record, Gsimple_Action_Group);
procedure Initialize
(Self : not null access Gsimple_Action_Group_Record'Class)
Creates a new, empty, Glib.Simple_Action_Group.Gsimple_Action_Group. Since: gtk+ 2.28 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
procedure Insert
(Self : not null access Gsimple_Action_Group_Record;
Action : Glib.Action.Gaction)
Adds an action to the action group. If the action group already contains an action with the same name as Action then the old action is dropped from the group. The action group takes its own reference on Action. Since: gtk+ 2.28 Deprecated since 2.38, 1
a Glib.Action.Gaction
function List_Actions
(Self : not null access Gsimple_Action_Group_Record)
return GNAT.Strings.String_List
function Lookup
(Self : not null access Gsimple_Action_Group_Record;
Action_Name : UTF8_String) return Glib.Action.Gaction
Looks up the action with the name Action_Name in the group. If no such action exists, returns null. Since: gtk+ 2.28 Deprecated since 2.38, 1
the name of an action
a Glib.Action.Gaction, or null
function Lookup_Action
(Self : not null access Gsimple_Action_Group_Record;
Action_Name : UTF8_String) return Glib.Action.Gaction
function Query_Action
(Self : not null access Gsimple_Action_Group_Record;
Action_Name : UTF8_String;
Enabled : access Boolean;
Parameter_Type : access Glib.Variant.Gvariant_Type;
State_Type : access Glib.Variant.Gvariant_Type;
State_Hint : access Glib.Variant.Gvariant;
State : access Glib.Variant.Gvariant) return Boolean
procedure Remove
(Self : not null access Gsimple_Action_Group_Record;
Action_Name : UTF8_String)
Removes the named action from the action group. If no action of this name is in the group then nothing happens. Since: gtk+ 2.28 Deprecated since 2.38, 1
the name of the action
procedure Remove_Action
(Self : not null access Gsimple_Action_Group_Record;
Action_Name : UTF8_String)