Re: Integrating EggMenu code into GTK+



> On Sun, Aug 24, 2003 at 09:39:41PM +0200, Matthias Clasen wrote:
> > 
> > I think only important is important. But speaking about random controls,
> > bonoboui supports this via <control> and
> > bonobo_ui_component_widget_set(). Do we need something similar ?
> 
> Please do not do that.  People can create new derived action types.
> Inserting a widget or control directly breaks the possibility of a user
> reorganizing their menus/toolbars.  At a minimum we need a factory
> to create the widget or control.

I was already told that subclassing GtkAction is the right approach for
this. Having a nice 
example for this in testactions.c or even gtk-demo would be cool.

Matthias

-- 
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post




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