Signal

AgsGuiPiano::key-pressed

since: 3.0.0

Declaration

void
key_pressed (
  AgsPiano* self,
  gchar* note,
  gint key_code,
  gpointer user_data
)

Description [src]

The ::key-pressed signal notifies about key pressed.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Available since: 3.0.0

Parameters

note

Type: gchar*

The note as string.

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

Type: gint

The numeric representation of the note.