Bonobo API Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
|
This code is designed to make the property bag interface slightly easier to use, by allowing optional CORBA environments, sensible return values on exceptions, and accessors for specific types of CORBA_Any. eg. bonobo_property_bag_client_get_value_glong.
With the property bag interface, as in all current remote Bonobo method invocations, translation issues are very dodgy. Assuming that the server process was activated in the correct locale, all should be well, however there is no guarantee that ( in a rapidly changing locale environment ) the string will be correctly translated. It is difficult to know how to solve this problem.
|
pb : | A |
ev : | optional CORBA exception environment or NULL |
Returns : | A |
void bonobo_property_bag_client_free_properties ( |
Releases the CORBA Objrefs stored in list and frees the list.
list : | A |
|
This function exists as a convenience, so that you don't have to
iterate through all of the
pb : | A |
ev : | optional CORBA exception environment or NULL |
Returns : | A |
|
pb : | A Bonobo_PropertyBag which is associated with a remote BonoboPropertyBag. |
property_name : | |
ev : | optional CORBA exception environment or NULL |
Returns : | A |
void bonobo_property_bag_client_persist ( |
Reads the property data stored in the
pb : | A |
stream : | A BonoboStream into which the data in pb will be written. |
ev : | optional CORBA exception environment or NULL |
void bonobo_property_bag_client_depersist ( |
Serializes the property bag pb to the stream, using the PersistStream interface associated with the PropertyBag.
pb : | the property bag to persist |
stream : | the stream to persist to |
ev : | optional CORBA exception environment or NULL |
char* bonobo_property_bag_client_setv ( |
This function uses the TypeCode data extracted from the pb to determine how it walks its stack. This function provides the grunt implementation for other var-arg functions like bonobo_widget_set_property
pb : | the property bag |
ev : | optional CORBA exception environment or NULL |
first_arg : | first argument name |
var_args : | list of subsequent name / value pairs |
Returns : | an error string on error or NULL on success. |
char* bonobo_property_bag_client_getv ( |
This function uses the TypeCode data extracted from the pb to determine how it walks its stack. This function provides the grunt implementation for other var-arg functions like bonobo_widget_get_property.
pb : | the property bag |
ev : | optional CORBA exception environment or NULL |
first_arg : | first argument name |
var_args : | list of subsequent name / value pairs |
Returns : | an error string on error or NULL on success. |
|
Finds the typecode associated with the property in pb of name propname
pb : | the property bag |
propname : | the property name |
ev : | optional CORBA exception environment or NULL |
Returns : | the TypeCode for property name or CORBA_OBJECT_NIL |
|
pb : | |
propname : | |
ev : | |
Returns : |
|
|
pb : | |
propname : | |
ev : | |
Returns : |
|
|
pb : | |
propname : | |
ev : | |
Returns : |
|
|
pb : | |
propname : | |
ev : | |
Returns : |
|
|
pb : | |
propname : | |
ev : | |
Returns : |
|
char* bonobo_property_bag_client_get_value_string ( |
pb : | |
propname : | |
ev : | |
Returns : |
|
BonoboArg* bonobo_property_bag_client_get_value_any ( |
pb : | |
propname : | |
ev : | |
Returns : |
|
|
pb : | |
propname : | |
ev : | |
Returns : |
|
|
pb : | |
propname : | |
ev : | |
Returns : |
|
|
pb : | |
propname : | |
ev : | |
Returns : |
|
|
pb : | |
propname : | |
ev : | |
Returns : |
|
|
pb : | |
propname : | |
ev : | |
Returns : |
|
char* bonobo_property_bag_client_get_default_string ( |
pb : | |
propname : | |
ev : | |
Returns : |
|
BonoboArg* bonobo_property_bag_client_get_default_any ( |
pb : | |
propname : | |
ev : | |
Returns : |
|
void bonobo_property_bag_client_set_value_gboolean ( |
pb : | |
propname : | |
value : | |
ev : |
|
void bonobo_property_bag_client_set_value_gint ( |
pb : | |
propname : | |
value : | |
ev : |
|
void bonobo_property_bag_client_set_value_glong ( |
pb : | |
propname : | |
value : | |
ev : |
|
void bonobo_property_bag_client_set_value_gfloat ( |
pb : | |
propname : | |
value : | |
ev : |
|
void bonobo_property_bag_client_set_value_gdouble ( |
pb : | |
propname : | |
value : | |
ev : |
|
void bonobo_property_bag_client_set_value_string ( |
pb : | |
propname : | |
value : | |
ev : |
|
void bonobo_property_bag_client_set_value_any ( |
This function sets the value of the property with name propname in pb to value.
pb : | the property bag |
propname : | name of property to set |
value : | value to set it to. |
ev : | optional CORBA exception environment or NULL |
char* bonobo_property_bag_client_get_docstring ( |
This function retrieves the documentation string associated with the property.
pb : | the property bag |
propname : | the property name |
ev : | optional CORBA exception environment or NULL |
Returns : | the doc string. |
BonoboPropertyFlags bonobo_property_bag_client_get_flags ( |
pb : | the property bag |
propname : | the property's name |
ev : | optional CORBA exception environment or NULL |
Returns : | the flags associated with this property |