Constructor

AgsGuiPianonew

since: 3.0.0

Declaration [src]

AgsPiano*
ags_piano_new (
  GtkOrientation orientation,
  guint key_width,
  guint key_height
)

Description [src]

Create a new instance of AgsPiano.

Available since: 3.0.0

Parameters

orientation

Type: GtkOrientation

The GtkOrientation.

key_width

Type: guint

The width of one key.

key_height

Type: guint

The height of one key.

Return value

Type: AgsPiano

The new AgsPiano instance.

The data is owned by the called function.