Re: cloning an object ...
- From: Tristan Van Berkom <tvb gnome org>
- To: Antonio Gomes <tonikitoo gmail com>
- Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: cloning an object ...
- Date: Mon, 11 Jul 2005 16:52:22 -0400
Antonio Gomes wrote:
[...]
ANSWER from the list : Make an item with the same name to all the
menus, and connect the same callback to both/all of them. This is the
only way to do this
currently, in the future you can do it with *GtkUIManager* magic, but
that's in the future...
:( so , there is no 'gtk_ui_manager_get_ui' available. I have try
found out another way ...
Is this an old message in a mail archive ?
gtk_ui_manager_get_ui() /is/ in the GTK+ API docs, check it out.
I'm pretty sure you just have to use a seperate GtkUIManager for
each menu respectively (and rebuild the 'slave' menus entirely every
time the master menu changes).
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]