AgsDial
AgsDial — A dial widget
|
|
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkObject
╰── GtkWidget
╰── AgsDial
Includes
#include <ags/widget/ags_dial.h>
Description
AgsDial is a widget representing a GtkAdjustment.
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
Types and Values
AGS_DIAL_DEFAULT_PRECISION
#define AGS_DIAL_DEFAULT_PRECISION (8.0)
AGS_DIAL_DEFAULT_RADIUS
#define AGS_DIAL_DEFAULT_RADIUS (8)
AGS_DIAL_DEFAULT_OUTLINE_STRENGTH
#define AGS_DIAL_DEFAULT_OUTLINE_STRENGTH (4)
AGS_DIAL_DEFAULT_BUTTON_WIDTH
#define AGS_DIAL_DEFAULT_BUTTON_WIDTH (10)
AGS_DIAL_DEFAULT_MARGIN
#define AGS_DIAL_DEFAULT_MARGIN (4.0)
AGS_DIAL_DEFAULT_HEIGHT
#define AGS_DIAL_DEFAULT_HEIGHT (2 * (AGS_DIAL_DEFAULT_RADIUS + AGS_DIAL_DEFAULT_OUTLINE_STRENGTH + 1))
AGS_DIAL_DEFAULT_WIDTH
#define AGS_DIAL_DEFAULT_WIDTH (2 * (AGS_DIAL_DEFAULT_BUTTON_WIDTH + AGS_DIAL_DEFAULT_MARGIN + AGS_DIAL_DEFAULT_RADIUS + AGS_DIAL_DEFAULT_OUTLINE_STRENGTH + 2))
Property Details
The “adjustment”
property
“adjustment” GObject *
The adjustment it is assigned with.
Flags: Read / Write
Since: 0.7.21
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)
Flags: Run Last