Whole document tree
BonoboWidgetSynopsis
DescriptionBonobo component embedding for hydrocephalic imbeciles. Pure cane sugar. This purpose of BonoboWidget is to make container-side use of Bonobo as easy as pie. This widget has two functions:
There are also functions for fetching and setting values in the Control PropertyBag, but the use of these functions is discouraged. Detailsbonobo_widget_construct_control ()
This is a constructor function. Only usable for wrapping and derivation of new objects. For normal use, please refer to bonobo_widget_new_control. This function will unref the passed in bw in case it cannot launch the component and return NULL in such a case. Otherwise it returns the bw itself. bonobo_widget_construct_control_from_objref ()
This is a constructor function. Only usable for wrapping and derivation of new objects. For normal use, please refer to bonobo_widget_new_control_from_objref. bonobo_widget_new_control ()
This function is a simple wrapper for easily embedding controls into applications. It will launch the component identified by id and will return it as a GtkWidget. bonobo_widget_new_control_from_objref ()
This function is a simple wrapper for easily embedding controls into applications. This function is used when you have already a CORBA object reference to an IDL:Bonobo/Control:1.0 (the control) argument. bonobo_widget_get_control_frame ()
Every IDL:Bonobo/Control:1.0 needs to be placed inside an IDL:Bonobo/ControlFrame:1.0. This returns the BonoboControlFrame object that wraps the Control in the bonobo_widget. bonobo_widget_new_subdoc ()
This function is a simple wrapper for easily embedding documents into applications. It will launch the component identified by id and will return it as a GtkWidget. This will launch a single view of the embeddable activated by moniker. FIXME: this function should really be using bonobo_get_object() instead of bonobo_activate_object() to launch the object. bonobo_widget_get_container ()
This operation is only valid for BonoboWidgets that were created by the bonobo_widget_new_subdoc(). bonobo_widget_get_client_site ()
This operation is only valid for BonoboWidgets that were created by the bonobo_widget_new_subdoc(). bonobo_widget_get_view_frame ()
This operation is only valid for BonoboWidgets that were created by the bonobo_widget_new_subdoc(). bonobo_widget_set_property ()
This is a utility function used to set a number of properties in the Bonobo Control in control. This function takes a variable list of arguments that must be NULL terminated. Arguments come in tuples: a string (for the argument name) and the data type that is to be transfered. The implementation of the actual setting of the PropertyBag values is done by the bonobo_property_bag_client_setv() function). FIXME: This function is error prone because it depends on the client and the server to agree on the data types to be sent. If the server arguments change the data type, this routine will not be able to cope gracefully with this condition. This only works for BonoboWidgets that represent controls (ie, that were returned by bonobo_widget_new_control_from_objref() or bonobo_widget_new_control(). bonobo_widget_get_property ()
This is a utility function used to get a number of properties in the Bonobo Control in control. This function takes a variable list of arguments that must be NULL terminated. Arguments come in tuples: a string (for the argument name) and a pointer where the data will be stored. The implementation of the actual setting of the PropertyBag values is done by the bonobo_property_bag_client_setv() function). FIXME: This function is error prone because it depends on the client and the server to agree on the data types to be sent. If the server arguments change the data type, this routine will not be able to cope gracefully with this condition. This only works for BonoboWidgets that represent controls (ie, that were returned by bonobo_widget_new_control_from_objref() or bonobo_widget_new_control(). See AlsoObject activation happens with bonobo_get_object(). BonoboControl, BonoboControlFrame, BonoboObject, BonoboView, BonoboEmbeddable, BonoboUIContainer, BonoboItemContainer. |