Re: [gtk-list] Combo box widget
- From: Federico Mena <federico nuclecu unam mx>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Combo box widget
- Date: Sun, 17 Aug 1997 19:29:06 -0500
> I am trying to write a combo box widget  and am through with
> deriving it from gtkentry and displaying the arrow etc.
> Can someone advise me on which one of the following implementations
> is better for the list ?
> (a) Implementing the list as a separate gtklist widget and managed by
> (b) Writing it from the first principles from a Gdkwindow and
> duplicating code in gtklist.
Definitely (a). A quick idea that may just work right is to create a
gtk_window_new(GTK_WINDOW_POPUP), insert the listbox into it, and have
the window show at the proper position.
While you are at it, tab completion with respect to the list's
contents would be very nice :-)
] [Thread Prev