Virtual Method

AgsGuiPianokey_pressed

since: 3.0.0

Declaration [src]

void
key_pressed (
  AgsPiano* piano,
  gchar* note,
  gint key_code
)

Description [src]

Emits ::key-pressed event.

Available since: 3.0.0

Parameters

note

Type: gchar*

The string representation of key.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
key_code

Type: gint

The key code.