<doc_ignore>Do not create automatic documentation for this package
subtype Gtk_Args is Glib.Values.GValues;
This type represents a table of arguments. Each argument of the table can be of any type. You can access them through one of the To_* functions found below. The index of the first element is always 1.
function Make_Args
(Nb : Guint; Args : Glib.Values.C_GValues) return Gtk_Args
Build a Gtk_Args structure from the given C array. Nb should be the number of elements in the Args array.
function To_Address (Args : Gtk_Args; Num : Positive) return System.Address
This function can return null, if the C object was not created.
function To_Allocation
(Args : Gtk_Args; Num : Positive) return Gtk.Widget.Gtk_Allocation_Access
function To_Boolean (Args : Gtk_Args; Num : Positive) return Boolean
This function can return null, if the C object was not created.
function To_C_Proxy (Args : Gtk_Args; Num : Positive) return Glib.C_Proxy
This function can return null, if the C object was not created.
function To_Event (Args : Gtk_Args; Num : Positive)
return Gdk.Event.Gdk_Event
This function can return null, if the C object was not created.
function To_Gint (Args : Gtk_Args; Num : Positive) return Gint
This function can return null, if the C object was not created.
function To_Guint (Args : Gtk_Args; Num : Positive) return Guint
This function can return null, if the C object was not created.
function To_Notebook_Page
(Args : Gtk_Args; Num : Positive) return Gtk_Notebook_Page
This function can return null, if the C object was not created.
function To_Object
(Args : Gtk_Args; Num : Positive) return Glib.Object.GObject
This function can return null, if the C object was not created.
function To_Requisition (Args : Gtk_Args; Num : Positive)
return Gtk.Widget.Gtk_Requisition_Access
function To_String (Args : Gtk_Args; Num : Positive) return UTF8_String
This function can return null, if the C object was not created.
function Unchecked_To_Address
(Args : Glib.Values.C_GValues; Num : Guint) return System.Address
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Boolean
(Args : Glib.Values.C_GValues; Num : Guint) return Boolean
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Cairo_Context
(Args : Glib.Values.C_GValues; Num : Guint)
return Cairo.Cairo_Context
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Cairo_Rectangle_Int
(Args : Glib.Values.C_GValues; Num : Guint)
return Cairo.Region.Cairo_Rectangle_Int
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Cairo_Rectangle_Int_Access
(Args : Glib.Values.C_GValues; Num : Guint)
return access Cairo.Region.Cairo_Rectangle_Int
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Context_Id
(Args : Glib.Values.C_GValues; Num : Guint)
return Gtk.Status_Bar.Context_Id
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Drag_Action
is new Glib.Values.Unsafe_Enum_Nth (Gdk.Drag_Contexts.Gdk_Drag_Action);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Drag_Cancel_Reason
is new Glib.Values.Unsafe_Enum_Nth
(Gdk.Drag_Contexts.Gdk_Drag_Cancel_Reason);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event
is new Glib.Values.Unsafe_Proxy_Nth (Gdk.Event.Gdk_Event);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event_Any
is new Glib.Values.Unsafe_Proxy_Nth (Gdk.Event.Gdk_Event_Any);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event_Button
is new Glib.Values.Unsafe_Proxy_Nth (Gdk.Event.Gdk_Event_Button);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event_Configure
is new Glib.Values.Unsafe_Proxy_Nth (Gdk.Event.Gdk_Event_Configure);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event_Crossing
is new Glib.Values.Unsafe_Proxy_Nth (Gdk.Event.Gdk_Event_Crossing);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event_Expose
is new Glib.Values.Unsafe_Proxy_Nth (Gdk.Event.Gdk_Event_Expose);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event_Focus
is new Glib.Values.Unsafe_Proxy_Nth (Gdk.Event.Gdk_Event_Focus);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event_Grab_Broken
is new Glib.Values.Unsafe_Proxy_Nth (Gdk.Event.Gdk_Event_Grab_Broken);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event_Key
is new Glib.Values.Unsafe_Proxy_Nth (Gdk.Event.Gdk_Event_Key);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event_Motion
is new Glib.Values.Unsafe_Proxy_Nth (Gdk.Event.Gdk_Event_Motion);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event_Owner_Change
is new Glib.Values.Unsafe_Proxy_Nth (Gdk.Event.Gdk_Event_Owner_Change);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event_Property
is new Glib.Values.Unsafe_Proxy_Nth (Gdk.Event.Gdk_Event_Property);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event_Proximity
is new Glib.Values.Unsafe_Proxy_Nth (Gdk.Event.Gdk_Event_Proximity);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event_Scroll
is new Glib.Values.Unsafe_Proxy_Nth (Gdk.Event.Gdk_Event_Scroll);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event_Selection
is new Glib.Values.Unsafe_Proxy_Nth (Gdk.Event.Gdk_Event_Selection);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event_Sequence
(Args : Glib.Values.C_GValues; Num : Guint)
return Gdk.Event.Gdk_Event_Sequence
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event_Visibility
is new Glib.Values.Unsafe_Proxy_Nth (Gdk.Event.Gdk_Event_Visibility);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Event_Window_State
is new Glib.Values.Unsafe_Proxy_Nth (Gdk.Event.Gdk_Event_Window_State);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Key_Type
(Args : Glib.Values.C_GValues; Num : Guint) return Gdk.Types.Gdk_Key_Type
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Modifier_Type
is new Glib.Values.Unsafe_Enum_Nth (Gdk.Types.Gdk_Modifier_Type);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Rectangle
(Args : Glib.Values.C_GValues; Num : Guint)
return Gdk.Rectangle.Gdk_Rectangle
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_Rectangle_Access
(Args : Glib.Values.C_GValues; Num : Guint)
return access Gdk.Rectangle.Gdk_Rectangle
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdk_RGBA
(Args : Glib.Values.C_GValues; Num : Guint) return Gdk.RGBA.Gdk_RGBA
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdouble
(Args : Glib.Values.C_GValues; Num : Guint) return Gdouble
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gdouble_Access
(Args : Glib.Values.C_GValues; Num : Guint) return access Gdouble
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gint
(Args : Glib.Values.C_GValues; Num : Guint) return Gint
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gint_Access
(Args : Glib.Values.C_GValues; Num : Guint) return access Gint
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Allocation
(Args : Glib.Values.C_GValues; Num : Guint)
return Gtk.Widget.Gtk_Allocation
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Delete_Type
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Enums.Gtk_Delete_Type);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Direction_Type
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Enums.Gtk_Direction_Type);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Drag_Result
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Enums.Gtk_Drag_Result);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Entry_Icon_Position
(Args : Glib.Values.C_GValues; Num : Guint)
return Gtk.GEntry.Gtk_Entry_Icon_Position
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Event_Sequence_State
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Enums.Gtk_Event_Sequence_State);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Menu_Direction_Type
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Enums.Gtk_Menu_Direction_Type);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Movement_Step
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Enums.Gtk_Movement_Step);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Notebook_Tab
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Notebook.Gtk_Notebook_Tab);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Orientation
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Enums.Gtk_Orientation);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Pan_Direction
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Enums.Gtk_Pan_Direction);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Position_Type
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Enums.Gtk_Position_Type);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Print_Operation_Result
is new Glib.Values.Unsafe_Enum_Nth
(Gtk.Print_Operation.Gtk_Print_Operation_Result);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Response_Type
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Dialog.Gtk_Response_Type);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Scroll_Step
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Enums.Gtk_Scroll_Step);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Scroll_Type
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Enums.Gtk_Scroll_Type);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_State_Flags
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Enums.Gtk_State_Flags);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_State_Type
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Enums.Gtk_State_Type);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Text_Direction
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Enums.Gtk_Text_Direction);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Text_Extend_Selection
is new Glib.Values.Unsafe_Enum_Nth
(Gtk.Text_View.Gtk_Text_Extend_Selection);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Text_Iter
is new Glib.Values.Unsafe_Proxy_Nth (Gtk.Text_Iter.Gtk_Text_Iter);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Toolbar_Style
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Enums.Gtk_Toolbar_Style);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Tree_Iter
is new Glib.Values.Unsafe_Proxy_Nth (Gtk.Tree_Model.Gtk_Tree_Iter);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Tree_Model
is new Glib.Values.Unsafe_Proxy_Nth (Gtk.Tree_Model.Gtk_Tree_Model);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Gtk_Widget_Help_Type
is new Glib.Values.Unsafe_Enum_Nth (Gtk.Widget.Gtk_Widget_Help_Type);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Guint
(Args : Glib.Values.C_GValues; Num : Guint) return Guint
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Interface
(Args : Glib.Values.C_GValues; Num : Guint)
return Glib.Types.GType_Interface
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Object
(Args : Glib.Values.C_GValues; Num : Guint) return Glib.Object.GObject
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_Param_Spec
is new Glib.Values.Unsafe_Proxy_Nth (Glib.Param_Spec);
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.
function Unchecked_To_UTF8_String
(Args : Glib.Values.C_GValues; Num : Guint) return UTF8_String
Return the num-value (starting at 0) in Args. These functions are unsafe and do not check that Args contains at least Num values. The names are directly the ones needed by gtk+ as described in its GIR files, and as generated automatically by GtkAda.