Definition of the types and subprograms. You can ignore this section.
package Char_Properties is new
Generic_Internal_Discrete_Property (Glib.Gchar);
@private
function Get_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_Address) return System.Address
function Get_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_Boolean) return Boolean
function Get_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_C_Proxy) return C_Proxy
function Get_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_Double) return Gdouble
function Get_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_Float) return Gfloat
function Get_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_Interface) return Glib.Types.GType_Interface
function Get_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_Object) return Glib.Object.GObject
function Get_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_String) return String
function Get_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_String_RO) return String
procedure Get_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : String;
Value : in out Glib.Values.GValue)
Get the property. Value must have been initialized first with the expected type for the property, as in:
Value : GValue;
Init (Value, Value_Type (Pspec));
Get_Property (Object, Pspec_Name (Pspec), Value);
If you do not have a Param_Spec, this can be replaced with:
Init (Value, GType_Int);
Get_Property (Object, Property_Name (Property), Value);
Value must be Unset by the caller to free memory
package Int_Properties is new
Generic_Internal_Discrete_Property (Glib.Gint);
@private
package Long_Properties is new
Generic_Internal_Discrete_Property (Glib.Glong);
@private
type Property_Address is new Glib.Property;
type Property_Boolean is new Glib.Property;
type Property_Boxed is new Glib.Property;
type Property_C_Proxy is new Glib.Property;
type Property_Char is new Char_Properties.Property;
type Property_Char_RO is new Char_Properties.Property_RO;
type Property_Double is new Glib.Property;
type Property_Enum is new Glib.Property;
type Property_Float is new Glib.Property;
type Property_Int is new Int_Properties.Property;
type Property_Interface is new Glib.Property;
type Property_Long is new Long_Properties.Property;
type Property_Long_RO is new Long_Properties.Property_RO;
type Property_Object is new Glib.Property;
type Property_Object_WO is new Glib.Property;
type Property_String is new Glib.Property;
type Property_String_RO is new Glib.Property;
type Property_String_WO is new Glib.Property;
type Property_Uchar is new Uchar_Properties.Property;
type Property_Uchar_RO is new Uchar_Properties.Property_RO;
type Property_Uint is new Uint_Properties.Property;
type Property_Uint_RO is new Uint_Properties.Property_RO;
type Property_Ulong is new Ulong_Properties.Property;
type Property_Ulong_RO is new Ulong_Properties.Property_RO;
type Property_Unichar is new Unichar_Properties.Property;
procedure Set_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_Address;
Value : System.Address)
procedure Set_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_Boolean;
Value : Boolean)
procedure Set_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_C_Proxy;
Value : C_Proxy)
procedure Set_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_Double;
Value : Gdouble)
procedure Set_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_Float;
Value : Gfloat)
procedure Set_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_Interface;
Value : Glib.Types.GType_Interface)
procedure Set_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_Object;
Value : access Glib.Object.GObject_Record'Class)
procedure Set_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_Object_WO;
Value : access Glib.Object.GObject_Record'Class)
procedure Set_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_String;
Value : String)
procedure Set_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_String_WO;
Value : String)
procedure Set_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : String;
Value : in out Glib.Values.GValue)
Get the property. Value must have been initialized first with the expected type for the property, as in:
Value : GValue;
Init (Value, Value_Type (Pspec));
Get_Property (Object, Pspec_Name (Pspec), Value);
If you do not have a Param_Spec, this can be replaced with:
Init (Value, GType_Int);
Get_Property (Object, Property_Name (Property), Value);
Value must be Unset by the caller to free memory
package Uchar_Properties is new
Generic_Internal_Discrete_Property (Glib.Guchar);
@private
package Uint_Properties is new
Generic_Internal_Discrete_Property (Glib.Guint);
@private
package Ulong_Properties is new
Generic_Internal_Discrete_Property (Glib.Gulong);
@private
package Unichar_Properties is new
Generic_Internal_Discrete_Property (Glib.Gunichar);
@private