On 10.10.2011, at 23:46, david mcclanahan wrote: > I want to preseed the list of directories under "Favorites" with a directory > containing some sample files that gets determined at install time. I don't > see any obvious way to allow to do it and wanted to make sure that was the > case. There is an underlying Fl_Prefs object but it's private(FLTK ver > 1.3.0). I may see if I can modify the underlying file if I can determine > where it is in a stable manner. > > > Anyway is this purposely done? Someone went to a lot of trouble to allow one > to relabel buttons and such so I find it hard to believe you can't > programmatically change items in that menu.
You can change items in the menu, but it is not a good practice. This menu is meant for the user, because it is used in all FLTK apps, not just in your own app. You can access the file using Fl_Preferences(Fl_Preferences::USER, "fltk.org", "filechooser"); _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk