Top | ![]() |
![]() |
![]() |
![]() |
GladePropertyClass * | glade_property_class_new () |
GladePropertyClass * | glade_property_class_new_from_spec () |
GladePropertyClass * | glade_property_class_clone () |
void | glade_property_class_free () |
gboolean | glade_property_class_is_visible () |
gboolean | glade_property_class_is_object () |
GValue * | glade_property_class_make_gvalue_from_string () |
gchar * | glade_property_class_make_string_from_gvalue () |
GValue * | glade_property_class_make_gvalue_from_vl () |
void | glade_property_class_set_vl_from_gvalue () |
GValue * | glade_property_class_make_gvalue () |
void | glade_property_class_get_from_gvalue () |
gboolean | glade_property_class_update_from_node () |
GtkAdjustment * | glade_property_class_make_adjustment () |
gboolean | glade_property_class_match () |
gboolean | glade_property_class_void_value () |
GladePropertyClass is a structure based on a GParamSpec and parameters from the Glade catalog files and describes how properties are to be handled in Glade; it also provides an interface to convert GValue to strings and va_lists etc (back and forth).
GladePropertyClass * glade_property_class_new (GladeWidgetAdaptor *adaptor
,const gchar *id
);
adaptor |
The GladeWidgetAdaptor to create this property for |
|
id |
the id for the new property class |
GladePropertyClass * glade_property_class_new_from_spec (GladeWidgetAdaptor *adaptor
,GParamSpec *spec
);
GladePropertyClass * glade_property_class_clone (GladePropertyClass *property_class
,gboolean reset_version
);
void
glade_property_class_free (GladePropertyClass *property_class
);
Frees klass
and its associated memory.
gboolean
glade_property_class_is_visible (GladePropertyClass *property_class
);
gboolean
glade_property_class_is_object (GladePropertyClass *property_class
);
GValue * glade_property_class_make_gvalue_from_string (GladePropertyClass *property_class
,const gchar *string
,GladeProject *project
);
property_class |
||
string |
a string representation of this property |
|
project |
the GladeProject that the property should be resolved for |
gchar * glade_property_class_make_string_from_gvalue (GladePropertyClass *property_class
,const GValue *value
);
GValue * glade_property_class_make_gvalue_from_vl (GladePropertyClass *property_class
,va_list vl
);
void glade_property_class_set_vl_from_gvalue (GladePropertyClass *klass
,GValue *value
,va_list vl
);
Sets vl
from value
based on klass
criteria.
GValue * glade_property_class_make_gvalue (GladePropertyClass *klass
,...
);
void glade_property_class_get_from_gvalue (GladePropertyClass *klass
,GValue *value
,...
);
Assignes the provided return location to value
gboolean glade_property_class_update_from_node (GladeXmlNode *node
,GType object_type
,GladePropertyClass **property_class
,const gchar *domain
);
Updates the property_class
with the contents of the node in the xml
file. Only the values found in the xml file are overridden.
GtkAdjustment *
glade_property_class_make_adjustment (GladePropertyClass *property_class
);
Creates and appropriate GtkAdjustment for use in the editor
gboolean glade_property_class_match (GladePropertyClass *klass
,GladePropertyClass *comp
);
gboolean glade_property_class_void_value (GladePropertyClass *klass
,GValue *value
);