getOption

fnbool getOption(Option opt) nothrow @nogc @trusted

Gets an FLTK option value.

Parameters

optOption to query

Returns

true if option is enabled, false otherwise

Example:

if (getOption(Option.VISIBLE_FOCUS)) {
   writeln("Visible focus is enabled");
}