Re: [gtkmm] combo incremental search



On Sun, 2003-09-07 at 02:22, Fredrik Arnerup wrote:
> To answer the question: yes, it is possible. If that feature does not
> exist already, you should be able to subclass Gtk::Combo and connect to the
> signal_key_press_event of the Combo, search for the first entry matching the
> key and select that entry.

I believe there are some significant changes to GtkCombo in GTK+ 2.4, so
you may wish to look into those, as incremental search might have been
added there (not sure about that though). It might be more practical to
have a look at the source code for Epiphany or Galeon, which both have
combo boxes with incremental search and history for their location bars.
They're GPLed though, so you might run into the odd licensing problem
with using their code in a commercial app.




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