Compilation Units
Tagged Types
--------------------------------------------- Generic package for flags type properties -- --------------------------------------------- This package is the counterpart of Generic_Internal_Discrete_Property for the modular types bound from a C bitfield. A GObject property whose type is a G_TYPE_FLAGS descendant is represented as a guint, not as a gulong, so such properties must be read and written through this package rather than through the discrete one, whose helpers use gulong.
type Flags_Type is mod <>;
function Get_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property) return Flags_Type
function Get_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property_RO) return Flags_Type
Get a property from Object
type Property is new Glib.Property;
type Property_RO is new Glib.Property;
procedure Set_Property
(Object : access Glib.Object.GObject_Record'Class;
Name : Property;
Value : Flags_Type)
Set a property of Object based on Flags_Type.