Copyright (C) 2000-2012 |
Whole document tree
GtkDialSynopsis
DescriptionThis 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. Detailsgtk_dial_new ()
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. gtk_dial_get_adjustment ()
Retrieves the GtkAdjustment associated with the GtkDial dial. gtk_dial_set_update_policy ()
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. gtk_dial_set_adjustment ()
Associates a new GtkAdjustment with GtkDial dial widget. The old adjustment is removed and replaced with the new. gtk_dial_set_percentage ()
Sets the GtkDial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created. gtk_dial_get_percentage ()
Retrieves the current percentage held in the dial widget. gtk_dial_set_value ()
Sets the current value held in the GtkDial's adjustment object to value. gtk_dial_get_value ()
Retrieves the current value helt in the dial widget. gtk_dial_set_view_only ()
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. |