GNOME Bugzilla – Bug 50554
New ComboBox/OptionMenu replacement widget
Last modified: 2011-02-04 16:12:26 UTC
The new ComboBox (and maybe the GtkEntry with autocompletion capabilities) has to be added to the gtk+ tree (if it's ready ...). I'll post the final code for the ComboBox when somebody of the 'core' GTK+ team said that it is ok.
We have another round of comments we want to write up on this, the gist is that we want to widen the scope of this widget a bit and do something a bit more ambitious. So moving the widget post-2.0; may be able to get in a 2.2 sometime in 2001, if we do that. Will write up the details on gtk-devel-list soon, pester us if not.
Any progress on this, the current combo is still very broken ?
Punted to 2.2.
We need to get links attached to this bug pointing to the discussion of this widget - I think there were some useful mails.
Here are pointers to some threads discussing combo boxes: http://mail.gnome.org/archives/gtk-devel-list/2000- August/msg00025.html http://mail.gnome.org/archives/gtk-devel-list/2000- November/msg00133.html this mail contains a link to a tarball: http://mail.gnome.org/archives/gtk-devel-list/2001- January/msg00289.html
Is there a way to add long URLs to a bug without breaking them (via the web interface) ?!
The code in the tarball shouldn't be used I guess ;). It contains the latest revision of the combo box code I was working on. It has been punted to 2.2, and there were/are plans to redesign the combobox/optionmenu API.
*** Bug 98359 has been marked as a duplicate of this bug. ***
This bug is soooooo outdated. Sorry for repeating this (:
Made it less outdated by fixing the target milestone.
Recent discussion: http://mail.gnome.org/archives/gtk-devel-list/2003-April/msg00265.html Final API will probably look like that. Though there are some upcoming subtle changes (wrt GtkCellLayout). There's a working implementation in libegg.
The new ComboBox landed today. Resolving as FIXED.
Would it make sense to have the new ComboBox implement the CellEditable interface, so it could itself be used as part of a TreeView? [I'm willing to write code]
Andreas - - A "Combo" cell renderer is bug 116552 - I don't think it will make GTK+-2.4, but it would be reasonable for 2.6 - It might be done by adding GtkCellEditable to an existing class, but you might want to instead derive a private subclass from GtkComboBox and make that implement GtkCellEditable. You'd have to fool around to see what worked best.