Module fltk::window

source ·
Expand description

Window widgets

Multithreaded applications should always create/show/open/close windows from the main thread (This might or might not work on your specific target, due to fltk calling the underlying platform’s window code. If you want portability, avoid it.) If you need to trigger showing a windows from another thread, use messages to notify the main thread that the window needs showing. An example of this can be found in the threads_windows example. An alternative to that is awake_callback

Structs

An Android window
Creates a double (buffered) window widget
Creates a OpenGL Glut window widget
Creates a Menu window widget
Creates an overlay (buffered) window widget
Creates a single (buffered) window widget

Enums

Defines the window type

Type Definitions

A wrapper around a raw OpenGL context
Alias GlutWindow as GlWindow
Opaque raw window handle (*mut c_void to HWND on Windows and NSWindow on macOS), XID (u64) raw window handle for X11
Creates a window widget