[756] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: Combo box widget
daemon@ATHENA.MIT.EDU (Federico Mena)
Sun Aug 17 20:30:26 1997
Date: Sun, 17 Aug 1997 19:29:06 -0500
From: Federico Mena <federico@nuclecu.unam.mx>
To: gtk-list@redhat.com
In-reply-to: <199708172245.SAA02984@cc1000916-a.avnl1.nj.home.com> (message
from Arun Sharma on Sun, 17 Aug 1997 18:45:15 -0400)
Reply-to: federico@nuclecu.unam.mx
Resent-From: gtk-list@redhat.com
> I am trying to write a combo box widget [1] 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
> gtkcombo.
> (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 :-)
Quartic
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null