Widget handle() method upon first use calls Fl::visible_focus() which through Fl::option() reads fltk standard preferences (that is (Fl_Preferences::SYSTEM, "fltk.org", "fltk") and (Fl_Preferences::USER, "fltk.org", "fltk")). Fl::option() function (Fl.cxx, line around 1944) just constructs these preferences, uses only get() methods and then destructs these preferences. However upon destruction the preferences are flushed/re-written on the disk. Is that necessary if only get() methods are used and preferences are not changed?
R. _______________________________________________ fltk mailing list firstname.lastname@example.org http://lists.easysw.com/mailman/listinfo/fltk