morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::KeyBinding Struct Reference

A keyboard chord a node handles while focus is inside it. More...

#include <view.hpp>

Public Attributes

std::string chord
 The chord: modifiers (Ctrl, Shift, Alt, Meta) joined to a key name, such as "Ctrl+S".
Action onPress
 Called when the chord is pressed.

Detailed Description

A keyboard chord a node handles while focus is inside it.

Definition at line 339 of file view.hpp.

Member Data Documentation

◆ chord

std::string morph::ui::KeyBinding::chord

The chord: modifiers (Ctrl, Shift, Alt, Meta) joined to a key name, such as "Ctrl+S".

Definition at line 341 of file view.hpp.

◆ onPress

Action morph::ui::KeyBinding::onPress

Called when the chord is pressed.

Definition at line 343 of file view.hpp.


The documentation for this struct was generated from the following file: