BonoboControl popup interface
- From: Jens Finke <jens triq net>
- To: <gnome-components-list gnome org>
- Subject: BonoboControl popup interface
- Date: Tue, 7 May 2002 17:14:03 +0200 (CEST)
Hi,
is there any documentation how to use the BonoboControl popup interface?
I have the following XML ui file:
<Root>
<commands>
<cmd name="CVS Status" _label="CVS Status"/>
</commands>
<menu>
<!-- some menus here -->
</menu>
<popups>
<popup name="button3" tearoff="0">
<menuitem name="CVS Status"/>
</popup>
</popups>
</Root>
Since this is an nautilus view I merge the ui with nautilus_view_set_up_ui
where I get an BonoboUIComponent back. The problem now is that I don't
know how to obtain a reference to a valid BonoboUIContainer object to use
with bonobo_control_set_popup_ui_container.
I tried to use the default container/component objects by calling the
get_popup_ui_[container|component] functions, so that these will be
initialized. But then a call to
bonobo_control_do_popup (control,
3, GDK_CURRENT_TIME);
just gives an empty popup menu. So I assume the XML ui won't be
registrered correctly for the popups. Any hints?
Best regards,
Jens
--
-= http://triq.net/~pearl =- -= jens triq net =-
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]