FLTK logo

Re: [fltk/fltk] Fl_Native_File_Chooser directory not working (#193)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] Fl_Native_File_Chooser directory not working (#193) erco77 Feb 22, 2021  
 

Need more details:

  • Native file chooser uses the local native file chooser on each platform, so knowing which platform is important in this case
  • Are you opening a directory chooser or a file chooser
  • Which version of fltk? I think there were some fixes in 1.4.x, so check that

I believe it works this way:

  • directory() for setting the directory of the directory chooser (e.g. Fl_Native_File_Chooser::BROWSE_DIRECTORY).
  • preset_filename() is used for presetting the filename for the file chooser (e.g. Fl_Native_File_Chooser::BROWSE_FILE), and if a directory name is specified instead of a filename, the directory is shown

If it's a bug, it's probably platform specific, so knowing which platform is really important.
Also, see if you can replicate the problem with the test/native-chooser program.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.