Re: [gtk-list] Exporting file completion routines
- From: Lyndon Drake <lyndon stat auckland ac nz>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Exporting file completion routines
- Date: Tue, 23 Feb 1999 09:32:31 +1300
I would like to second this. I need the completion routines, and the
only way to get at them currently is to copy and paste the source. It
would be great to have access to these functions.
On Mon, Feb 22, 1999 at 06:57:28PM +0100, Hrvoje Niksic wrote:
> Wouldn't it be nice if Gtk exported its file completion routines, so
> that programs that want to implement file completion in its text-entry
> widgets can use them? For example, GQmpeg has a `tabcomp.c' file
> that exports a tab_completion_add_to_entry() function, allowing you to
> easily add completion to your text entries.
> The interface to the completion could be separated into a special
> file, with a convenience function, say:
> void gtk_text_entry_add_completion(GtkWidget *entry,
> void (*enter_func)(gchar *, gpointer),
> gpointer data)
> Have other plans to implement this been proposed? Any comments?
] [Thread Prev