#[non_exhaustive]#[repr(i32)]pub enum Option {
FrrowFocus = 0,
VisibleFocus = 1,
DndText = 2,
ShowTooltips = 3,
FnfcUsesGtk = 4,
PrinterUsesGtk = 5,
ShowScaling = 6,
FnfcUsesZenity = 7,
}
Expand description
global FLTK options
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
FrrowFocus = 0
When switched on, moving the text cursor beyond the start or end of a text in a text widget will change focus to the next text widget. (This is considered ‘old’ behavior)
When switched off (default), the cursor will stop at the end of the text. Pressing Tab or Ctrl-Tab will advance the keyboard focus.
VisibleFocus = 1
If visible focus is switched on (default), FLTK will draw a dotted rectangle inside the widget that will receive the next keystroke. If switched off, no such indicator will be drawn and keyboard navigation is disabled.
DndText = 2
If text drag-and-drop is enabled (default), the user can select and drag text from any text widget. If disabled, no dragging is possible, however dropping text from other applications still works.
ShowTooltips = 3
If tooltips are enabled (default), hovering the mouse over a widget with a tooltip text will open a little tooltip window until the mouse leaves the widget. If disabled, no tooltip is shown.
FnfcUsesGtk = 4
When switched on (default), Fl_Native_File_Chooser runs GTK file dialogs if the GTK library is available on the platform (linux/unix only). When switched off, GTK file dialogs aren’t used even if the GTK library is available.
PrinterUsesGtk = 5
When switched on (default), Fl_Printer runs the GTK printer dialog if the GTK library is available on the platform (linux/unix only). When switched off, the GTK printer dialog isn’t used even if the GTK library is available.
ShowScaling = 6
When switched on (default), the library shows in a transient yellow window the zoom factor value. When switched off, no such window gets displayed.
FnfcUsesZenity = 7
Meaningful for the Wayland/X11 platform only. When switched on (default), the library uses a Zenity-based file dialog. When switched off, the GTK file dialog is used instead.