RE: Dynamic completions for GtkEntryCompletion
- From: "Joaquin Cuenca Abela" <e98cuenc free fr>
- To: "'GTK+ development mailing list'" <gtk-devel-list gnome org>
- Subject: RE: Dynamic completions for GtkEntryCompletion
- Date: Tue, 17 Feb 2004 10:24:35 +0100
Federico wrote:
>
> For example, say you start typing "/etc/p" in the file
> chooser's entry line. The completions at that point are
> something like {passwd, ppp, printcap}. If you go on typing,
> "/etc/ppp/i", then the completions become {ioptions, ip-up, ip-down}.
>
> I think it would be useful to have a
> GtkEntryCompletion::build_completions signal that would be
> emitted when it is necessary/safe to change the completions
> tree-model. This is basically when the user has typed a
> character in the corresponding GtkEntry. [Are there other
> occasions when this is valid?] At that point, the app would
> regenerate the list of completions.
In your example, when the user changes something in the filesystem (rename,
delete or create a new file, for instance)
Cheers,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]