Re: Autocompletion



On Sun, 2002-10-06 at 13:18, Ricardo Fernández Pascual wrote:
> El dom, 06-10-2002 a las 01:13, Kristian Rietveld escribió:
> > On Sun, 2002-10-06 at 00:48, Havoc Pennington wrote:
> > > 
> > > [snip]
> > > 
> > > Some interesting GTK bugs:
> > >  
> > >  combo box redesign with links to discussion:
> > >    http://bugzilla.gnome.org/show_bug.cgi?id=50554
> > >    note that we want to replace GtkCombo with a nice autocompleting
> > >    entry and a better option menu.
> > 
> > As some people may know, I've been experimenting with a new combo. I've
> > already some code, in libegg, but it's still experimental. I also
> > implemented an experimental completion feature in the GtkEntry, though
> > it's really really small and easy. The completion code announced here is
> > far more advanced.
> > 
> > Anyway, all of my code mentioned above, including the completion thing,
> > are in libegg, in the libegg/combo directory. The "test-entry" app tests
> > the completion, and the TextCombo in the "test" app has completion
> > enabled. The EggEntry is just GtkEntry renamed to EggEntry with 5 new
> > completion-related functions.
> > 
> > Just to let know what I've been working on,
> > 
> 
> When I looked at it I thought it was just a new combo box, not related
> with autocompletion.

Yes, it's just a new combo box, but the text combo has some form of
completion. Remember that there's more than 1 combo box there (and one
which I still have to write...).

> 
> Your EggEntry is analogous to my EggAutocompletionEntry, I think.
> 
> I will look at the code of the EggCombo and see if I can use it for the
> list of alternatives popup.

The list of alternatives popup, which is a list of matching items, is in
EggEntry. Lists of alternatives popups and "normal" combo popups differ
in behaviour. For example, the "normal" combo popups have some evil
drag-select code, which the list of alternatives popup does not have.



	Kris

> 
> 
> 
> -- 
> Ricardo Fernández Pascual
> ric users sourceforge net
> Murcia. España.
> 
> _______________________________________________
> gnome-hackers mailing list
> gnome-hackers gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-hackers




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