Index

Package: Generic_Internal_Boxed_Property (generic)

Description

generic
      type Boxed_Type is private;
      with function Get_Type return Glib.GType;

      with function To_Address
        (B : Boxed_Type; Default : System.Address) return System.Address;
      --  Convert B into an address that can be passed to gtk+.
      --  Default is the address of the parameters passed by the user (since
      --  this function cannot return B'Address, where B might be passed by
      --  copy).

   package Generic_Internal_Boxed_Property is

Types

Boxed_Type

type Boxed_Type is private;

Property_RO

type Property_RO is new Glib.Property;

Property

type Property    is new Glib.Property;

Subprograms & Entries

Get_Type

function Get_Type return Glib.GType;

To_Address

function To_Address 
(B: Boxed_Type;
Default: System.Address) return System.Address;
Convert B into an address that can be passed to gtk+. Default is the address of the parameters passed by the user (since this function cannot return B'Address, where B might be passed by copy).

Set_Property

procedure Set_Property 
(Object: access Glib.Object.GObject_Record'Class;
Name: Property;
Value: Boxed_Type);
Set a property of Object based on Enumeration_Type.

Get_Property

function Get_Property 
(Object: access Glib.Object.GObject_Record'Class;
Name: Property) return Boxed_Type;

Get_Property

function Get_Property 
(Object: access Glib.Object.GObject_Record'Class;
Name: Property_RO) return Boxed_Type;
Get a property from Object. Unset_Value is raised if the property is not set

Set_Value

procedure Set_Value 
(Value: out Glib.Values.GValue;
Val: Boxed_Type);
Store Val in Value. The latter is properly initialized, and reference counting is handled automatically. You must Unset Value when you are done using it.

Get_Value

function Get_Value 
(Value: Glib.Values.GValue) return Boxed_Type;
Get the value stored in Value. Reference counting is automatically handled, and the returned value has been properly referenced. Unset_Value is raised if Value contains no data