[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-devel
Subject:    Re: GMenuModel has landed
From:       Ryan Lortie <desrt () desrt ! ca>
Date:       2011-12-11 23:33:22
Message-ID: 1323646402.21911.2.camel () moonpix ! lan
[Download RAW message or body]

hi Paul,

On Sun, 2011-12-11 at 16:33 -0500, Paul Tan wrote:
> It would be nice if the new menu system can still
> support dynamic (programmatic) adding and deleting
> submenu/menuitems, just like what we already have
> now in gtk2.  Examples are the "Favorite" menu in
> MS IE, and the "Bookmarks" in other browsers.

This is still supported.  Normally applications will create the bulk of
their menus using XML, but it's possible to name a particular menu (or
section of a menu) and acquire this object by name.  You can then
dynamically add items.

> If possible, would you consider bringing back the
> "tearoff menu" feature, which, according to a gtk
> developer, will be removed in gtk4.

I think this issue is orthogonal to GMenuModel, and it's one that I
don't have a strong opinion on.  Sorry.


Cheers

_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic