mirror of
https://github.com/fltk/fltk.git
synced 2026-05-30 21:25:30 +08:00
Fix for issue #278: Can we use the qt/kde file picker instead of gtk?
Under the X11 platform, class Fl_Native_File_Chooser will behave as follows : - if the KDE desktop is used and if command "kdialog" is available in the path, the Qt/KDE file chooser is used; - otherwise, if the GTK library is available at run-time, the GTK file chooser is used; - otherwise, the FLTK file chooser is used. In addition, when Fl::OPTION_FNFC_USES_GTK is off, the FLTK file chooser is always used.
This commit is contained in:
@@ -27,7 +27,9 @@
|
||||
|
||||
class Fl_Native_File_Chooser_FLTK_Driver <== this API implementation is the default FLTK file chooser
|
||||
class Fl_GTK_Native_File_Chooser_Driver <== this API implementation runs a GTK file chooser
|
||||
class Fl_Kdialog_Native_File_Chooser_Driver <== this API implementation runs a KDE file chooser
|
||||
it is determined at run-time if the GTK dynamic libraries are available
|
||||
and the KDE file chooser runs under the KDE desktop
|
||||
|
||||
class Fl_Quartz_Native_File_Chooser_Driver <== this API implementation runs a Mac OS X file chooser
|
||||
|
||||
|
||||
Reference in New Issue
Block a user