Re: GtkItemFactoryEntry (was: Re: New 'GObject' as base for GtkObject?)



Tim Janik <timj@gtk.org> writes:

> > I think you misread me : we dropped GtkItemFactory, not just
> > GtkItemFactoryEntry.
> 
> that is an inherently bad idea, that will mean there's no facility to load
> save and propagate accelerators for menu items for C++ gtk programs.
> even if you create menu items manually, to get proper accelerator
> propagation working with them you need to announce them to the item
> factory class.

That would explain a bug which was recently reported to us.

> take a look at gtk_item_factory_add_foreign() there's not much
> beyond the menu item and the accel group you use to get stuff
> working correctly.

Thanks a lot for the info. :-)

-- 
						Guillaume



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