## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Generic_Internal_Boxed_Property (generic)

- Goto spec source

# 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

- Goto declaration in source

    type Boxed_Type is private;

### Property_RO

- Goto declaration in source

    type Property_RO is new Glib.Property;

### Property

- Goto declaration in source

    type Property    is new Glib.Property;

# Subprograms & Entries

### Get_Type

- Goto spec in source

    function Get_Type return Glib.GType;

### To_Address

- Goto spec in source

    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

- Goto spec in source

    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

- Goto spec in source

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

### Get_Property

- Goto spec in source

    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

- Goto spec in source

    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

- Goto spec in source

    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