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§

Enums§

Type Aliases§

  • A wrapper around a raw OpenGL context
  • GlWindowenable-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 to HWND on Windows and NSWindow on macOS), XID (u64) raw window handle for X11, and wl_suface * for wayland
  • Creates a window widget