Re: Newbie problems with gtk GtkFileSelection



Hello there!

--- Robert Ramiega <jedi plukwa net> wrote:
[snip]
 User is supposed to pick either existing file (that
will be either
overwriten or appended to) or enter name of file to


I think you better use GtkFileChooser dialog,
from gtkfilechooser.h & gtkfilechooserdialog.h.

File selection is restricted to locating existing 
files along paths.

FileChooser has some options you could set I guess
for the user to do like:

GTK_FILE_CHOOSER_ACTION_OPEN,
          ''           _SAVE,
          ''           _SELECT_FOLDER,
          ''           _CREATE_FOLDER.

This is a cleaner interface.


So you could add some little widget/option button 
that changes the mode of the dialog box using
gtk_file_chooser_{set|get}_action.

Cheers
Muthu.



                
__________________________________ 
Yahoo! Mail 
Stay connected, organized, and protected. Take the tour: 
http://tour.mail.yahoo.com/mailtour.html 




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