Skip to main content
  • Products
  • Evaluate our Software
  • Downloads
  • Free Utilities
  • Purchase
  • Support
  • About Us
  • Blog
  • Forum
  • Search
  • Jobs
  • Newsletter
  • Contact Us
  • Shop
  • emWin
  • Window Manager / Widgets
  • Technology
  • Demos
  • Add-ons
  • Tools
  • emWin Source Upgrade

Window Manager / Widgets

The Window Manager provides a set of routines that allow you to easily create, move, resize, and otherwise manipulate any number of windows. It also offers low-level support by managing the layering of windows on the display and notifying your application of display changes that affect its windows.

Contact us
Downloads
Documentation
SEGGER emWin

Callback Mechanism

The callback mechanism offers users an event-driven system for windows and window objects (widgets). For nearly every possible event—such as touch input, drawing, or key input—the window manager determines which window is affected (e.g., a touch input within a window’s area) and sends a message to that window. Within the callback function, the user can react to these messages and define the appropriate response.

For example, when a window becomes invalid, the window manager sends a paint message (WM_PAINT) to trigger a repaint. The user can then respond to this paint message by calling the appropriate drawing functions to define the appearance of the window.

This mechanism gives the user full control over the behavior and appearance of each window. This can easily be achieved by assigning a custom callback function.


Widgets

The Window Manager includes widgets (window objects) that provide the user with a wide range of elements such as buttons, progress bars, edit boxes, spinboxes, and more. These widgets are windows with predefined behavior—for example, a button responds to touch input.

Since widgets are still windows, they can be configured just like any other window, simply by assigning a custom callback function.

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

 

Contact us

  • User manual
  • Online documentation
  • Knowledge Base
  • List of downloads
  • Release notes
  • Update notification
  • Pricing
  • Support
  • Silicon vendor resources

Headquarters

SEGGER Microcontroller GmbH

Ecolab-Allee 5
40789 Monheim am Rhein, Germany
info@segger.com
Tel.: +49-2173-99312-0
Fax: +49-2173-99312-28

Locations

USA: SEGGER Microcontroller Systems LLC

Boston area
101 Suffolk Lane
Gardner, MA 01440, USA
us-east@segger.com
Tel.: +1-978-874-0299
Fax: +1-978-874-0599

Silicon Valley
Milpitas, CA 95035, USA
us-west@segger.com
Tel.: +1-408-767-4068

China: SEGGER Microcontroller China Co., Ltd.

Room 218, Block A, Dahongqiaoguoji
No. 133 Xiulian Road
Minhang District, Shanghai 201199, China
china@segger.com
Tel.: +86-133-619-907-60

ISO 9001 certified

ISO 9001

30+ years of experience

First-class embedded software tools since 1992
  • Imprint
  • Disclaimer
  • Privacy Policy
© 2025 SEGGER - All rights reserved.