Expand description
Dialog widgets
Structs§
- File
Chooser - FLTK’s own
FileChooser
. Which differs for the NativeNativeFileChooser
Example: - File
Chooser Type - The types of FileChooser
- Help
Dialog - Creates a help dialog
- Native
File Chooser - FLTK’s
NativeFileChooser
- Native
File Chooser Options - Defines the File dialog options, which can be set using the
set_option()
method.
Enums§
- Beep
Type - Defines the type of beep to be passed to the beep function
- Color
Mode - Color modes to be used with the color chooser
- Native
File Chooser Action - Rusult of
try_show
- Native
File Chooser Type - Defines the type of dialog, which can be changed dynamically using the
set_type()
method
Functions§
- alert
- Displays an alert box
- beep
- Emits a beep
- choice
- Displays a choice box with up to three choices. Closing the dialog returns None. Choosing a value returns its index from the arguments.
- color_
chooser - Spawns a color chooser dialog.
- color_
chooser_ with_ default - Spawns a color chooser dialog.
- dir_
chooser - Shows a directory chooser returning a String
- file_
chooser - Shows a file chooser returning a String.
The pattern field takes the same argument the
FileChooser::set_filter
method. Example: - input
- Displays an input box, which returns the inputted string. Can be used for gui io
- message
- Displays a message box
- message_
hotspot - Get whether hotspot is enabled for FLTK’s dialog boxes
- message_
icon - Get the frame holding the icon of FLTK’s dialog boxes
- message_
icon_ label - Set the next dialog’s icon label
- message_
position - Set the next dialog’s position
- message_
set_ font - Set the font and font size of FLTK’s dialog boxes
- message_
set_ hotspot - Set whether hotspot is enabled for FLTK’s dialog boxes
- message_
title - Set the next dialog’s title
- message_
title_ default - Set the default title for a dialog
- password
- Shows an input box, but with hidden string