Copyright (C) 2000-2012 |
Whole document tree
BonoboUIContainerSynopsis
DescriptionA BonoboUIContainer is a very thin object, it implements the CORBA interface for doing UI merging, but none of the logic. In order to achieve the effect it is associated with a BonoboUIEngine object. Traditionaly the UI container was associated with a BonoboWindow however, this is now strongly deprecated, since the BonoboUIContainer can be used with any BonoboUIEngine, not just that used by BonoboWindow. Here is how your code should interact with the BonoboUIContainer Example 1. How to setup a BonoboUIContainer
DetailsBonoboUIContainer
BonoboUIContainerClass
bonobo_ui_container_construct ()
bonobo_ui_container_get_engine ()
Get the associated BonoboUIEngine bonobo_ui_container_set_engine ()
Associates the BonoboUIContainer with a BonoboUIEngine that it will use to handle all the UI merging requests. bonobo_ui_container_set_win ()
This function is deprecated, please use bonobo_ui_container_set_engine instead, we plan to allow UIContainers to be associated with many things apart from BonoboWindows. bonobo_ui_container_get_win ()
This is _extremely_ deprecated, there is no garentee that a BonoboUIContainer has an associated window, this function will spew warnings. If you find yourself wanting to use this function, you probably want to be passing a BonoboWindow ( or derivative ) around and then using: bonobo_window_get_ui_engine (window) |