Re: road to gtkmm 2.10



Hi Murray;

I'm not subscribed to gtkmm-list, but if there are more questions you
can Cc: me.

On Tue, 2006-07-11 at 08:24 +0200, Murray Cumming wrote:
> Jonathon Jongsma wrote:
> > On 7/5/06, Murray Cumming <murrayc murrayc com> wrote:
> >> People usually create menus with UIManager, so we need a way to specify
> >> that one of the sub-menus will be created by the recent-files system.
> >
> > I looked into this a little bit, but as far as I can tell, there's
> > currently no way to do this yet.  Bug 338843 [1] seems to address
> > this, but as far as I can tell, it hasn't been committed to CVS yet.
> >
> > [1] http://bugzilla.gnome.org/show_bug.cgi?id=338843
> 
> CCing gtk-devel-list, because Matthias Clasen seemed sure at GUADEC that
> this was possible with the 2.10 API, at least with a sub-menu if not as
> inline menu items.

It is possible to do, as I wrote here on the gtk-devel mailing list[1]
and in my tutorial at GUADEC[2].

No inlined list, though: that is a pain to implement using UIManager,
unless you walk down the road of EggRecentViewUIManager[3], which I
would strongly advise not to, because madness and unmaintainability lie
down that very road.

+++

[1] http://mail.gnome.org/archives/gtk-devel-list/2006-June/msg00087.html
[2] http://o-hand.com/~ebassi/2006-guadec-recent-files/recent-files.pdf
[3] http://cvs.gnome.org/viewcvs/libegg/libegg/recent-files/egg-recent-view-uimanager.c

Ciao,
 Emmanuele.

-- 
Emmanuele Bassi,  E: ebassi gmail com
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]