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
- GlutWindow
enable-glwindow
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 Aliases
- A wrapper around a raw OpenGL context
- GlWindow
enable-glwindow
Alias GlutWindow as GlWindow - RawHandleNeither Windows nor macOS nor iOS nor Android nor
use-wayland
and (AArch64 or LoongArch LA64 or MIPS-64 or PowerPC-64 or s390x or SPARC64 or x86-64)Opaque raw window handle (*mut c_void
toHWND
on Windows andNSWindow
on macOS),XID
(u64
) raw window handle for X11, andwl_suface *
for wayland - Creates a window widget