Re: UIManager and dynamic menus
- From: Murray Cumming <murrayc murrayc com>
- To: Paul Davis <pjdavis engineering uiowa edu>
- Cc: Gtkmm Mailing List <gtkmm-list gnome org>
- Subject: Re: UIManager and dynamic menus
- Date: Wed, 04 Apr 2007 18:35:36 +0200
On Wed, 2007-04-04 at 11:27 -0500, Paul Davis wrote:
> Hi list,
>
> I've been working with UIManager quite a bit lately and I've come up
> against two issues that are fairly related.
>
> What is the 'UIManager' way of having dynamic menus. I need this when
> adding a list of recent documents to the File menu or when creating a
> list of windows for a View menu.
>
> I've looked at the merge operations presented by UIManager, but they
> appear to be a bit heavier weight than I would expect for something
> like this.
>
> If this merge/unmerge functionality is the way to go, does someone
> have a good example of doing this. I'm fairly certain I get the
> basics, but having a good example is always nice too.
I did it an ugly way:
http://svn.gnome.org/viewcvs/glom/trunk/glom/application.cc?view=markup
see fill_menu_tables()
But it works.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]