Free Electron
Window Design

Purpose

The goal of the window system is to manipulate native windows and provide abstracted messages from the underlying events. The platform-specific events are translated into generalized signals.

Classes

window.jpg

Signals

Instead of the typical massive enumeration of all possible event combinations, the events are interpreted in a source-item-state form. This makes them much easier to use in mask-style operations.

In addition, the current mouse position and mouse button state is attached to every event, if available.

For details, see fe::WindowEvent.