BtPianoKeys

BtPianoKeys — a piano keyboard widget

Functions

GtkWidget * bt_piano_keys_new ()

Signals

Types and Values

struct BtPianoKeys

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── BtPianoKeys

Implemented Interfaces

BtPianoKeys implements AtkImplementorIface and GtkBuildable.

Includes

#include "bt-edit.h"

Description

A musical piano keyboard widget.

Functions

bt_piano_keys_new ()

GtkWidget *
bt_piano_keys_new (void);

Create a new piano keys widget.

Returns

the widget

Types and Values

struct BtPianoKeys

struct BtPianoKeys;

waveform view widget

Signal Details

The “key-pressed” signal

void
user_function (BtPianoKeys *self,
               GstBtNote    key,
               gpointer     user_data)

Signals that a piano key was pressed.

Parameters

self

the piano-keys object that emitted the signal

 

key

the key note number

 

user_data

user data set when the signal handler was connected.

 

Flags: No Hooks


The “key-released” signal

void
user_function (BtPianoKeys *self,
               GstBtNote    key,
               gpointer     user_data)

Signals that a piano key was released.

Parameters

self

the piano-keys object that emitted the signal

 

key

the key note number

 

user_data

user data set when the signal handler was connected.

 

Flags: No Hooks

See Also

BtMachinePropertiesDialog