Re: Suggesting file extension in GtkFileChooser Save dialogs?



On Fri, Sep 24, 2004 at 02:34:03PM -0700, Brian wrote:
I understood what you meant.  I have found that in (python/pygtk at
least) that the filename is not highlighted, the cursor is at the first
charachter in the name, and any typing done does an insert before
without loosing anything of the filename I set when calling the file
chooser (usually the file did not exist).   So by typing, foo.ext would
become myfilefoo.ext and the "foo" charachters would have to be deleted
to end up with myfile.ext .

Ah, ok. So this seems to work differently in pygtk.
In C (gtk+-2.4.10) the whole filename is selected by default.

I am sorry if I don't know the proper c library function calls to tell
you. But I have only been programming gtk in python so far.

Ok. Thanks anyway.

Cheers,
 Thomas



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