Expand description
Window creation / interaction with the OS’ windowing API
Structs§
- Android
Handle - AzString
Pair - Call
Callbacks Result - Cursor
Type HitTest - Debug
State - Toggles webrender debug flags (will make stuff appear on the screen that you might not want to - used for debugging purposes)
- Full
HitTest - Full
Window State - IOSHandle
- IconKey
- Key that is used for checking whether a window icon has changed -
this way azul doesn’t need to diff the actual bytes, just the icon key.
Use
IconKey::new()
to generate a new, unique key - Keyboard
State - Determines which keys are pressed currently (modifiers, etc.)
- Large
Window Icon Bytes - 16x16x4 bytes icon
- Linux
Window Options - Logical
Position - Logical
Rect - Logical
Rect Vec - Logical
Size - MacOS
Handle - MacWindow
Options - Menu
- Menu struct (context menu, dropdown menu, context menu)
- Menu
Callback - Menu callback: What data / function pointer should be called when the menu item is clicked?
- Menu
Item Vec - Monitor
- Monitor
Vec - Mouse
State - Mouse position, cursor type, user scroll input, etc.
- Physical
Position - Physical
Size - Platform
Specific Options - Renderer
Options - Scan
Code Vec - Scroll
Result - Scroll
State - Scroll
States - Small
Window Icon Bytes - 16x16x4 bytes icon
- String
Menu Item - String
Pair Vec - Task
BarIcon - 256x256x4 bytes window icon
- Touch
State - Video
Mode - Video
Mode Vec - Virtual
KeyCode Combo - Virtual
KeyCode Vec - Wasm
Window Options - Wayland
Handle - Wayland
Theme - WebHandle
- Window
Create Options - Window
Flags - Window
Id - Each default callback is identified by its ID (not by it’s function pointer), since multiple IDs could point to the same function.
- Window
Internal - Window
Internal Init - Window
Size - Window
State - Windows
Handle - Windows
Window Options - XWindow
Type Vec - XcbHandle
- Xlib
Handle
Enums§
- Accelerator
Key - Utility function for easier creation of a keymap - i.e.
[vec![Ctrl, S], my_function]
- Context
Menu Mouse Button - Cursor
Position - Full
Screen Mode - HwAcceleration
- ImePosition
- Logical
Rect VecDestructor - Menu
Item - Menu
Item Icon - Menu
Item State - Describes the state of the menu
- Menu
Item VecDestructor - Menu
Popup Position - Position of where the menu should popup on the screen
- Monitor
VecDestructor - Mouse
Cursor Type - Option
Char - Option
Hwnd Handle - Option
Keyboard State - Option
Logical Position - Option
Logical Size - Option
Menu - Option
Menu Callback - Option
Menu Item Icon - Option
Mouse Cursor Type - Option
Mouse State - Option
Physical Position I32 - Option
Physical Size F32 - Option
Physical Size U32 - Option
Renderer Options - Option
Renderer Type - Option
String Pair Vec - Option
Task BarIcon - Option
Virtual KeyCode - Option
Virtual KeyCode Combo - Option
Wayland Theme - Option
Window Icon - Option
Window State - Option
Window Theme - Option
X11Visual - Process
Event Result - RawWindow
Handle - Renderer
Type - Scan
Code VecDestructor - Srgb
- String
Pair VecDestructor - Update
Focus Warning - User
Attention Type - Video
Mode VecDestructor - Virtual
KeyCode - Symbolic name for a keyboard key, does NOT take the keyboard locale into account
- Virtual
KeyCode VecDestructor - Vsync
- Window
Frame - Window
Icon - Window
Position - Window
Theme - State, size, etc of the window, for comparing to the last frame
- XWindow
Type - X window type. Maps directly to
_NET_WM_WINDOW_TYPE
. - XWindow
Type VecDestructor
Constants§
Functions§
- update_
full_ window_ state - Overwrites all fields of the
FullWindowState
with the fields of theWindowState
, but leaves the extra fields such as.hover_nodes
untouched
Type Aliases§
- Physical
Position I32 - Physical
Size F32 - Physical
Size U32 - Scan
Code - Hardware-dependent keyboard scan code.