Re: GtkCombo and GtkList
- From: Lars Clausen <lrclause cs uiuc edu>
- To: gtk-list gnome org
- Subject: Re: GtkCombo and GtkList
- Date: 19 Sep 2002 14:41:03 -0500
On Thursday, 19 September '02, Andrew Sobala wrote:
> Hi,
>
> In gtk-2.0, the GtkCombo widget uses a drop-down GtkList, not a
> GtkTreeView as I would expect. Which is deprecated.
>
> 1) Are there plans to replace this for gtk-2.2?
> 2) Because I'm loath to duplicate the common list code in my app (one
> for GtkTreeView's and one for GtkCombo's, displaying the same data), has
> anyone done some alpha/beta GtkCombo code that replaces the GtkList with
> a GtkTreeView?
> 3) If not 2), would there be interest if I made a patch (assuming I have
> time to do it)
A TreeView seems to be overkill here. I implemented a nice replacement for
GtkCombo using an Entry and a Menu. I didn't make it into a full-fledged
widget, but it works better than the Combo ever did.
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]