GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Tue Oct 21, 2014 8:50 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Puzzle on Gtk FileChooserDialog
PostPosted: Fri Feb 24, 2012 1:45 am 
Offline

Joined: Fri Feb 24, 2012 1:37 am
Posts: 2
I have learned and used Gtk+ and Gtkmm for a long time. But no matter Gtk+ or Gtkmm, I have found the same problem about GtkFileChooserDialog: it can generate Linux-style view, but now I'm designing a kind of software for both Linux user and Windows user, I'm sure it's not acceptable for windows user when they use it, how can I solve the problem?
And another puzzle, GtkFileChooser didn't remember latest opened system location, why? Is my inccorrect use?
Waiting for your reply! Thx anyway.


Top
 Profile  
 
 Post subject: Re: Puzzle on Gtk FileChooserDialog
PostPosted: Fri Feb 24, 2012 12:30 pm 
Offline
Familiar Face

Joined: Thu Dec 15, 2011 6:23 pm
Posts: 36
Location: Hrvatska
Here is note from GTK3 Devhelp :
Quote:
Note

Old versions of the file chooser's documentation suggested using gtk_file_chooser_set_current_folder() in various situations, with the intention of letting the application suggest a reasonable default folder. This is no longer considered to be a good policy, as now the file chooser is able to make good suggestions on its own. In general, you should only cause the file chooser to show a specific folder when it is appropriate to use gtk_file_chooser_set_filename(), i.e. when you are doing a File/Save As command and you already have a file saved somewhere.


I did not use GTK on WIndows, so I can't help about that.

Cheers !


Top
 Profile  
 
 Post subject: Re: Puzzle on Gtk FileChooserDialog
PostPosted: Mon Feb 27, 2012 5:37 am 
Offline

Joined: Fri Feb 24, 2012 1:37 am
Posts: 2
kepica wrote:
Here is note from GTK3 Devhelp :
Quote:
Note

Old versions of the file chooser's documentation suggested using gtk_file_chooser_set_current_folder() in various situations, with the intention of letting the application suggest a reasonable default folder. This is no longer considered to be a good policy, as now the file chooser is able to make good suggestions on its own. In general, you should only cause the file chooser to show a specific folder when it is appropriate to use gtk_file_chooser_set_filename(), i.e. when you are doing a File/Save As command and you already have a file saved somewhere.


I did not use GTK on WIndows, so I can't help about that.

Cheers !

Thanks anyway!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group