AgsMeter

AgsMeter — piano widget

Functions

Types and Values

#define AGS_TYPE_METER
struct AgsMeter
struct AgsMeterClass

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkDrawingArea
                    ╰── AgsMeter

Implemented Interfaces

AgsMeter implements AtkImplementorIface, GtkBuildable and AgsConnectable.

Includes

#include <ags/X/editor/ags_meter.h>

Description

The AgsMeter draws you a piano.

Functions

ags_meter_sound_string ()

char *
ags_meter_sound_string ();

ags_meter_paint ()

void
ags_meter_paint (AgsMeter *meter);

ags_meter_new ()

AgsMeter *
ags_meter_new ();

Create a new AgsMeter.

Returns

a new AgsMeter

Since: 1.0.0


AGS_IS_METER()

#define AGS_IS_METER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_METER))

AGS_METER()

#define AGS_METER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_METER, AgsMeter))

AGS_METER_CLASS()

#define AGS_METER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_METER, AgsMeterClass))

AGS_METER_GET_CLASS()

#define AGS_METER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_METER, AgsMeterClass))

ags_meter_get_type ()

GType
ags_meter_get_type (void);

Types and Values

AGS_TYPE_METER

#define AGS_TYPE_METER                (ags_meter_get_type())

struct AgsMeter

struct AgsMeter;

struct AgsMeterClass

struct AgsMeterClass {
  GtkDrawingAreaClass drawing_area;
};