AgsDial
AgsDial — A dial widget
|
|
Description
AgsDial is a widget representing a GtkAdjustment.
Details
AGS_DIAL_DEFAULT_PRECISION
#define AGS_DIAL_DEFAULT_PRECISION (8.0)
struct AgsDial
struct AgsDial {
GtkWidget widget;
guint flags;
guint radius;
guint outline_strength;
guint scale_precision;
guint font_size;
gint button_width;
gint button_height;
gint margin_left;
gint margin_right;
gdouble tolerance;
gdouble negated_tolerance;
gint sleep_interval;
GtkAdjustment *adjustment;
gdouble gravity_x;
gdouble gravity_y;
gdouble current_x;
gdouble current_y;
};
struct AgsDialClass
struct AgsDialClass {
GtkWidgetClass widget;
};
enum AgsDialFlags
typedef enum {
AGS_DIAL_WITH_BUTTONS = 1,
AGS_DIAL_MOUSE_BUTTON_PRESSED = 1 << 1,
AGS_DIAL_BUTTON_DOWN_PRESSED = 1 << 2,
AGS_DIAL_BUTTON_UP_PRESSED = 1 << 3,
AGS_DIAL_MOTION_CAPTURING_INIT = 1 << 4,
AGS_DIAL_MOTION_CAPTURING = 1 << 5,
AGS_DIAL_IDLE = 1 << 6,
} AgsDialFlags;
ags_dial_new ()
AgsDial * ags_dial_new ();
Creates an AgsDial
Since 0.4