package Widget_List is new Generic_List (Gtk.Widget.Gtk_Widget);
package Widget_SList is new Generic_SList (Gtk.Widget.Gtk_Widget);
package Gtk_Align_Properties is new Generic_Internal_Discrete_Property (Gtk_Align);
package Gtk_Widget_Help_Type_Properties is new Generic_Internal_Discrete_Property (Gtk_Widget_Help_Type);
type Gtk_Widget_Record is new GObject_Record with null record;
type Gtk_Widget is access all Gtk_Widget_Record'Class;
type Gtk_Widget_Path is new Glib.C_Proxy;
subtype Gtk_Allocation is Gdk.Rectangle.Gdk_Rectangle;
type Gtk_Tick_Callback is access function (Widget : not null access Gtk_Widget_Record'Class; Frame_Clock : not null access Gdk.Frame_Clock.Gdk_Frame_Clock_Record'Class) return Boolean;
type Property_Gtk_Align is new Gtk_Align_Properties.Property;
type Property_Gtk_Widget_Help_Type is new Gtk_Widget_Help_Type_Properties.Property;
type Gtk_Requisition_Access is access all Gtk_Requisition;
type Gtk_Allocation_Access is access all Gtk_Allocation;
type Size_Allocate_Handler is access procedure (Widget : System.Address; Allocation : Gtk_Allocation);
type Draw_Handler is access function (W : System.Address; Cr : Cairo.Cairo_Context) return Gboolean;
type Cb_Gtk_Widget_Void is not null access procedure (Self : access Gtk_Widget_Record'Class);
type Cb_GObject_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class);
type Cb_Gtk_Widget_Gdk_Event_Button_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Event : Gdk.Event.Gdk_Event_Button) return Boolean;
type Cb_GObject_Gdk_Event_Button_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Event : Gdk.Event.Gdk_Event_Button) return Boolean;
type Cb_Gtk_Widget_Guint_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Signal_Id : Guint) return Boolean;
type Cb_GObject_Guint_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Signal_Id : Guint) return Boolean;
type Cb_Gtk_Widget_Param_Spec_Void is not null access procedure (Self : access Gtk_Widget_Record'Class; Child_Property : Glib.Param_Spec);
type Cb_GObject_Param_Spec_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Child_Property : Glib.Param_Spec);
type Cb_Gtk_Widget_Gdk_Event_Configure_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Event : Gdk.Event.Gdk_Event_Configure) return Boolean;
type Cb_GObject_Gdk_Event_Configure_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Event : Gdk.Event.Gdk_Event_Configure) return Boolean;
type Cb_Gtk_Widget_Gdk_Event_Expose_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Event : Gdk.Event.Gdk_Event_Expose) return Boolean;
type Cb_GObject_Gdk_Event_Expose_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Event : Gdk.Event.Gdk_Event_Expose) return Boolean;
type Cb_Gtk_Widget_Gdk_Event_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Event : Gdk.Event.Gdk_Event) return Boolean;
type Cb_GObject_Gdk_Event_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Event : Gdk.Event.Gdk_Event) return Boolean;
type Cb_Gtk_Widget_Gtk_Text_Direction_Void is not null access procedure (Self : access Gtk_Widget_Record'Class; Previous_Direction : Gtk.Enums.Gtk_Text_Direction);
type Cb_GObject_Gtk_Text_Direction_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Previous_Direction : Gtk.Enums.Gtk_Text_Direction);
type Cb_Gtk_Widget_Drag_Context_Void is not null access procedure (Self : access Gtk_Widget_Record'Class; Context : not null access Gdk.Drag_Contexts.Drag_Context_Record'Class);
type Cb_GObject_Drag_Context_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Context : not null access Gdk.Drag_Contexts.Drag_Context_Record'Class);
type Cb_Gtk_Widget_Drag_Context_Gtk_Selection_Data_Guint_Guint_Void is not null access procedure (Self : access Gtk_Widget_Record'Class; Context : not null access Gdk.Drag_Contexts.Drag_Context_Record'Class; Data : Gtk.Selection_Data.Gtk_Selection_Data; Info : Guint; Time : Guint);
type Cb_GObject_Drag_Context_Gtk_Selection_Data_Guint_Guint_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Context : not null access Gdk.Drag_Contexts.Drag_Context_Record'Class; Data : Gtk.Selection_Data.Gtk_Selection_Data; Info : Guint; Time : Guint);
type Cb_Gtk_Widget_Drag_Context_Gint_Gint_Gtk_Selection_Data_Guint_Guint_Void is not null access procedure (Self : access Gtk_Widget_Record'Class; Context : not null access Gdk.Drag_Contexts.Drag_Context_Record'Class; X : Gint; Y : Gint; Data : Gtk.Selection_Data.Gtk_Selection_Data; Info : Guint; Time : Guint);
type Cb_GObject_Drag_Context_Gint_Gint_Gtk_Selection_Data_Guint_Guint_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Context : not null access Gdk.Drag_Contexts.Drag_Context_Record'Class; X : Gint; Y : Gint; Data : Gtk.Selection_Data.Gtk_Selection_Data; Info : Guint; Time : Guint);
type Cb_Gtk_Widget_Drag_Context_Gint_Gint_Guint_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Context : not null access Gdk.Drag_Contexts.Drag_Context_Record'Class; X : Gint; Y : Gint; Time : Guint) return Boolean;
type Cb_GObject_Drag_Context_Gint_Gint_Guint_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Context : not null access Gdk.Drag_Contexts.Drag_Context_Record'Class; X : Gint; Y : Gint; Time : Guint) return Boolean;
type Cb_Gtk_Widget_Drag_Context_Gtk_Drag_Result_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Context : not null access Gdk.Drag_Contexts.Drag_Context_Record'Class; Result : Gtk.Enums.Gtk_Drag_Result) return Boolean;
type Cb_GObject_Drag_Context_Gtk_Drag_Result_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Context : not null access Gdk.Drag_Contexts.Drag_Context_Record'Class; Result : Gtk.Enums.Gtk_Drag_Result) return Boolean;
type Cb_Gtk_Widget_Drag_Context_Guint_Void is not null access procedure (Self : access Gtk_Widget_Record'Class; Context : not null access Gdk.Drag_Contexts.Drag_Context_Record'Class; Time : Guint);
type Cb_GObject_Drag_Context_Guint_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Context : not null access Gdk.Drag_Contexts.Drag_Context_Record'Class; Time : Guint);
type Cb_Gtk_Widget_Cairo_Context_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Cr : Cairo.Cairo_Context) return Boolean;
type Cb_GObject_Cairo_Context_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Cr : Cairo.Cairo_Context) return Boolean;
type Cb_Gtk_Widget_Gdk_Event_Crossing_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Event : Gdk.Event.Gdk_Event_Crossing) return Boolean;
type Cb_GObject_Gdk_Event_Crossing_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Event : Gdk.Event.Gdk_Event_Crossing) return Boolean;
type Cb_Gtk_Widget_Gdk_Event_Void is not null access procedure (Self : access Gtk_Widget_Record'Class; Event : Gdk.Event.Gdk_Event);
type Cb_GObject_Gdk_Event_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Event : Gdk.Event.Gdk_Event);
type Cb_Gtk_Widget_Gtk_Direction_Type_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Direction : Gtk.Enums.Gtk_Direction_Type) return Boolean;
type Cb_GObject_Gtk_Direction_Type_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Direction : Gtk.Enums.Gtk_Direction_Type) return Boolean;
type Cb_Gtk_Widget_Gdk_Event_Focus_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Event : Gdk.Event.Gdk_Event_Focus) return Boolean;
type Cb_GObject_Gdk_Event_Focus_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Event : Gdk.Event.Gdk_Event_Focus) return Boolean;
type Cb_Gtk_Widget_Gdk_Event_Grab_Broken_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Event : Gdk.Event.Gdk_Event_Grab_Broken) return Boolean;
type Cb_GObject_Gdk_Event_Grab_Broken_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Event : Gdk.Event.Gdk_Event_Grab_Broken) return Boolean;
type Cb_Gtk_Widget_Boolean_Void is not null access procedure (Self : access Gtk_Widget_Record'Class; Was_Grabbed : Boolean);
type Cb_GObject_Boolean_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Was_Grabbed : Boolean);
type Cb_Gtk_Widget_Gtk_Widget_Void is not null access procedure (Self : access Gtk_Widget_Record'Class; Previous_Toplevel : access Gtk_Widget_Record'Class);
type Cb_GObject_Gtk_Widget_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Previous_Toplevel : access Gtk_Widget_Record'Class);
type Cb_Gtk_Widget_Gdk_Event_Key_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Event : Gdk.Event.Gdk_Event_Key) return Boolean;
type Cb_GObject_Gdk_Event_Key_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Event : Gdk.Event.Gdk_Event_Key) return Boolean;
type Cb_Gtk_Widget_Gdk_Event_Any_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Event : Gdk.Event.Gdk_Event_Any) return Boolean;
type Cb_GObject_Gdk_Event_Any_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Event : Gdk.Event.Gdk_Event_Any) return Boolean;
type Cb_Gtk_Widget_Boolean_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Arg1 : Boolean) return Boolean;
type Cb_GObject_Boolean_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Arg1 : Boolean) return Boolean;
type Cb_Gtk_Widget_Gdk_Event_Motion_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Event : Gdk.Event.Gdk_Event_Motion) return Boolean;
type Cb_GObject_Gdk_Event_Motion_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Event : Gdk.Event.Gdk_Event_Motion) return Boolean;
type Cb_Gtk_Widget_Gtk_Direction_Type_Void is not null access procedure (Self : access Gtk_Widget_Record'Class; Direction : Gtk.Enums.Gtk_Direction_Type);
type Cb_GObject_Gtk_Direction_Type_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Direction : Gtk.Enums.Gtk_Direction_Type);
type Cb_Gtk_Widget_Boolean is not null access function (Self : access Gtk_Widget_Record'Class) return Boolean;
type Cb_GObject_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class) return Boolean;
type Cb_Gtk_Widget_Gdk_Event_Property_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Event : Gdk.Event.Gdk_Event_Property) return Boolean;
type Cb_GObject_Gdk_Event_Property_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Event : Gdk.Event.Gdk_Event_Property) return Boolean;
type Cb_Gtk_Widget_Gdk_Event_Proximity_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Event : Gdk.Event.Gdk_Event_Proximity) return Boolean;
type Cb_GObject_Gdk_Event_Proximity_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Event : Gdk.Event.Gdk_Event_Proximity) return Boolean;
type Cb_Gtk_Widget_Gint_Gint_Boolean_GObject_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; X : Gint; Y : Gint; Keyboard_Mode : Boolean; Tooltip : not null access Glib.Object.GObject_Record'Class) return Boolean;
type Cb_GObject_Gint_Gint_Boolean_GObject_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; X : Gint; Y : Gint; Keyboard_Mode : Boolean; Tooltip : not null access Glib.Object.GObject_Record'Class) return Boolean;
type Cb_Gtk_Widget_Gdk_Screen_Void is not null access procedure (Self : access Gtk_Widget_Record'Class; Previous_Screen : access Gdk.Screen.Gdk_Screen_Record'Class);
type Cb_GObject_Gdk_Screen_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Previous_Screen : access Gdk.Screen.Gdk_Screen_Record'Class);
type Cb_Gtk_Widget_Gdk_Event_Scroll_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Event : Gdk.Event.Gdk_Event_Scroll) return Boolean;
type Cb_GObject_Gdk_Event_Scroll_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Event : Gdk.Event.Gdk_Event_Scroll) return Boolean;
type Cb_Gtk_Widget_Gdk_Event_Selection_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Event : Gdk.Event.Gdk_Event_Selection) return Boolean;
type Cb_GObject_Gdk_Event_Selection_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Event : Gdk.Event.Gdk_Event_Selection) return Boolean;
type Cb_Gtk_Widget_Gtk_Selection_Data_Guint_Guint_Void is not null access procedure (Self : access Gtk_Widget_Record'Class; Data : Gtk.Selection_Data.Gtk_Selection_Data; Info : Guint; Time : Guint);
type Cb_GObject_Gtk_Selection_Data_Guint_Guint_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Data : Gtk.Selection_Data.Gtk_Selection_Data; Info : Guint; Time : Guint);
type Cb_Gtk_Widget_Gtk_Selection_Data_Guint_Void is not null access procedure (Self : access Gtk_Widget_Record'Class; Data : Gtk.Selection_Data.Gtk_Selection_Data; Time : Guint);
type Cb_GObject_Gtk_Selection_Data_Guint_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Data : Gtk.Selection_Data.Gtk_Selection_Data; Time : Guint);
type Cb_Gtk_Widget_Gtk_Widget_Help_Type_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Help_Type : Gtk_Widget_Help_Type) return Boolean;
type Cb_GObject_Gtk_Widget_Help_Type_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Help_Type : Gtk_Widget_Help_Type) return Boolean;
type Cb_Gtk_Widget_Cairo_Rectangle_Int_Void is not null access procedure (Self : access Gtk_Widget_Record'Class; Allocation : Cairo.Region.Cairo_Rectangle_Int);
type Cb_GObject_Cairo_Rectangle_Int_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Allocation : Cairo.Region.Cairo_Rectangle_Int);
type Cb_Gtk_Widget_Gtk_State_Type_Void is not null access procedure (Self : access Gtk_Widget_Record'Class; State : Gtk.Enums.Gtk_State_Type);
type Cb_GObject_Gtk_State_Type_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; State : Gtk.Enums.Gtk_State_Type);
type Cb_Gtk_Widget_Gtk_State_Flags_Void is not null access procedure (Self : access Gtk_Widget_Record'Class; Flags : Gtk.Enums.Gtk_State_Flags);
type Cb_GObject_Gtk_State_Flags_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Flags : Gtk.Enums.Gtk_State_Flags);
type Cb_Gtk_Widget_Gtk_Style_Void is not null access procedure (Self : access Gtk_Widget_Record'Class; Previous_Style : access Gtk.Style.Gtk_Style_Record'Class);
type Cb_GObject_Gtk_Style_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Previous_Style : access Gtk.Style.Gtk_Style_Record'Class);
type Cb_Gtk_Widget_Gdk_Event_Visibility_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Event : Gdk.Event.Gdk_Event_Visibility) return Boolean;
type Cb_GObject_Gdk_Event_Visibility_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Event : Gdk.Event.Gdk_Event_Visibility) return Boolean;
type Cb_Gtk_Widget_Gdk_Event_Window_State_Boolean is not null access function (Self : access Gtk_Widget_Record'Class; Event : Gdk.Event.Gdk_Event_Window_State) return Boolean;
type Cb_GObject_Gdk_Event_Window_State_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class; Event : Gdk.Event.Gdk_Event_Window_State) return Boolean;
App_Paintable_Property : constant Glib.Properties.Property_Boolean;
Can_Default_Property : constant Glib.Properties.Property_Boolean;
Can_Focus_Property : constant Glib.Properties.Property_Boolean;
Composite_Child_Property : constant Glib.Properties.Property_Boolean;
Double_Buffered_Property : constant Glib.Properties.Property_Boolean;
Events_Property : constant Gdk.Event.Property_Gdk_Event_Mask;
Expand_Property : constant Glib.Properties.Property_Boolean;
Halign_Property : constant Gtk.Widget.Property_Gtk_Align;
Has_Default_Property : constant Glib.Properties.Property_Boolean;
Has_Focus_Property : constant Glib.Properties.Property_Boolean;
Has_Tooltip_Property : constant Glib.Properties.Property_Boolean;
Height_Request_Property : constant Glib.Properties.Property_Int;
Hexpand_Property : constant Glib.Properties.Property_Boolean;
Hexpand_Set_Property : constant Glib.Properties.Property_Boolean;
Is_Focus_Property : constant Glib.Properties.Property_Boolean;
Margin_Property : constant Glib.Properties.Property_Int;
Margin_Bottom_Property : constant Glib.Properties.Property_Int;
Margin_Left_Property : constant Glib.Properties.Property_Int;
Margin_Right_Property : constant Glib.Properties.Property_Int;
Margin_Top_Property : constant Glib.Properties.Property_Int;
Name_Property : constant Glib.Properties.Property_String;
No_Show_All_Property : constant Glib.Properties.Property_Boolean;
Opacity_Property : constant Glib.Properties.Property_Double;
Parent_Property : constant Glib.Properties.Property_Object;
Receives_Default_Property : constant Glib.Properties.Property_Boolean;
Sensitive_Property : constant Glib.Properties.Property_Boolean;
Style_Property : constant Glib.Properties.Property_Object;
Tooltip_Markup_Property : constant Glib.Properties.Property_String;
Tooltip_Text_Property : constant Glib.Properties.Property_String;
Valign_Property : constant Gtk.Widget.Property_Gtk_Align;
Vexpand_Property : constant Glib.Properties.Property_Boolean;
Vexpand_Set_Property : constant Glib.Properties.Property_Boolean;
Visible_Property : constant Glib.Properties.Property_Boolean;
Width_Request_Property : constant Glib.Properties.Property_Int;
Window_Property : constant Glib.Properties.Property_Boxed;
Signal_Accel_Closures_Changed : constant Glib.Signal_Name := "accel-closures-changed";
Signal_Button_Press_Event : constant Glib.Signal_Name := "button-press-event";
Signal_Button_Release_Event : constant Glib.Signal_Name := "button-release-event";
Signal_Can_Activate_Accel : constant Glib.Signal_Name := "can-activate-accel";
Signal_Child_Notify : constant Glib.Signal_Name := "child-notify";
Signal_Composited_Changed : constant Glib.Signal_Name := "composited-changed";
Signal_Configure_Event : constant Glib.Signal_Name := "configure-event";
Signal_Damage_Event : constant Glib.Signal_Name := "damage-event";
Signal_Delete_Event : constant Glib.Signal_Name := "delete-event";
Signal_Destroy : constant Glib.Signal_Name := "destroy";
Signal_Destroy_Event : constant Glib.Signal_Name := "destroy-event";
Signal_Direction_Changed : constant Glib.Signal_Name := "direction-changed";
Signal_Drag_Begin : constant Glib.Signal_Name := "drag-begin";
Signal_Drag_Data_Delete : constant Glib.Signal_Name := "drag-data-delete";
Signal_Drag_Data_Get : constant Glib.Signal_Name := "drag-data-get";
Signal_Drag_Data_Received : constant Glib.Signal_Name := "drag-data-received";
Signal_Drag_Drop : constant Glib.Signal_Name := "drag-drop";
Signal_Drag_End : constant Glib.Signal_Name := "drag-end";
Signal_Drag_Failed : constant Glib.Signal_Name := "drag-failed";
Signal_Drag_Leave : constant Glib.Signal_Name := "drag-leave";
Signal_Drag_Motion : constant Glib.Signal_Name := "drag-motion";
Signal_Draw : constant Glib.Signal_Name := "draw";
Signal_Enter_Notify_Event : constant Glib.Signal_Name := "enter-notify-event";
Signal_Event : constant Glib.Signal_Name := "event";
Signal_Event_After : constant Glib.Signal_Name := "event-after";
Signal_Focus : constant Glib.Signal_Name := "focus";
Signal_Focus_In_Event : constant Glib.Signal_Name := "focus-in-event";
Signal_Focus_Out_Event : constant Glib.Signal_Name := "focus-out-event";
Signal_Grab_Broken_Event : constant Glib.Signal_Name := "grab-broken-event";
Signal_Grab_Focus : constant Glib.Signal_Name := "grab-focus";
Signal_Grab_Notify : constant Glib.Signal_Name := "grab-notify";
Signal_Hide : constant Glib.Signal_Name := "hide";
Signal_Hierarchy_Changed : constant Glib.Signal_Name := "hierarchy-changed";
Signal_Key_Press_Event : constant Glib.Signal_Name := "key-press-event";
Signal_Key_Release_Event : constant Glib.Signal_Name := "key-release-event";
Signal_Keynav_Failed : constant Glib.Signal_Name := "keynav-failed";
Signal_Leave_Notify_Event : constant Glib.Signal_Name := "leave-notify-event";
Signal_Map : constant Glib.Signal_Name := "map";
Signal_Map_Event : constant Glib.Signal_Name := "map-event";
Signal_Mnemonic_Activate : constant Glib.Signal_Name := "mnemonic-activate";
Signal_Motion_Notify_Event : constant Glib.Signal_Name := "motion-notify-event";
Signal_Move_Focus : constant Glib.Signal_Name := "move-focus";
Signal_Parent_Set : constant Glib.Signal_Name := "parent-set";
Signal_Popup_Menu : constant Glib.Signal_Name := "popup-menu";
Signal_Property_Notify_Event : constant Glib.Signal_Name := "property-notify-event";
Signal_Proximity_In_Event : constant Glib.Signal_Name := "proximity-in-event";
Signal_Proximity_Out_Event : constant Glib.Signal_Name := "proximity-out-event";
Signal_Query_Tooltip : constant Glib.Signal_Name := "query-tooltip";
Signal_Realize : constant Glib.Signal_Name := "realize";
Signal_Screen_Changed : constant Glib.Signal_Name := "screen-changed";
Signal_Scroll_Event : constant Glib.Signal_Name := "scroll-event";
Signal_Selection_Clear_Event : constant Glib.Signal_Name := "selection-clear-event";
Signal_Selection_Get : constant Glib.Signal_Name := "selection-get";
Signal_Selection_Notify_Event : constant Glib.Signal_Name := "selection-notify-event";
Signal_Selection_Received : constant Glib.Signal_Name := "selection-received";
Signal_Selection_Request_Event : constant Glib.Signal_Name := "selection-request-event";
Signal_Show : constant Glib.Signal_Name := "show";
Signal_Show_Help : constant Glib.Signal_Name := "show-help";
Signal_Size_Allocate : constant Glib.Signal_Name := "size-allocate";
Signal_State_Changed : constant Glib.Signal_Name := "state-changed";
Signal_State_Flags_Changed : constant Glib.Signal_Name := "state-flags-changed";
Signal_Style_Set : constant Glib.Signal_Name := "style-set";
Signal_Style_Updated : constant Glib.Signal_Name := "style-updated";
Signal_Touch_Event : constant Glib.Signal_Name := "touch-event";
Signal_Unmap : constant Glib.Signal_Name := "unmap";
Signal_Unmap_Event : constant Glib.Signal_Name := "unmap-event";
Signal_Unrealize : constant Glib.Signal_Name := "unrealize";
Signal_Visibility_Notify_Event : constant Glib.Signal_Name := "visibility-notify-event";
Signal_Window_State_Event : constant Glib.Signal_Name := "window-state-event";
function From_Object_Free
( | B | : access Gtk_Requisition) return Gtk_Requisition; |
function From_Object_Free
( | B | : access Gtk_Widget_Path) return Gtk_Widget_Path; |
function Convert
( | R | : Gtk.Widget.Gtk_Widget) return System.Address; |
function Convert
( | R | : System.Address) return Gtk.Widget.Gtk_Widget; |
function Get_Type return Glib.GType;
function Activate
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Add_Accelerator
( | Widget | : not null access Gtk_Widget_Record; |
Accel_Signal | : UTF8_String; | |
Accel_Group | : not null access Gtk.Accel_Group.Gtk_Accel_Group_Record'Class; | |
Accel_Key | : Gdk.Types.Gdk_Key_Type; | |
Accel_Mods | : Gdk.Types.Gdk_Modifier_Type; | |
Accel_Flags | : Gtk.Accel_Group.Gtk_Accel_Flags); |
procedure Add_Device_Events
( | Widget | : not null access Gtk_Widget_Record; |
Device | : not null access Gdk.Device.Gdk_Device_Record'Class; | |
Events | : Gdk.Event.Gdk_Event_Mask); |
procedure Add_Events
( | Widget | : not null access Gtk_Widget_Record; |
Events | : Gdk.Event.Gdk_Event_Mask); |
procedure Add_Mnemonic_Label
( | Widget | : not null access Gtk_Widget_Record; |
Label | : not null access Gtk_Widget_Record'Class); |
function Add_Tick_Callback
( | Widget | : not null access Gtk_Widget_Record; |
Callback | : Gtk_Tick_Callback; | |
Notify | : Glib.G_Destroy_Notify_Address) return Guint; |
function Can_Activate_Accel
( | Widget | : not null access Gtk_Widget_Record; |
Signal_Id | : Guint) return Boolean; |
function Child_Focus
( | Widget | : not null access Gtk_Widget_Record; |
Direction | : Gtk.Enums.Gtk_Direction_Type) return Boolean; |
procedure Child_Notify
( | Widget | : not null access Gtk_Widget_Record; |
Child_Property | : UTF8_String); |
function Compute_Expand
( | Widget | : not null access Gtk_Widget_Record; |
Orientation | : Gtk.Enums.Gtk_Orientation) return Boolean; |
function Create_Pango_Context
( | Widget | : not null access Gtk_Widget_Record) return Pango.Context.Pango_Context; |
function Create_Pango_Layout
( | Widget | : not null access Gtk_Widget_Record; |
Text | : UTF8_String := "") return Pango.Layout.Pango_Layout; |
procedure Destroy
( | Widget | : not null access Gtk_Widget_Record); |
procedure Destroyed
( | Widget | : not null access Gtk_Widget_Record; |
Widget_Pointer | : in out Gtk_Widget); |
function Device_Is_Shadowed
( | Widget | : not null access Gtk_Widget_Record; |
Device | : not null access Gdk.Device.Gdk_Device_Record'Class) return Boolean; |
function Drag_Check_Threshold
( | Widget | : not null access Gtk_Widget_Record; |
Start_X | : Gint; | |
Start_Y | : Gint; | |
Current_X | : Gint; | |
Current_Y | : Gint) return Boolean; |
procedure Drag_Dest_Add_Image_Targets
( | Widget | : not null access Gtk_Widget_Record); |
procedure Drag_Dest_Add_Text_Targets
( | Widget | : not null access Gtk_Widget_Record); |
procedure Drag_Dest_Add_Uri_Targets
( | Widget | : not null access Gtk_Widget_Record); |
function Drag_Dest_Get_Track_Motion
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Drag_Dest_Set_Track_Motion
( | Widget | : not null access Gtk_Widget_Record; |
Track_Motion | : Boolean); |
procedure Drag_Dest_Set_Proxy
( | Widget | : not null access Gtk_Widget_Record; |
Proxy_Window | : Gdk.Gdk_Window; | |
Protocol | : Gdk.Drag_Contexts.Gdk_Drag_Protocol; | |
Use_Coordinates | : Boolean); |
procedure Drag_Dest_Unset
( | Widget | : not null access Gtk_Widget_Record); |
procedure Drag_Get_Data
( | Widget | : not null access Gtk_Widget_Record; |
Context | : not null access Gdk.Drag_Contexts.Drag_Context_Record'Class; | |
Target | : Gdk.Types.Gdk_Atom; | |
Time | : Guint32); |
procedure Drag_Highlight
( | Widget | : not null access Gtk_Widget_Record); |
procedure Drag_Source_Add_Image_Targets
( | Widget | : not null access Gtk_Widget_Record); |
procedure Drag_Source_Add_Uri_Targets
( | Widget | : not null access Gtk_Widget_Record); |
procedure Drag_Source_Set_Icon_Pixbuf
( | Widget | : not null access Gtk_Widget_Record; |
Pixbuf | : not null access Gdk.Pixbuf.Gdk_Pixbuf_Record'Class); |
procedure Drag_Source_Unset
( | Widget | : not null access Gtk_Widget_Record); |
procedure Drag_Unhighlight
( | Widget | : not null access Gtk_Widget_Record); |
procedure Draw
( | Widget | : not null access Gtk_Widget_Record; |
Cr | : Cairo.Cairo_Context); |
procedure Ensure_Style
( | Widget | : not null access Gtk_Widget_Record); |
procedure Error_Bell
( | Widget | : not null access Gtk_Widget_Record); |
function Event
( | Widget | : not null access Gtk_Widget_Record; |
Event | : Gdk.Event.Gdk_Event) return Boolean; |
procedure Freeze_Child_Notify
( | Widget | : not null access Gtk_Widget_Record); |
function Get_Allocated_Height
( | Widget | : not null access Gtk_Widget_Record) return Gint; |
function Get_Allocated_Width
( | Widget | : not null access Gtk_Widget_Record) return Gint; |
procedure Get_Allocation
( | Widget | : not null access Gtk_Widget_Record; |
Allocation | : out Gtk_Allocation); |
procedure Set_Allocation
( | Widget | : not null access Gtk_Widget_Record; |
Allocation | : in out Gtk_Allocation); |
function Get_Ancestor
( | Widget | : not null access Gtk_Widget_Record; |
Widget_Type | : GType) return Gtk_Widget; |
function Get_App_Paintable
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_App_Paintable
( | Widget | : not null access Gtk_Widget_Record; |
App_Paintable | : Boolean); |
function Get_Can_Default
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_Can_Default
( | Widget | : not null access Gtk_Widget_Record; |
Can_Default | : Boolean); |
function Get_Can_Focus
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_Can_Focus
( | Widget | : not null access Gtk_Widget_Record; |
Can_Focus | : Boolean); |
procedure Get_Child_Requisition
( | Widget | : not null access Gtk_Widget_Record; |
Requisition | : out Gtk_Requisition); |
function Get_Child_Visible
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_Child_Visible
( | Widget | : not null access Gtk_Widget_Record; |
Is_Visible | : Boolean); |
function Get_Composite_Name
( | Widget | : not null access Gtk_Widget_Record) return UTF8_String; |
procedure Set_Composite_Name
( | Widget | : not null access Gtk_Widget_Record; |
Name | : UTF8_String); |
function Get_Device_Enabled
( | Widget | : not null access Gtk_Widget_Record; |
Device | : not null access Gdk.Device.Gdk_Device_Record'Class) return Boolean; |
procedure Set_Device_Enabled
( | Widget | : not null access Gtk_Widget_Record; |
Device | : not null access Gdk.Device.Gdk_Device_Record'Class; | |
Enabled | : Boolean); |
function Get_Device_Events
( | Widget | : not null access Gtk_Widget_Record; |
Device | : not null access Gdk.Device.Gdk_Device_Record'Class) return Gdk.Event.Gdk_Event_Mask; |
procedure Set_Device_Events
( | Widget | : not null access Gtk_Widget_Record; |
Device | : not null access Gdk.Device.Gdk_Device_Record'Class; | |
Events | : Gdk.Event.Gdk_Event_Mask); |
function Get_Direction
( | Widget | : not null access Gtk_Widget_Record) return Gtk.Enums.Gtk_Text_Direction; |
procedure Set_Direction
( | Widget | : not null access Gtk_Widget_Record; |
Dir | : Gtk.Enums.Gtk_Text_Direction); |
function Get_Display
( | Widget | : not null access Gtk_Widget_Record) return Gdk.Display.Gdk_Display; |
function Get_Double_Buffered
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_Double_Buffered
( | Widget | : not null access Gtk_Widget_Record; |
Double_Buffered | : Boolean); |
function Get_Events
( | Widget | : not null access Gtk_Widget_Record) return Gdk.Event.Gdk_Event_Mask; |
procedure Set_Events
( | Widget | : not null access Gtk_Widget_Record; |
Events | : Gdk.Event.Gdk_Event_Mask); |
function Get_Frame_Clock
( | Widget | : not null access Gtk_Widget_Record) return Gdk.Frame_Clock.Gdk_Frame_Clock; |
function Get_Halign
( | Widget | : not null access Gtk_Widget_Record) return Gtk_Align; |
procedure Set_Halign
( | Widget | : not null access Gtk_Widget_Record; |
Align | : Gtk_Align); |
function Get_Has_Tooltip
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_Has_Tooltip
( | Widget | : not null access Gtk_Widget_Record; |
Has_Tooltip | : Boolean); |
function Get_Has_Window
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_Has_Window
( | Widget | : not null access Gtk_Widget_Record; |
Has_Window | : Boolean); |
function Get_Hexpand
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_Hexpand
( | Widget | : not null access Gtk_Widget_Record; |
Expand | : Boolean); |
function Get_Hexpand_Set
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_Hexpand_Set
( | Widget | : not null access Gtk_Widget_Record; |
Set | : Boolean); |
function Get_Mapped
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_Mapped
( | Widget | : not null access Gtk_Widget_Record; |
Mapped | : Boolean); |
function Get_Margin_Bottom
( | Widget | : not null access Gtk_Widget_Record) return Gint; |
procedure Set_Margin_Bottom
( | Widget | : not null access Gtk_Widget_Record; |
Margin | : Gint); |
function Get_Margin_Left
( | Widget | : not null access Gtk_Widget_Record) return Gint; |
procedure Set_Margin_Left
( | Widget | : not null access Gtk_Widget_Record; |
Margin | : Gint); |
function Get_Margin_Right
( | Widget | : not null access Gtk_Widget_Record) return Gint; |
procedure Set_Margin_Right
( | Widget | : not null access Gtk_Widget_Record; |
Margin | : Gint); |
function Get_Margin_Top
( | Widget | : not null access Gtk_Widget_Record) return Gint; |
procedure Set_Margin_Top
( | Widget | : not null access Gtk_Widget_Record; |
Margin | : Gint); |
function Get_Modifier_Mask
( | Widget | : not null access Gtk_Widget_Record; |
Intent | : Gdk_Modifier_Intent) return Gdk.Types.Gdk_Modifier_Type; |
function Get_Name
( | Widget | : not null access Gtk_Widget_Record) return UTF8_String; |
procedure Set_Name
( | Widget | : not null access Gtk_Widget_Record; |
Name | : UTF8_String); |
function Get_No_Show_All
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_No_Show_All
( | Widget | : not null access Gtk_Widget_Record; |
No_Show_All | : Boolean); |
function Get_Opacity
( | Widget | : not null access Gtk_Widget_Record) return Gdouble; |
procedure Set_Opacity
( | Widget | : not null access Gtk_Widget_Record; |
Opacity | : Gdouble); |
function Get_Pango_Context
( | Widget | : not null access Gtk_Widget_Record) return Pango.Context.Pango_Context; |
function Get_Parent
( | Widget | : not null access Gtk_Widget_Record) return Gtk_Widget; |
procedure Set_Parent
( | Widget | : not null access Gtk_Widget_Record; |
Parent | : not null access Gtk_Widget_Record'Class); |
function Get_Parent_Window
( | Widget | : not null access Gtk_Widget_Record) return Gdk.Gdk_Window; |
procedure Set_Parent_Window
( | Widget | : not null access Gtk_Widget_Record; |
Parent_Window | : Gdk.Gdk_Window); |
function Get_Path
( | Widget | : not null access Gtk_Widget_Record) return Gtk_Widget_Path; |
procedure Get_Pointer
( | Widget | : not null access Gtk_Widget_Record; |
X | : out Gint; | |
Y | : out Gint); |
procedure Get_Preferred_Height
( | Widget | : not null access Gtk_Widget_Record; |
Minimum_Height | : out Gint; | |
Natural_Height | : out Gint); |
procedure Get_Preferred_Height_For_Width
( | Widget | : not null access Gtk_Widget_Record; |
Width | : Gint; | |
Minimum_Height | : out Gint; | |
Natural_Height | : out Gint); |
procedure Get_Preferred_Size
( | Widget | : not null access Gtk_Widget_Record; |
Minimum_Size | : out Gtk_Requisition; | |
Natural_Size | : out Gtk_Requisition); |
procedure Get_Preferred_Width
( | Widget | : not null access Gtk_Widget_Record; |
Minimum_Width | : out Gint; | |
Natural_Width | : out Gint); |
procedure Get_Preferred_Width_For_Height
( | Widget | : not null access Gtk_Widget_Record; |
Height | : Gint; | |
Minimum_Width | : out Gint; | |
Natural_Width | : out Gint); |
function Get_Realized
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_Realized
( | Widget | : not null access Gtk_Widget_Record; |
Realized | : Boolean); |
function Get_Receives_Default
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_Receives_Default
( | Widget | : not null access Gtk_Widget_Record; |
Receives_Default | : Boolean); |
function Get_Request_Mode
( | Widget | : not null access Gtk_Widget_Record) return Gtk.Enums.Gtk_Size_Request_Mode; |
procedure Get_Requisition
( | Widget | : not null access Gtk_Widget_Record; |
Requisition | : out Gtk_Requisition); |
function Get_Root_Window
( | Widget | : not null access Gtk_Widget_Record) return Gdk.Gdk_Window; |
function Get_Screen
( | Widget | : not null access Gtk_Widget_Record) return Gdk.Screen.Gdk_Screen; |
function Get_Sensitive
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_Sensitive
( | Widget | : not null access Gtk_Widget_Record; |
Sensitive | : Boolean := True); |
procedure Get_Size_Request
( | Widget | : not null access Gtk_Widget_Record; |
Width | : out Gint; | |
Height | : out Gint); |
procedure Set_Size_Request
( | Widget | : not null access Gtk_Widget_Record; |
Width | : Gint := -1; | |
Height | : Gint := -1); |
procedure Size_Request
( | Widget | : not null access Gtk_Widget_Record; |
Requisition | : out Gtk_Requisition); |
function Get_State
( | Widget | : not null access Gtk_Widget_Record) return Gtk.Enums.Gtk_State_Type; |
procedure Set_State
( | Widget | : not null access Gtk_Widget_Record; |
State | : Gtk.Enums.Gtk_State_Type); |
function Get_State_Flags
( | Widget | : not null access Gtk_Widget_Record) return Gtk.Enums.Gtk_State_Flags; |
procedure Set_State_Flags
( | Widget | : not null access Gtk_Widget_Record; |
Flags | : Gtk.Enums.Gtk_State_Flags; | |
Clear | : Boolean); |
function Get_Style
( | Widget | : not null access Gtk_Widget_Record) return Gtk.Style.Gtk_Style; |
procedure Set_Style
( | Widget | : not null access Gtk_Widget_Record; |
Style | : access Gtk.Style.Gtk_Style_Record'Class); |
function Get_Support_Multidevice
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_Support_Multidevice
( | Widget | : not null access Gtk_Widget_Record; |
Support_Multidevice | : Boolean); |
function Get_Tooltip_Markup
( | Widget | : not null access Gtk_Widget_Record) return UTF8_String; |
procedure Set_Tooltip_Markup
( | Widget | : not null access Gtk_Widget_Record; |
Markup | : UTF8_String := ""); |
function Get_Tooltip_Text
( | Widget | : not null access Gtk_Widget_Record) return UTF8_String; |
procedure Set_Tooltip_Text
( | Widget | : not null access Gtk_Widget_Record; |
Text | : UTF8_String := ""); |
function Get_Tooltip_Window
( | Widget | : not null access Gtk_Widget_Record) return Gtk_Widget; |
procedure Set_Tooltip_Window
( | Widget | : not null access Gtk_Widget_Record; |
Custom_Window | : access Gtk_Widget_Record'Class); |
function Get_Toplevel
( | Widget | : not null access Gtk_Widget_Record) return Gtk_Widget; |
function Get_Valign
( | Widget | : not null access Gtk_Widget_Record) return Gtk_Align; |
procedure Set_Valign
( | Widget | : not null access Gtk_Widget_Record; |
Align | : Gtk_Align); |
function Get_Vexpand
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_Vexpand
( | Widget | : not null access Gtk_Widget_Record; |
Expand | : Boolean); |
function Get_Vexpand_Set
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_Vexpand_Set
( | Widget | : not null access Gtk_Widget_Record; |
Set | : Boolean); |
function Get_Visible
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Set_Visible
( | Widget | : not null access Gtk_Widget_Record; |
Visible | : Boolean); |
function Get_Visual
( | Widget | : not null access Gtk_Widget_Record) return Gdk.Visual.Gdk_Visual; |
procedure Set_Visual
( | Widget | : not null access Gtk_Widget_Record; |
Visual | : Gdk.Visual.Gdk_Visual); |
function Get_Window
( | Widget | : not null access Gtk_Widget_Record) return Gdk.Gdk_Window; |
procedure Set_Window
( | Widget | : not null access Gtk_Widget_Record; |
Window | : Gdk.Gdk_Window); |
procedure Grab_Add
( | Widget | : not null access Gtk_Widget_Record); |
procedure Grab_Default
( | Widget | : not null access Gtk_Widget_Record); |
procedure Grab_Focus
( | Widget | : not null access Gtk_Widget_Record); |
procedure Grab_Remove
( | Widget | : not null access Gtk_Widget_Record); |
function Has_Default
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
function Has_Focus
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
function Has_Grab
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
function Has_Rc_Style
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
function Has_Screen
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
function Has_Visible_Focus
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Hide
( | Widget | : not null access Gtk_Widget_Record); |
function Hide_On_Delete
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
function In_Destruction
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
procedure Input_Shape_Combine_Region
( | Widget | : not null access Gtk_Widget_Record; |
Region | : Cairo.Region.Cairo_Region); |
function Intersect
( | Widget | : not null access Gtk_Widget_Record; |
Area | : Gdk.Rectangle.Gdk_Rectangle; | |
Intersection | : access Gdk.Rectangle.Gdk_Rectangle) return Boolean; |
function Is_Ancestor
( | Widget | : not null access Gtk_Widget_Record; |
Ancestor | : not null access Gtk_Widget_Record'Class) return Boolean; |
function Is_Composited
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
function Is_Drawable
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
function Is_Focus
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
function Is_Sensitive
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
function Is_Toplevel
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
function Is_Visible
( | Widget | : not null access Gtk_Widget_Record) return Boolean; |
function Keynav_Failed
( | Widget | : not null access Gtk_Widget_Record; |
Direction | : Gtk.Enums.Gtk_Direction_Type) return Boolean; |
function List_Mnemonic_Labels
( | Widget | : not null access Gtk_Widget_Record) return Widget_List.Glist; |
procedure Map
( | Widget | : not null access Gtk_Widget_Record); |
function Mnemonic_Activate
( | Widget | : not null access Gtk_Widget_Record; |
Group_Cycling | : Boolean) return Boolean; |
procedure Modify_Base
( | Widget | : not null access Gtk_Widget_Record; |
State | : Gtk.Enums.Gtk_State_Type; | |
Color | : Gdk.Color.Gdk_Color); |
procedure Modify_Bg
( | Widget | : not null access Gtk_Widget_Record; |
State | : Gtk.Enums.Gtk_State_Type; | |
Color | : Gdk.Color.Gdk_Color); |
procedure Modify_Cursor
( | Widget | : not null access Gtk_Widget_Record; |
Primary | : Gdk.Color.Gdk_Color; | |
Secondary | : Gdk.Color.Gdk_Color); |
procedure Modify_Fg
( | Widget | : not null access Gtk_Widget_Record; |
State | : Gtk.Enums.Gtk_State_Type; | |
Color | : Gdk.Color.Gdk_Color); |
procedure Modify_Font
( | Widget | : not null access Gtk_Widget_Record; |
Font_Desc | : Pango.Font.Pango_Font_Description); |
procedure Modify_Text
( | Widget | : not null access Gtk_Widget_Record; |
State | : Gtk.Enums.Gtk_State_Type; | |
Color | : Gdk.Color.Gdk_Color); |
procedure Override_Background_Color
( | Widget | : not null access Gtk_Widget_Record; |
State | : Gtk.Enums.Gtk_State_Flags; | |
Color | : Gdk.RGBA.Gdk_RGBA); |
procedure Override_Color
( | Widget | : not null access Gtk_Widget_Record; |
State | : Gtk.Enums.Gtk_State_Flags; | |
Color | : Gdk.RGBA.Gdk_RGBA); |
procedure Override_Cursor
( | Widget | : not null access Gtk_Widget_Record; |
Cursor | : Gdk.RGBA.Gdk_RGBA; | |
Secondary_Cursor | : Gdk.RGBA.Gdk_RGBA); |
procedure Override_Font
( | Widget | : not null access Gtk_Widget_Record; |
Font_Desc | : Pango.Font.Pango_Font_Description); |
procedure Override_Symbolic_Color
( | Widget | : not null access Gtk_Widget_Record; |
Name | : UTF8_String; | |
Color | : Gdk.RGBA.Gdk_RGBA); |
procedure Queue_Compute_Expand
( | Widget | : not null access Gtk_Widget_Record); |
procedure Queue_Draw
( | Widget | : not null access Gtk_Widget_Record); |
procedure Queue_Draw_Area
( | Widget | : not null access Gtk_Widget_Record; |
X | : Gint; | |
Y | : Gint; | |
Width | : Gint; | |
Height | : Gint); |
procedure Queue_Draw_Region
( | Widget | : not null access Gtk_Widget_Record; |
Region | : Cairo.Region.Cairo_Region); |
procedure Queue_Resize
( | Widget | : not null access Gtk_Widget_Record); |
procedure Queue_Resize_No_Redraw
( | Widget | : not null access Gtk_Widget_Record); |
procedure Realize
( | Widget | : not null access Gtk_Widget_Record); |
function Region_Intersect
( | Widget | : not null access Gtk_Widget_Record; |
Region | : Cairo.Region.Cairo_Region) return Cairo.Region.Cairo_Region; |
procedure Register_Window
( | Widget | : not null access Gtk_Widget_Record; |
Window | : Gdk.Gdk_Window); |
function Remove_Accelerator
( | Widget | : not null access Gtk_Widget_Record; |
Accel_Group | : not null access Gtk.Accel_Group.Gtk_Accel_Group_Record'Class; | |
Accel_Key | : Gdk.Types.Gdk_Key_Type; | |
Accel_Mods | : Gdk.Types.Gdk_Modifier_Type) return Boolean; |
procedure Remove_Mnemonic_Label
( | Widget | : not null access Gtk_Widget_Record; |
Label | : not null access Gtk_Widget_Record'Class); |
procedure Remove_Tick_Callback
( | Widget | : not null access Gtk_Widget_Record; |
Id | : Guint); |
function Render_Icon
( | Widget | : not null access Gtk_Widget_Record; |
Stock_Id | : UTF8_String; | |
Size | : Gtk.Enums.Gtk_Icon_Size; | |
Detail | : UTF8_String := "") return Gdk.Pixbuf.Gdk_Pixbuf; |
function Render_Icon_Pixbuf
( | Widget | : not null access Gtk_Widget_Record; |
Stock_Id | : UTF8_String; | |
Size | : Gtk.Enums.Gtk_Icon_Size) return Gdk.Pixbuf.Gdk_Pixbuf; |
procedure Reparent
( | Widget | : not null access Gtk_Widget_Record; |
New_Parent | : not null access Gtk_Widget_Record'Class); |
procedure Reset_Rc_Styles
( | Widget | : not null access Gtk_Widget_Record); |
procedure Reset_Style
( | Widget | : not null access Gtk_Widget_Record); |
function Send_Expose
( | Widget | : not null access Gtk_Widget_Record; |
Event | : Gdk.Event.Gdk_Event) return Gint; |
function Send_Focus_Change
( | Widget | : not null access Gtk_Widget_Record; |
Event | : Gdk.Event.Gdk_Event) return Boolean; |
procedure Set_Accel_Path
( | Widget | : not null access Gtk_Widget_Record; |
Accel_Path | : UTF8_String := ""; | |
Accel_Group | : access Gtk.Accel_Group.Gtk_Accel_Group_Record'Class); |
procedure Set_Redraw_On_Allocate
( | Widget | : not null access Gtk_Widget_Record; |
Redraw_On_Allocate | : Boolean); |
procedure Shape_Combine_Region
( | Widget | : not null access Gtk_Widget_Record; |
Region | : Cairo.Region.Cairo_Region); |
procedure Show
( | Widget | : not null access Gtk_Widget_Record); |
procedure Show_All
( | Widget | : not null access Gtk_Widget_Record); |
procedure Show_Now
( | Widget | : not null access Gtk_Widget_Record); |
procedure Size_Allocate
( | Widget | : not null access Gtk_Widget_Record; |
Allocation | : Gtk_Allocation); |
procedure Style_Attach
( | Widget | : not null access Gtk_Widget_Record); |
procedure Style_Get_Property
( | Widget | : not null access Gtk_Widget_Record; |
Property_Name | : UTF8_String; | |
Value | : in out Glib.Values.GValue); |
procedure Thaw_Child_Notify
( | Widget | : not null access Gtk_Widget_Record); |
procedure Translate_Coordinates
( | Widget | : not null access Gtk_Widget_Record; |
Dest_Widget | : not null access Gtk_Widget_Record'Class; | |
Src_X | : Gint; | |
Src_Y | : Gint; | |
Dest_X | : out Gint; | |
Dest_Y | : out Gint; | |
Result | : out Boolean); |
procedure Trigger_Tooltip_Query
( | Widget | : not null access Gtk_Widget_Record); |
procedure Unmap
( | Widget | : not null access Gtk_Widget_Record); |
procedure Unparent
( | Widget | : not null access Gtk_Widget_Record); |
procedure Unrealize
( | Widget | : not null access Gtk_Widget_Record); |
procedure Unregister_Window
( | Widget | : not null access Gtk_Widget_Record; |
Window | : Gdk.Gdk_Window); |
procedure Unset_State_Flags
( | Widget | : not null access Gtk_Widget_Record; |
Flags | : Gtk.Enums.Gtk_State_Flags); |
function Find_Style_Property
( | Self | : GObject_Class; |
Property_Name | : UTF8_String) return Glib.Param_Spec; |
procedure Install_Style_Property
( | Self | : GObject_Class; |
Pspec | : Glib.Param_Spec); |
function Get_Requisition
( | Value | : Glib.Values.GValue) return Gtk_Requisition_Access; |
function Get_Allocation
( | Value | : Glib.Values.GValue) return Gtk_Allocation_Access; |
procedure Set_Default_Size_Allocate_Handler
( | Klass | : Glib.Object.Ada_GObject_Class; |
Handler | : Size_Allocate_Handler); |
procedure Set_Default_Get_Preferred_Width_Handler
( | Klass | : Glib.Object.Ada_GObject_Class; |
Handler | : Preferred_Size_Handler); |
procedure Set_Default_Get_Preferred_Height_Handler
( | Klass | : Glib.Object.Ada_GObject_Class; |
Handler | : Preferred_Size_Handler); |
procedure Inherited_Get_Preferred_Width
( | Klass | : Ada_GObject_Class; |
Widget | : access Gtk_Widget_Record'Class; | |
Minimum_Size, Natural_Size | : out Glib.Gint); |
procedure Inherited_Get_Preferred_Height
( | Klass | : Ada_GObject_Class; |
Widget | : access Gtk_Widget_Record'Class; | |
Minimum_Size, Natural_Size | : out Glib.Gint); |
procedure Inherited_Size_Allocate
( | Klass | : Ada_GObject_Class; |
Widget | : access Gtk_Widget_Record'Class; | |
Allocation | : Gtk_Allocation); |
generic with function Draw
( | W | : access Gtk_Widget_Record'Class; |
Cr | : Cairo.Cairo_Context) return Boolean; | |
function Proxy_Draw (W | : System.Address; | |
Cr | : Cairo.Cairo_Context) return Gboolean; |
procedure Set_Default_Draw_Handler
( | Klass | : Glib.Object.Ada_GObject_Class; |
Handler | : Draw_Handler); |
function Inherited_Draw
( | Klass | : Ada_GObject_Class; |
Widget | : access Gtk_Widget_Record'Class; | |
Cr | : Cairo.Cairo_Context) return Boolean; |
function Get_Default_Direction return Gtk.Enums.Gtk_Text_Direction;
procedure Set_Default_Direction
( | Dir | : Gtk.Enums.Gtk_Text_Direction); |
function Get_Default_Style return Gtk.Style.Gtk_Style;
procedure Pop_Composite_Child;
procedure Push_Composite_Child;
procedure Transform_To_Window
( | Cr | : Cairo.Cairo_Context; |
Widget | : not null access Gtk_Widget_Record'Class; | |
Window | : Gdk.Gdk_Window); |
function Should_Draw_Window
( | Cr | : Cairo.Cairo_Context; |
Window | : Gdk.Gdk_Window) return Boolean; |
procedure On_Accel_Closures_Changed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Void; | |
After | : Boolean := False); |
procedure On_Accel_Closures_Changed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Button_Press_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Button_Boolean; | |
After | : Boolean := False); |
procedure On_Button_Press_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Button_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Button_Release_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Button_Boolean; | |
After | : Boolean := False); |
procedure On_Button_Release_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Button_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Can_Activate_Accel
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Guint_Boolean; | |
After | : Boolean := False); |
procedure On_Can_Activate_Accel
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Guint_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Child_Notify
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Param_Spec_Void; | |
After | : Boolean := False); |
procedure On_Child_Notify
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Param_Spec_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Composited_Changed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Void; | |
After | : Boolean := False); |
procedure On_Composited_Changed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Configure_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Configure_Boolean; | |
After | : Boolean := False); |
procedure On_Configure_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Configure_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Damage_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Expose_Boolean; | |
After | : Boolean := False); |
procedure On_Damage_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Expose_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Delete_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Boolean; | |
After | : Boolean := False); |
procedure On_Delete_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Destroy
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Void; | |
After | : Boolean := False); |
procedure On_Destroy
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Destroy_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Boolean; | |
After | : Boolean := False); |
procedure On_Destroy_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Direction_Changed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gtk_Text_Direction_Void; | |
After | : Boolean := False); |
procedure On_Direction_Changed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gtk_Text_Direction_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Drag_Begin
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Drag_Context_Void; | |
After | : Boolean := False); |
procedure On_Drag_Begin
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Drag_Context_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Drag_Data_Delete
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Drag_Context_Void; | |
After | : Boolean := False); |
procedure On_Drag_Data_Delete
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Drag_Context_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Drag_Data_Get
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Drag_Context_Gtk_Selection_Data_Guint_Guint_Void; | |
After | : Boolean := False); |
procedure On_Drag_Data_Get
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Drag_Context_Gtk_Selection_Data_Guint_Guint_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Drag_Data_Received
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Drag_Context_Gint_Gint_Gtk_Selection_Data_Guint_Guint_Void; | |
After | : Boolean := False); |
procedure On_Drag_Data_Received
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Drag_Context_Gint_Gint_Gtk_Selection_Data_Guint_Guint_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Drag_Drop
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Drag_Context_Gint_Gint_Guint_Boolean; | |
After | : Boolean := False); |
procedure On_Drag_Drop
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Drag_Context_Gint_Gint_Guint_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Drag_End
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Drag_Context_Void; | |
After | : Boolean := False); |
procedure On_Drag_End
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Drag_Context_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Drag_Failed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Drag_Context_Gtk_Drag_Result_Boolean; | |
After | : Boolean := False); |
procedure On_Drag_Failed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Drag_Context_Gtk_Drag_Result_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Drag_Leave
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Drag_Context_Guint_Void; | |
After | : Boolean := False); |
procedure On_Drag_Leave
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Drag_Context_Guint_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Drag_Motion
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Drag_Context_Gint_Gint_Guint_Boolean; | |
After | : Boolean := False); |
procedure On_Drag_Motion
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Drag_Context_Gint_Gint_Guint_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Draw
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Cairo_Context_Boolean; | |
After | : Boolean := False); |
procedure On_Draw
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Cairo_Context_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Enter_Notify_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Crossing_Boolean; | |
After | : Boolean := False); |
procedure On_Enter_Notify_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Crossing_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Boolean; | |
After | : Boolean := False); |
procedure On_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Event_After
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Void; | |
After | : Boolean := False); |
procedure On_Event_After
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Focus
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gtk_Direction_Type_Boolean; | |
After | : Boolean := False); |
procedure On_Focus
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gtk_Direction_Type_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Focus_In_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Focus_Boolean; | |
After | : Boolean := False); |
procedure On_Focus_In_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Focus_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Focus_Out_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Focus_Boolean; | |
After | : Boolean := False); |
procedure On_Focus_Out_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Focus_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Grab_Broken_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Grab_Broken_Boolean; | |
After | : Boolean := False); |
procedure On_Grab_Broken_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Grab_Broken_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Grab_Focus
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Void; | |
After | : Boolean := False); |
procedure On_Grab_Focus
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Grab_Notify
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Boolean_Void; | |
After | : Boolean := False); |
procedure On_Grab_Notify
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Boolean_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Hide
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Void; | |
After | : Boolean := False); |
procedure On_Hide
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Hierarchy_Changed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gtk_Widget_Void; | |
After | : Boolean := False); |
procedure On_Hierarchy_Changed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gtk_Widget_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Key_Press_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Key_Boolean; | |
After | : Boolean := False); |
procedure On_Key_Press_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Key_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Key_Release_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Key_Boolean; | |
After | : Boolean := False); |
procedure On_Key_Release_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Key_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Keynav_Failed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gtk_Direction_Type_Boolean; | |
After | : Boolean := False); |
procedure On_Keynav_Failed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gtk_Direction_Type_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Leave_Notify_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Crossing_Boolean; | |
After | : Boolean := False); |
procedure On_Leave_Notify_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Crossing_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Map
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Void; | |
After | : Boolean := False); |
procedure On_Map
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Map_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Any_Boolean; | |
After | : Boolean := False); |
procedure On_Map_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Any_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Mnemonic_Activate
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Boolean_Boolean; | |
After | : Boolean := False); |
procedure On_Mnemonic_Activate
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Boolean_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Motion_Notify_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Motion_Boolean; | |
After | : Boolean := False); |
procedure On_Motion_Notify_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Motion_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Move_Focus
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gtk_Direction_Type_Void; | |
After | : Boolean := False); |
procedure On_Move_Focus
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gtk_Direction_Type_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Parent_Set
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gtk_Widget_Void; | |
After | : Boolean := False); |
procedure On_Parent_Set
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gtk_Widget_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Popup_Menu
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Boolean; | |
After | : Boolean := False); |
procedure On_Popup_Menu
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Property_Notify_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Property_Boolean; | |
After | : Boolean := False); |
procedure On_Property_Notify_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Property_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Proximity_In_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Proximity_Boolean; | |
After | : Boolean := False); |
procedure On_Proximity_In_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Proximity_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Proximity_Out_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Proximity_Boolean; | |
After | : Boolean := False); |
procedure On_Proximity_Out_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Proximity_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Query_Tooltip
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gint_Gint_Boolean_GObject_Boolean; | |
After | : Boolean := False); |
procedure On_Query_Tooltip
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gint_Gint_Boolean_GObject_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Realize
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Void; | |
After | : Boolean := False); |
procedure On_Realize
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Screen_Changed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Screen_Void; | |
After | : Boolean := False); |
procedure On_Screen_Changed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Screen_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Scroll_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Scroll_Boolean; | |
After | : Boolean := False); |
procedure On_Scroll_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Scroll_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Selection_Clear_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Selection_Boolean; | |
After | : Boolean := False); |
procedure On_Selection_Clear_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Selection_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Selection_Get
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gtk_Selection_Data_Guint_Guint_Void; | |
After | : Boolean := False); |
procedure On_Selection_Get
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gtk_Selection_Data_Guint_Guint_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Selection_Notify_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Selection_Boolean; | |
After | : Boolean := False); |
procedure On_Selection_Notify_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Selection_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Selection_Received
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gtk_Selection_Data_Guint_Void; | |
After | : Boolean := False); |
procedure On_Selection_Received
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gtk_Selection_Data_Guint_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Selection_Request_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Selection_Boolean; | |
After | : Boolean := False); |
procedure On_Selection_Request_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Selection_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Show
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Void; | |
After | : Boolean := False); |
procedure On_Show
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Show_Help
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gtk_Widget_Help_Type_Boolean; | |
After | : Boolean := False); |
procedure On_Show_Help
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gtk_Widget_Help_Type_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Size_Allocate
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Cairo_Rectangle_Int_Void; | |
After | : Boolean := False); |
procedure On_Size_Allocate
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Cairo_Rectangle_Int_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_State_Changed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gtk_State_Type_Void; | |
After | : Boolean := False); |
procedure On_State_Changed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gtk_State_Type_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_State_Flags_Changed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gtk_State_Flags_Void; | |
After | : Boolean := False); |
procedure On_State_Flags_Changed
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gtk_State_Flags_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Style_Set
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gtk_Style_Void; | |
After | : Boolean := False); |
procedure On_Style_Set
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gtk_Style_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Style_Updated
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Void; | |
After | : Boolean := False); |
procedure On_Style_Updated
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Touch_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Boolean; | |
After | : Boolean := False); |
procedure On_Touch_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Unmap
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Void; | |
After | : Boolean := False); |
procedure On_Unmap
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Unmap_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Any_Boolean; | |
After | : Boolean := False); |
procedure On_Unmap_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Any_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Unrealize
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Void; | |
After | : Boolean := False); |
procedure On_Unrealize
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Visibility_Notify_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Visibility_Boolean; | |
After | : Boolean := False); |
procedure On_Visibility_Notify_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Visibility_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Window_State_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_Gtk_Widget_Gdk_Event_Window_State_Boolean; | |
After | : Boolean := False); |
procedure On_Window_State_Event
( | Self | : not null access Gtk_Widget_Record; |
Call | : Cb_GObject_Gdk_Event_Window_State_Boolean; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
GtkWidget is the base class all widgets in GTK+ derive from. It manages the widget lifecycle, states and style. == Height-for-width Geometry Management == GTK+ uses a height-for-width (and width-for-height) geometry management system. Height-for-width means that a widget can change how much vertical space it needs, depending on the amount of horizontal space that it is given (and similar for width-for-height). The most common example is a label that reflows to fill up the available width, wraps to fewer lines, and therefore needs less height.
Height-for-width geometry management is implemented in GTK+ by way of five virtual methods: * Gtk.Widget.GObject_Class.get_request_mode * Gtk.Widget.GObject_Class.get_preferred_width * Gtk.Widget.GObject_Class.get_preferred_height * Gtk.Widget.GObject_Class.get_preferred_height_for_width * Gtk.Widget.GObject_Class.get_preferred_width_for_height There are some important things to keep in mind when implementing height-for-width and when using it in container implementations.
The geometry management system will query a widget hierarchy in only one orientation at a time. When widgets are initially queried for their minimum sizes it is generally done in two initial passes in the Gtk.Enums.Gtk_Size_Request_Mode chosen by the toplevel.
For example, when queried in the normal Gtk.Enums.Height_For_Width mode: First, the default minimum and natural width for each widget in the interface will be computed using Gtk.Widget.Get_Preferred_Width. Because the preferred widths for each container depend on the preferred widths of their children, this information propagates up the hierarchy, and finally a minimum and natural width is determined for the entire toplevel. Next, the toplevel will use the minimum width to query for the minimum height contextual to that width using Gtk.Widget.Get_Preferred_Height_For_Width, which will also be a highly recursive operation. The minimum height for the minimum width is normally used to set the minimum size constraint on the toplevel (unless Gtk.Window.Set_Geometry_Hints is explicitly used instead).
After the toplevel window has initially requested its size in both dimensions it can go on to allocate itself a reasonable size (or a size previously specified with Gtk.Window.Set_Default_Size). During the recursive allocation process it's important to note that request cycles will be recursively executed while container widgets allocate their children. Each container widget, once allocated a size, will go on to first share the space in one orientation among its children and then request each child's height for its target allocated width or its width for allocated height, depending. In this way a Gtk.Widget.Gtk_Widget will typically be requested its size a number of times before actually being allocated a size. The size a widget is finally allocated can of course differ from the size it has requested. For this reason, Gtk.Widget.Gtk_Widget caches a small number of results to avoid re-querying for the same sizes in one allocation cycle.
See <link linkend="container-geometry-management">GtkContainer's geometry management section</link> to learn more about how height-for-width allocations are performed by container widgets.
If a widget does move content around to intelligently use up the allocated size then it must support the request in both Gtk_Size_Request_Modes even if the widget in question only trades sizes in a single orientation.
For instance, a Gtk.Label.Gtk_Label that does height-for-width word wrapping will not expect to have Gtk.Widget.GObject_Class.get_preferred_height called because that call is specific to a width-for-height request. In this case the label must return the height required for its own minimum possible width. By following this rule any widget that handles height-for-width or width-for-height requests will always be allocated at least enough space to fit its own content.
Here are some examples of how a Gtk.Enums.Height_For_Width widget generally deals with width-for-height requests, for Gtk.Widget.GObject_Class.get_preferred_height it will do: static void foo_widget_get_preferred_height (GtkWidget *widget, gint *min_height, gint *nat_height) { if (i_am_in_height_for_width_mode) { gint min_width; GTK_WIDGET_GET_CLASS (widget)->get_preferred_width (widget, &min_width, NULL); GTK_WIDGET_GET_CLASS (widget)->get_preferred_height_for_width (widget, min_width, min_height, nat_height); } else { ... some widgets do both. For instance, if a GtkLabel is rotated to 90 degrees it will return the minimum and natural height for the rotated label here. } } And in Gtk.Widget.GObject_Class.get_preferred_width_for_height it will simply return the minimum and natural width: static void foo_widget_get_preferred_width_for_height (GtkWidget *widget, gint for_height, gint *min_width, gint *nat_width) { if (i_am_in_height_for_width_mode) { GTK_WIDGET_GET_CLASS (widget)->get_preferred_width (widget, min_width, nat_width); } else { ... again if a widget is sometimes operating in width-for-height mode (like a rotated GtkLabel) it can go ahead and do its real width for height calculation here. } } Often a widget needs to get its own request during size request or allocation. For example, when computing height it may need to also compute width. Or when deciding how to use an allocation, the widget may need to know its natural size. In these cases, the widget should be careful to call its virtual methods directly, like this: == Widget calling its own size request method. == GTK_WIDGET_GET_CLASS(widget)->get_preferred_width (widget), &min, &natural); It will not work to use the wrapper functions, such as Gtk.Widget.Get_Preferred_Width inside your own size request implementation.
These return a request adjusted by Gtk.Size_Group.Gtk_Size_Group and by the Gtk.Widget.GObject_Class.adjust_size_request virtual method. If a widget used the wrappers inside its virtual method implementations, then the adjustments (such as widget margins) would be applied twice. GTK+ therefore does not allow this and will warn if you try to do it.
Of course if you are getting the size request for *another* widget, such as a child of a container, you *must* use the wrapper APIs. Otherwise, you would not properly consider widget margins, Gtk.Size_Group.Gtk_Size_Group, and so forth. == Style Properties == <structname>GtkWidget</structname> introduces 'style properties' - these are basically object properties that are stored not on the object, but in the style object associated to the widget. Style properties are set in <link linkend="gtk-Resource-Files">resource files</link>. This mechanism is used for configuring such things as the location of the scrollbar arrows through the theme, giving theme authors more control over the look of applications without the need to write a theme engine in C.
Use Gtk.Widget.Install_Style_Property to install style properties for a widget class, Gtk.Widget.Find_Style_Property or gtk_widget_class_list_style_properties to get information about existing style properties and Gtk.Widget.Style_Get_Property, gtk_widget_style_get or gtk_widget_style_get_valist to obtain the value of a style property. == GtkWidget as GtkBuildable == The GtkWidget implementation of the GtkBuildable interface supports a custom <accelerator> element, which has attributes named key, modifiers and signal and allows to specify accelerators. == A UI definition fragment specifying an accelerator == <object class="GtkButton"> <accelerator key="q" modifiers="GDK_CONTROL_MASK" signal="clicked"/> </object> In addition to accelerators, <structname>GtkWidget</structname> also support a custom <accessible> element, which supports actions and relations. Properties on the accessible implementation of an object can be set by accessing the internal child "accessible" of a <structname>GtkWidget</structname>. == A UI definition fragment specifying an accessible == <object class="GtkButton" id="label1"/> <property name="label">I am a Label for a Button</property> </object> <object class="GtkButton" id="button1"> <accessibility> <action action_name="click" translatable="yes">Click the button.</action> <relation target="label1" type="labelled-by"/> </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="a11y-button1"> <property name="accessible-name">Clickable Button</property> </object> </child> </object> Finally, GtkWidget allows style information such as style classes to be associated with widgets, using the custom <style> element: == A UI definition fragment specifying an style class == <object class="GtkButton" id="button1"> <style> <class name="my-special-button-class"/> <class name="dark-button"/> </style> </object>