#include <gnome.h> struct GtkDial;
This widget provides an analog dial widget, similar to, for example, a physical volume control on a stereo. Dial values can be changable or read-only for value reporting.
This function creates a new GtkDial widget, and ties it to a specified GtkAdjustment. When the dial is moved, the adjustment is updated, and vice-versa.
Retrieves the GtkAdjustment associated with the GtkDial dial.
void gtk_dial_set_update_policy (GtkDial *dial,
Sets the update policy of the GtkDial dial to one of either GTK_UPDATE_CONTINUOUS, GTK_UPDATE_DISCONTINUOUS, or GTK_UPDATE_DELAYED. Please see Gtk+ documentation for an explanation of these values.
void gtk_dial_set_adjustment (GtkDial *dial,
Associates a new GtkAdjustment with GtkDial dial widget. The old adjustment is removed and replaced with the new.
Sets the GtkDial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
Retrieves the current percentage held in the dial widget.
Sets the current value held in the GtkDial's adjustment object to value.
Retrieves the current value helt in the dial widget.
void gtk_dial_set_view_only (GtkDial *dial,
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the value represented.