Re: GtkComboBox design -- first draft



On Sun, 2002-03-31 at 05:15, Jody Goldberg wrote:
> On Sun, Mar 31, 2002 at 01:53:00AM +0100, Kristian Rietveld wrote:
> > The base combo box, GtkComboBox, will become the base of the new combo
> > box/option menu framework. The "click widget and "drop down widget" will be
> > construct-only properties, so subclasses of GtkComboBox are able to replace
> > those.
> 
> I'd prefer to see the base class and the dropdown content be kept
> distinct.  A treeview based list seems nice for list type combos,
> but could we not keep that in a derived class ?

The point is that we want to have both menu-style and list-style in the
same widget, with the same API. A style-property determines whether the
menu-style or list-style will be used. Because of this we can't put the
list-style combo in a derived class.



regards,


	Kris

> 
> More comments at a later date (sorry)
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
> 




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