package Implements_Gtk_Actionable is new Glib.Types.Implements (Gtk.Actionable.Gtk_Actionable, Gtk_Check_Menu_Item_Record, Gtk_Check_Menu_Item);
package Implements_Gtk_Activatable is new Glib.Types.Implements (Gtk.Activatable.Gtk_Activatable, Gtk_Check_Menu_Item_Record, Gtk_Check_Menu_Item);
package Implements_Gtk_Buildable is new Glib.Types.Implements (Gtk.Buildable.Gtk_Buildable, Gtk_Check_Menu_Item_Record, Gtk_Check_Menu_Item);
type Gtk_Check_Menu_Item_Record is new Gtk_Menu_Item_Record with null record;
type Gtk_Check_Menu_Item is access all Gtk_Check_Menu_Item_Record'Class;
type Cb_Gtk_Check_Menu_Item_Void is not null access procedure (Self : access Gtk_Check_Menu_Item_Record'Class);
type Cb_GObject_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class);
Active_Property : constant Glib.Properties.Property_Boolean;
Draw_As_Radio_Property : constant Glib.Properties.Property_Boolean;
Inconsistent_Property : constant Glib.Properties.Property_Boolean;
Signal_Toggled : constant Glib.Signal_Name := "toggled";
procedure Gtk_New
( | Check_Menu_Item | : out Gtk_Check_Menu_Item; |
Label | : UTF8_String := ""); |
procedure Initialize
( | Check_Menu_Item | : not null access Gtk_Check_Menu_Item_Record'Class; |
Label | : UTF8_String := ""); |
function Gtk_Check_Menu_Item_New_With_Label
( | Label | : UTF8_String := "") return Gtk_Check_Menu_Item; |
procedure Gtk_New_With_Mnemonic
( | Check_Menu_Item | : out Gtk_Check_Menu_Item; |
Label | : UTF8_String); |
procedure Initialize_With_Mnemonic
( | Check_Menu_Item | : not null access Gtk_Check_Menu_Item_Record'Class; |
Label | : UTF8_String); |
function Gtk_Check_Menu_Item_New_With_Mnemonic
( | Label | : UTF8_String) return Gtk_Check_Menu_Item; |
function Get_Type return Glib.GType;
function Get_Active
( | Check_Menu_Item | : not null access Gtk_Check_Menu_Item_Record) return Boolean; |
procedure Set_Active
( | Check_Menu_Item | : not null access Gtk_Check_Menu_Item_Record; |
Is_Active | : Boolean); |
function Get_Draw_As_Radio
( | Check_Menu_Item | : not null access Gtk_Check_Menu_Item_Record) return Boolean; |
procedure Set_Draw_As_Radio
( | Check_Menu_Item | : not null access Gtk_Check_Menu_Item_Record; |
Draw_As_Radio | : Boolean); |
function Get_Inconsistent
( | Check_Menu_Item | : not null access Gtk_Check_Menu_Item_Record) return Boolean; |
procedure Set_Inconsistent
( | Check_Menu_Item | : not null access Gtk_Check_Menu_Item_Record; |
Setting | : Boolean); |
procedure Toggled
( | Check_Menu_Item | : not null access Gtk_Check_Menu_Item_Record); |
function Get_Action_Name
( | Self | : not null access Gtk_Check_Menu_Item_Record) return UTF8_String; |
procedure Set_Action_Name
( | Self | : not null access Gtk_Check_Menu_Item_Record; |
Action_Name | : UTF8_String); |
function Get_Action_Target_Value
( | Self | : not null access Gtk_Check_Menu_Item_Record) return Glib.Variant.Gvariant; |
procedure Set_Action_Target_Value
( | Self | : not null access Gtk_Check_Menu_Item_Record; |
Target_Value | : Glib.Variant.Gvariant); |
procedure Set_Detailed_Action_Name
( | Self | : not null access Gtk_Check_Menu_Item_Record; |
Detailed_Action_Name | : UTF8_String); |
procedure Do_Set_Related_Action
( | Self | : not null access Gtk_Check_Menu_Item_Record; |
Action | : not null access Gtk.Action.Gtk_Action_Record'Class); |
function Get_Related_Action
( | Self | : not null access Gtk_Check_Menu_Item_Record) return Gtk.Action.Gtk_Action; |
procedure Set_Related_Action
( | Self | : not null access Gtk_Check_Menu_Item_Record; |
Action | : not null access Gtk.Action.Gtk_Action_Record'Class); |
function Get_Use_Action_Appearance
( | Self | : not null access Gtk_Check_Menu_Item_Record) return Boolean; |
procedure Set_Use_Action_Appearance
( | Self | : not null access Gtk_Check_Menu_Item_Record; |
Use_Appearance | : Boolean); |
procedure Sync_Action_Properties
( | Self | : not null access Gtk_Check_Menu_Item_Record; |
Action | : access Gtk.Action.Gtk_Action_Record'Class); |
procedure On_Toggled
( | Self | : not null access Gtk_Check_Menu_Item_Record; |
Call | : Cb_Gtk_Check_Menu_Item_Void; | |
After | : Boolean := False); |
procedure On_Toggled
( | Self | : not null access Gtk_Check_Menu_Item_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
function "+"
( | Widget | : access Gtk_Check_Menu_Item_Record'Class) return Gtk.Actionable.Gtk_Actionable renames Implements_Gtk_Actionable.To_Interface; |
function "-"
( | Interf | : Gtk.Actionable.Gtk_Actionable) return Gtk_Check_Menu_Item renames Implements_Gtk_Actionable.To_Object; |
function "+"
( | Widget | : access Gtk_Check_Menu_Item_Record'Class) return Gtk.Activatable.Gtk_Activatable renames Implements_Gtk_Activatable.To_Interface; |
function "-"
( | Interf | : Gtk.Activatable.Gtk_Activatable) return Gtk_Check_Menu_Item renames Implements_Gtk_Activatable.To_Object; |
function "+"
( | Widget | : access Gtk_Check_Menu_Item_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Gtk_Buildable.To_Interface; |
function "-"
( | Interf | : Gtk.Buildable.Gtk_Buildable) return Gtk_Check_Menu_Item renames Implements_Gtk_Buildable.To_Object; |
A Gtk.Check_Menu_Item.Gtk_Check_Menu_Item is a menu item that maintains the state of a boolean value in addition to a Gtk.Menu_Item.Gtk_Menu_Item usual role in activating application code.
A check box indicating the state of the boolean value is displayed at the left side of the Gtk.Menu_Item.Gtk_Menu_Item. Activating the Gtk.Menu_Item.Gtk_Menu_Item toggles the value.