| Top |  |  |  |  | 
GladePropertyDef 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).
GladePropertyDef * glade_property_def_new (GladeWidgetAdaptor *adaptor,const gchar *id);
| adaptor | The GladeWidgetAdaptor to create this property for | |
| id | the id for the new property class | 
GladePropertyDef * glade_property_def_new_from_spec (GladeWidgetAdaptor *adaptor,GParamSpec *spec);
GladePropertyDef *
glade_property_def_clone (GladePropertyDef *property_def);
void
glade_property_def_free (GladePropertyDef *property_def);
Frees property_def
 and its associated memory.
gboolean
glade_property_def_is_visible (GladePropertyDef *property_def);
gboolean
glade_property_def_is_object (GladePropertyDef *property_def);
guint glade_property_def_make_flags_from_string (GType type,const char *string);
GValue * glade_property_def_make_gvalue_from_string (GladePropertyDef *property_def,const gchar *string,GladeProject *project);
| property_def | ||
| string | a string representation of this property | |
| project | the GladeProject that the property should be resolved for | 
gchar * glade_property_def_make_string_from_gvalue (GladePropertyDef *property_def,const GValue *value);
GValue * glade_property_def_make_gvalue_from_vl (GladePropertyDef *property_def,va_list vl);
void glade_property_def_set_vl_from_gvalue (GladePropertyDef *property_def,GValue *value,va_list vl);
Sets vl
 from value
 based on property_def
 criteria.
| property_def | ||
| value | A GValue to set | |
| vl | a va_list holding one argument of the correct type
specified by  | 
GValue * glade_property_def_make_gvalue (GladePropertyDef *property_def,...);
void glade_property_def_get_from_gvalue (GladePropertyDef *property_def,GValue *value,...);
Assignes the provided return location to value
gboolean glade_property_def_update_from_node (GladeXmlNode *node,GType object_type,GladePropertyDef **property_def_ref,const gchar *domain);
Updates the property_def_ref
 with the contents of the node in the xml
file. Only the values found in the xml file are overridden.
| node | the property node | |
| object_type | the GType of the owning object | |
| property_def_ref | a pointer to the property class. | [inout][nullable] | 
| domain | the domain to translate catalog strings from | 
GtkAdjustment *
glade_property_def_make_adjustment (GladePropertyDef *property_def);
Creates and appropriate GtkAdjustment for use in the editor
gboolean glade_property_def_match (GladePropertyDef *property_def,GladePropertyDef *comp);
gboolean glade_property_def_void_value (GladePropertyDef *property_def,GValue *value);
 Whether value
for this property_def
is voided; a voided value
can be a NULL value for boxed or object type param specs.
gint glade_property_def_compare (GladePropertyDef *property_def,const GValue *value1,const GValue *value2);
Compares value1 with value2 according to property_def
.
const gchar *
glade_property_def_create_type (GladePropertyDef *property_def);
gboolean
glade_property_def_custom_layout (GladePropertyDef *property_def);
gboolean
glade_property_def_deprecated (GladePropertyDef *property_def);
GladeWidgetAdaptor *
glade_property_def_get_adaptor (GladePropertyDef *property_def);
gboolean
glade_property_def_get_construct_only (GladePropertyDef *property_def);
const GValue *
glade_property_def_get_default (GladePropertyDef *property_def);
GValue *
glade_property_def_get_default_from_spec
                               (GParamSpec *spec);
gboolean
glade_property_def_get_ignore (GladePropertyDef *property_def);
gboolean
glade_property_def_get_is_packing (GladePropertyDef *property_def);
const gchar *
glade_property_def_get_name (GladePropertyDef *property_def);
const GValue *
glade_property_def_get_original_default
                               (GladePropertyDef *property_def);
GParamSpec *
glade_property_def_get_pspec (GladePropertyDef *property_def);
const gchar *
glade_property_def_get_tooltip (GladePropertyDef *property_def);
gboolean
glade_property_def_get_virtual (GladePropertyDef *property_def);
void
glade_property_def_load_defaults_from_spec
                               (GladePropertyDef *property_def);
gboolean
glade_property_def_multiline (GladePropertyDef *property_def);
gboolean
glade_property_def_needs_sync (GladePropertyDef *property_def);
GladePropertyDef * glade_property_def_new_from_spec_full (GladeWidgetAdaptor *adaptor,GParamSpec *spec,gboolean need_handle);
gboolean
glade_property_def_optional (GladePropertyDef *property_def);
gboolean
glade_property_def_optional_default (GladePropertyDef *property_def);
gboolean
glade_property_def_parentless_widget (GladePropertyDef *property_def);
gboolean
glade_property_def_save_always (GladePropertyDef *property_def);
void glade_property_def_set_adaptor (GladePropertyDef *property_def,GladeWidgetAdaptor *adaptor);
void glade_property_def_set_construct_only (GladePropertyDef *property_def,gboolean construct_only);
void glade_property_def_set_ignore (GladePropertyDef *property_def,gboolean ignore);
void glade_property_def_set_is_packing (GladePropertyDef *property_def,gboolean is_packing);
void glade_property_def_set_name (GladePropertyDef *property_def,const gchar *name);
void glade_property_def_set_pspec (GladePropertyDef *property_def,GParamSpec *pspec);
void glade_property_def_set_tooltip (GladePropertyDef *property_def,const gchar *tooltip);
void glade_property_def_set_virtual (GladePropertyDef *property_def,gboolean value);
void glade_property_def_set_weights (GList **properties,GType parent);
This function assigns "weight" to each property in its natural order staring from 1. If parent is 0 weight will be set for every GladePropertyDef in the list. This function will not override weight if it is already set (weight >= 0.0)
| properties | a list of GladePropertyDef. | [element-type GladePropertyDef] | 
| parent | the GType of the parent | 
guint16
glade_property_def_since_major (GladePropertyDef *property_def);
guint16
glade_property_def_since_minor (GladePropertyDef *property_def);
gboolean
glade_property_def_stock_icon (GladePropertyDef *property_def);
gboolean
glade_property_def_themed_icon (GladePropertyDef *property_def);
gboolean
glade_property_def_transfer_on_paste (GladePropertyDef *property_def);
gboolean
glade_property_def_translatable (GladePropertyDef *property_def);