_PianoKeyboardWidget struct
#include <gui/widgets/piano_keyboard.h>
Piano Keyboard widget.
Contents
- Reference
Public variables
- int num_keys
- Number of visible keys (1-128).
- int start_key
- 0-127.
- bool scrollable
- When true, start key can change and when false the keys are fixed.
- bool playable
- Whether clicking on keys plays them.
- bool editable
- Whether clicking on keys "enables" them.
- GtkOrientation orientation
- Horizontal/vertical.
- int chord_idx
- Chord index, if this widget is for a chord key.