Top | ![]() |
![]() |
![]() |
![]() |
GladeParameter * | glade_parameter_new () |
GladeParameter * | glade_parameter_clone () |
void | glade_parameter_free () |
void | glade_parameter_get_float () |
void | glade_parameter_get_integer () |
void | glade_parameter_get_boolean () |
void | glade_parameter_get_string () |
GList * | glade_parameter_list_new_from_node () |
Parameters can be set in your catalog file that may determine how your plugin will treat certain widget classes.
void
glade_parameter_free (GladeParameter *parameter
);
Frees parameter
and its associated memory.
void glade_parameter_get_float (GList *parameters
,const gchar *key
,gfloat *value
);
Searches through parameters
looking for a GladeParameter named key
. If
found, it stores a gfloat representation of its value into value
.
parameters |
a GList of GladeParameters |
|
key |
a string containing the parameter name |
|
value |
a pointer to a gfloat |
void glade_parameter_get_integer (GList *parameters
,const gchar *key
,gint *value
);
Searches through parameters
looking for a GladeParameter named key
. If
found, it stores a gint representation of its value into value
.
parameters |
a GList of GladeParameters |
|
key |
a string containing the parameter name |
|
value |
a pointer to a gint |
void glade_parameter_get_boolean (GList *parameters
,const gchar *key
,gboolean *value
);
Searches through parameters
looking for a GladeParameter named key
. If
found, it stores a gboolean representation of its value into value
.
parameters |
a GList of GladeParameters |
|
key |
a string containing the parameter name |
|
value |
a pointer to a gboolean |
void glade_parameter_get_string (GList *parameters
,const gchar *key
,gchar **value
);
Searches through parameters
looking for a GladeParameter named key
. If
found, it stores a newly copied string representation of its value into
value
.
parameters |
a GList of GladeParameters |
|
key |
a string containing the parameter name |
|
value |
a pointer to an string |