Window Manager / Widgets
Create and manage interactive graphical interfaces with emWin
- Create, move, resize, and manage multiple windows
- Handle user input and display updates through callbacks
- Build interfaces with ready-to-use widgets
Overview
The emWin Window Manager provides the foundation for creating and managing window-based graphical user interfaces. It handles window positioning, resizing, layering, and display updates, while an event-driven callback mechanism allows applications to respond to user input and other events.
A comprehensive set of predefined widgets, including buttons, progress bars, and edit boxes, simplifies GUI development. Widgets can be customized to meet application-specific requirements.
Callback mechanism
The Window Manager uses an event-driven callback mechanism to handle user input, drawing operations, and other window-related events. It determines which window is affected and sends the corresponding message to that window's callback function.
For example, when a window needs to be redrawn, the Window Manager sends a WM_PAINTmessage. The application responds by executing the appropriate drawing functions.
Custom callback functions allow developers to control the behavior and appearance of individual windows.
Widgets
emWin provides a wide range of predefined widgets, including buttons, progress bars, edit boxes, and spinboxes. These widgets simplify GUI development by providing ready-to-use interface elements with built-in functionality, such as responding to user input.
Since widgets are implemented as windows, their behavior and appearance can be customized using callback functions.
Get in touch with us
Have questions or need assistance? Our Embedded Experts are here to help!
Reach out to us for:
- Licensing quotes
- Technical inquiries
- Project support