Roman Kantor
2013-03-20 12:45:28 UTC
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.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.