AgsDial
AgsDial — A dial widget
|
|
Implemented Interfaces
AgsDial implements
AtkImplementorIface and GtkBuildable.
Includes
#include <ags/widget/ags_dial.h>
Functions
ags_dial_draw ()
void
ags_dial_draw (AgsDial *dial
);
draws the widget
Since: 0.4.0
ags_dial_value_changed ()
void
ags_dial_value_changed (AgsDial *dial
);
ags_dial_new ()
AgsDial *
ags_dial_new ();
Creates an AgsDial
Since: 0.4
AGS_DIAL()
#define AGS_DIAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DIAL, AgsDial))
AGS_DIAL_CLASS()
#define AGS_DIAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_DIAL, AgsDialClass))
AGS_DIAL_GET_CLASS()
#define AGS_DIAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_DIAL, AgsDialClass))
AGS_IS_DIAL()
#define AGS_IS_DIAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DIAL))
AGS_IS_DIAL_CLASS()
#define AGS_IS_DIAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DIAL))
ags_dial_get_type ()
GType
ags_dial_get_type (void
);
Types and Values
AGS_DIAL_DEFAULT_PRECISION
#define AGS_DIAL_DEFAULT_PRECISION (8.0)
AGS_TYPE_DIAL
#define AGS_TYPE_DIAL (ags_dial_get_type())
struct AgsDial
struct AgsDial;
struct AgsDialClass
struct AgsDialClass {
GtkWidgetClass widget;
void (*value_changed)(AgsDial *dial);
};
Property Details
The “adjustment”
property
“adjustment” GObject *
The adjustment it is assigned with.
Flags: Read / Write
The “scale-precision”
property
“scale-precision” guint
The precision of the scale.
Flags: Read / Write
Default value: 8
Since: 0.7.21
Signal Details
The “value-changed”
signal
void
user_function (AgsDial *dial,
gpointer user_data)
The ::value-changed signal notifies adjustment value changed.
Flags: Run Last