subtype Gtk_Args is Glib.Values.GValues;
function Make_Args
( | Nb | : Guint; |
Args | : System.Address) return Gtk_Args renames Glib.Values.Make_Values; |
function To_Boolean
( | Args | : Gtk_Args; |
Num | : Positive) return Boolean; |
function To_Event
( | Args | : Gtk_Args; |
Num | : Positive) return Gdk.Event.Gdk_Event; |
function To_String
( | Args | : Gtk_Args; |
Num | : Positive) return UTF8_String; |
function To_Notebook_Page
( | Args | : Gtk_Args; |
Num | : Positive) return Gtk_Notebook_Page; |
function To_Address
( | Args | : Gtk_Args; |
Num | : Positive) return System.Address; |
function To_C_Proxy
( | Args | : Gtk_Args; |
Num | : Positive) return Gdk.C_Proxy; |
function To_Object
( | Args | : Gtk_Args; |
Num | : Positive) return Glib.Object.GObject; |
function To_Requisition
( | Args | : Gtk_Args; |
Num | : Positive) return Gtk.Widget.Gtk_Requisition_Access; |
function To_Allocation
( | Args | : Gtk_Args; |
Num | : Positive) return Gtk.Widget.Gtk_Allocation_Access; |
This package is obsolete and replaced by Glib.Values.
Future versions of GtkAda will no longer provide this package.
This package provides a convenient interface to C, providing easy conversion from a C's (void*) pointer to any Ada type used in GtkAda. Although this package has been designed to be easily reusable by being as general as possible, these functions are mainly used when writing callbacks and/or marshallers (see Gtk.Marshallers and Gtk.Handlers).
Therefore, the main type in this package is Gtk_Args, which is the equivalent of the C's (GtkArg*) array, i.e an array of unions. This package provides functions to extract the values from this type.
Binding from C File version 2.8.17