Index

Package: Simple_Action_Group

Description

package Glib.Simple_Action_Group is

Packages

Implements_Gaction_Group (new Glib.Types.Implements)

Implements_Gaction_Map (new Glib.Types.Implements)

Classes

Gsimple_Action_Group_Record

type Gsimple_Action_Group_Record is new GObject_Record with null record;

Ancestors:

Primitive operations:

Action_Added
Action_Enabled_Changed
Action_Removed
Action_State_Changed
Activate_Action
Add_Action_Entries
Change_Action_State
Get_Action_Enabled
Get_Action_Parameter_Type
Get_Action_State
Get_Action_State_Hint
Get_Action_State_Type
Glib.Object.Deallocate (Inherited)
Glib.Object.Get_Type (Inherited)
Glib.Object.Notify (Inherited)
Glib.Object.Ref (Inherited)
Glib.Object.Ref_Sink (Inherited)
Glib.Object.Unref (Inherited)
List_Actions
Lookup_Action
Query_Action
Remove_Action

Types

Gsimple_Action_Group

type Gsimple_Action_Group is access all Gsimple_Action_Group_Record'Class;

Subprograms & Entries

G_New

procedure G_New 
(Self: out Gsimple_Action_Group);
Creates a new, empty, Glib.Simple_Action_Group.Gsimple_Action_Group. Since: gtk+ 2.28

Initialize

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

Gsimple_Action_Group_New

function Gsimple_Action_Group_New return Gsimple_Action_Group;
Creates a new, empty, Glib.Simple_Action_Group.Gsimple_Action_Group. Since: gtk+ 2.28

Get_Type

function Get_Type return Glib.GType;

Add_Entries

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 "entries": a pointer to the first item in an array of Glib.Action_Map.GAction_Entry structs "user_data": the user data for signal connections

Insert

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 "action": a Glib.Action.Gaction

Lookup

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 "action_name": the name of an action

Remove

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 "action_name": the name of the action

Action_Added

procedure Action_Added 
(Self: not null access Gsimple_Action_Group_Record;
Action_Name: UTF8_String);

Action_Enabled_Changed

procedure Action_Enabled_Changed 
(Self: not null access Gsimple_Action_Group_Record;
Action_Name: UTF8_String;
Enabled: Boolean);

Action_Removed

procedure Action_Removed 
(Self: not null access Gsimple_Action_Group_Record;
Action_Name: UTF8_String);

Action_State_Changed

procedure Action_State_Changed 
(Self: not null access Gsimple_Action_Group_Record;
Action_Name: UTF8_String;
State: Glib.Variant.Gvariant);

Activate_Action

procedure Activate_Action 
(Self: not null access Gsimple_Action_Group_Record;
Action_Name: UTF8_String;
Parameter: Glib.Variant.Gvariant);

Change_Action_State

procedure Change_Action_State 
(Self: not null access Gsimple_Action_Group_Record;
Action_Name: UTF8_String;
Value: Glib.Variant.Gvariant);

Get_Action_Enabled

function Get_Action_Enabled 
(Self: not null access Gsimple_Action_Group_Record;
Action_Name: UTF8_String) return Boolean;

Get_Action_Parameter_Type

function Get_Action_Parameter_Type 
(Self: not null access Gsimple_Action_Group_Record;
Action_Name: UTF8_String) return Glib.Variant.Gvariant_Type;

Get_Action_State

function Get_Action_State 
(Self: not null access Gsimple_Action_Group_Record;
Action_Name: UTF8_String) return Glib.Variant.Gvariant;

Get_Action_State_Hint

function Get_Action_State_Hint 
(Self: not null access Gsimple_Action_Group_Record;
Action_Name: UTF8_String) return Glib.Variant.Gvariant;

Get_Action_State_Type

function Get_Action_State_Type 
(Self: not null access Gsimple_Action_Group_Record;
Action_Name: UTF8_String) return Glib.Variant.Gvariant_Type;

Has_Action

function Has_Action 
(Self: not null access Gsimple_Action_Group_Record;
Action_Name: UTF8_String) return Boolean;

List_Actions

function List_Actions 
(Self: not null access Gsimple_Action_Group_Record) return GNAT.Strings.String_List;

Query_Action

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;

Add_Action

procedure Add_Action 
(Self: not null access Gsimple_Action_Group_Record;
Action: Glib.Action.Gaction);

Add_Action_Entries

procedure Add_Action_Entries 
(Self: not null access Gsimple_Action_Group_Record;
Entries: GAction_Entry_Array;
User_Data: System.Address := System.Null_Address);

Lookup_Action

function Lookup_Action 
(Self: not null access Gsimple_Action_Group_Record;
Action_Name: UTF8_String) return Glib.Action.Gaction;

Remove_Action

procedure Remove_Action 
(Self: not null access Gsimple_Action_Group_Record;
Action_Name: UTF8_String);