package Implements_Gtk_Actionable is new Glib.Types.Implements (Gtk.Actionable.Gtk_Actionable, Gtk_Image_Menu_Item_Record, Gtk_Image_Menu_Item);
package Implements_Gtk_Activatable is new Glib.Types.Implements (Gtk.Activatable.Gtk_Activatable, Gtk_Image_Menu_Item_Record, Gtk_Image_Menu_Item);
package Implements_Gtk_Buildable is new Glib.Types.Implements (Gtk.Buildable.Gtk_Buildable, Gtk_Image_Menu_Item_Record, Gtk_Image_Menu_Item);
type Gtk_Image_Menu_Item_Record is new Gtk_Menu_Item_Record with null record;
type Gtk_Image_Menu_Item is access all Gtk_Image_Menu_Item_Record'Class;
Accel_Group_Property : constant Glib.Properties.Property_Object;
Always_Show_Image_Property : constant Glib.Properties.Property_Boolean;
Image_Property : constant Glib.Properties.Property_Object;
Use_Stock_Property : constant Glib.Properties.Property_Boolean;
procedure Gtk_New
( | Self | : out Gtk_Image_Menu_Item); |
procedure Initialize
( | Self | : not null access Gtk_Image_Menu_Item_Record'Class); |
function Gtk_Image_Menu_Item_New return Gtk_Image_Menu_Item;
procedure Gtk_New_From_Stock
( | Self | : out Gtk_Image_Menu_Item; |
Stock_Id | : UTF8_String; | |
Accel_Group | : access Gtk.Accel_Group.Gtk_Accel_Group_Record'Class); |
procedure Initialize_From_Stock
( | Self | : not null access Gtk_Image_Menu_Item_Record'Class; |
Stock_Id | : UTF8_String; | |
Accel_Group | : access Gtk.Accel_Group.Gtk_Accel_Group_Record'Class); |
function Gtk_Image_Menu_Item_New_From_Stock
( | Stock_Id | : UTF8_String; |
Accel_Group | : access Gtk.Accel_Group.Gtk_Accel_Group_Record'Class) return Gtk_Image_Menu_Item; |
procedure Gtk_New
( | Self | : out Gtk_Image_Menu_Item; |
Label | : UTF8_String); |
procedure Initialize
( | Self | : not null access Gtk_Image_Menu_Item_Record'Class; |
Label | : UTF8_String); |
function Gtk_Image_Menu_Item_New_With_Label
( | Label | : UTF8_String) return Gtk_Image_Menu_Item; |
procedure Gtk_New_With_Mnemonic
( | Self | : out Gtk_Image_Menu_Item; |
Label | : UTF8_String); |
procedure Initialize_With_Mnemonic
( | Self | : not null access Gtk_Image_Menu_Item_Record'Class; |
Label | : UTF8_String); |
function Gtk_Image_Menu_Item_New_With_Mnemonic
( | Label | : UTF8_String) return Gtk_Image_Menu_Item; |
function Get_Type return Glib.GType;
function Get_Always_Show_Image
( | Self | : not null access Gtk_Image_Menu_Item_Record) return Boolean; |
procedure Set_Always_Show_Image
( | Self | : not null access Gtk_Image_Menu_Item_Record; |
Always_Show | : Boolean); |
function Get_Image
( | Self | : not null access Gtk_Image_Menu_Item_Record) return Gtk.Widget.Gtk_Widget; |
procedure Set_Image
( | Self | : not null access Gtk_Image_Menu_Item_Record; |
Image | : access Gtk.Widget.Gtk_Widget_Record'Class); |
function Get_Use_Stock
( | Self | : not null access Gtk_Image_Menu_Item_Record) return Boolean; |
procedure Set_Use_Stock
( | Self | : not null access Gtk_Image_Menu_Item_Record; |
Use_Stock | : Boolean); |
procedure Set_Accel_Group
( | Self | : not null access Gtk_Image_Menu_Item_Record; |
Accel_Group | : not null access Gtk.Accel_Group.Gtk_Accel_Group_Record'Class); |
function Get_Action_Name
( | Self | : not null access Gtk_Image_Menu_Item_Record) return UTF8_String; |
procedure Set_Action_Name
( | Self | : not null access Gtk_Image_Menu_Item_Record; |
Action_Name | : UTF8_String); |
function Get_Action_Target_Value
( | Self | : not null access Gtk_Image_Menu_Item_Record) return Glib.Variant.Gvariant; |
procedure Set_Action_Target_Value
( | Self | : not null access Gtk_Image_Menu_Item_Record; |
Target_Value | : Glib.Variant.Gvariant); |
procedure Set_Detailed_Action_Name
( | Self | : not null access Gtk_Image_Menu_Item_Record; |
Detailed_Action_Name | : UTF8_String); |
procedure Do_Set_Related_Action
( | Self | : not null access Gtk_Image_Menu_Item_Record; |
Action | : not null access Gtk.Action.Gtk_Action_Record'Class); |
function Get_Related_Action
( | Self | : not null access Gtk_Image_Menu_Item_Record) return Gtk.Action.Gtk_Action; |
procedure Set_Related_Action
( | Self | : not null access Gtk_Image_Menu_Item_Record; |
Action | : not null access Gtk.Action.Gtk_Action_Record'Class); |
function Get_Use_Action_Appearance
( | Self | : not null access Gtk_Image_Menu_Item_Record) return Boolean; |
procedure Set_Use_Action_Appearance
( | Self | : not null access Gtk_Image_Menu_Item_Record; |
Use_Appearance | : Boolean); |
procedure Sync_Action_Properties
( | Self | : not null access Gtk_Image_Menu_Item_Record; |
Action | : access Gtk.Action.Gtk_Action_Record'Class); |
function "+"
( | Widget | : access Gtk_Image_Menu_Item_Record'Class) return Gtk.Actionable.Gtk_Actionable renames Implements_Gtk_Actionable.To_Interface; |
function "-"
( | Interf | : Gtk.Actionable.Gtk_Actionable) return Gtk_Image_Menu_Item renames Implements_Gtk_Actionable.To_Object; |
function "+"
( | Widget | : access Gtk_Image_Menu_Item_Record'Class) return Gtk.Activatable.Gtk_Activatable renames Implements_Gtk_Activatable.To_Interface; |
function "-"
( | Interf | : Gtk.Activatable.Gtk_Activatable) return Gtk_Image_Menu_Item renames Implements_Gtk_Activatable.To_Object; |
function "+"
( | Widget | : access Gtk_Image_Menu_Item_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Gtk_Buildable.To_Interface; |
function "-"
( | Interf | : Gtk.Buildable.Gtk_Buildable) return Gtk_Image_Menu_Item renames Implements_Gtk_Buildable.To_Object; |
A GtkImageMenuItem is a menu item which has an icon next to the text label.
Note that the user can disable display of menu icons, so make sure to still fill in the text label.