type Gtk_Actionable is new Glib.Types.GType_Interface;
Null_Gtk_Actionable : constant Gtk_Actionable;
Action_Name_Property : constant Glib.Properties.Property_String;
Action_Target_Property : constant Glib.Properties.Property_Object;
function Get_Type return Glib.GType;
function Get_Action_Name
( | Self | : Gtk_Actionable) return UTF8_String; |
procedure Set_Action_Name
( | Self | : Gtk_Actionable; |
Action_Name | : UTF8_String); |
function Get_Action_Target_Value
( | Self | : Gtk_Actionable) return Glib.Variant.Gvariant; |
procedure Set_Action_Target_Value
( | Self | : Gtk_Actionable; |
Target_Value | : Glib.Variant.Gvariant); |
procedure Set_Detailed_Action_Name
( | Self | : Gtk_Actionable; |
Detailed_Action_Name | : UTF8_String); |
function "+"
( | W | : Gtk_Actionable) return Gtk_Actionable; |
This interface provides a convenient way of associating widgets with actions on a Gtk.Application_Window.Gtk_Application_Window or Gtk.Application.Gtk_Application.
It primarily consists of two properties: Gtk.Actionable.Gtk_Actionable:action-name and Gtk.Actionable.Gtk_Actionable:action-target. There are also some convenience APIs for setting these properties.
This interface is presently only meaningful if used on a widget that is (or will be) located inside of a Gtk.Application_Window.Gtk_Application_Window and can only be used to associate the widget with actions on that window, or its associated Gtk.Application.Gtk_Application.