| Top |  |  |  |  | 
| GtkWidget * | inf_text_gtk_hue_chooser_new () | 
| GtkWidget * | inf_text_gtk_hue_chooser_new_with_hue () | 
| void | inf_text_gtk_hue_chooser_set_hue () | 
| gdouble | inf_text_gtk_hue_chooser_get_hue () | 
InfTextGtkHueChooser is a widget which allows the user to select a hue value without selecting also saturation and lightness at the same time. It only presents the hue circle without the inner triangle.
GtkWidget *
inf_text_gtk_hue_chooser_new (void);
Creates a new InfTextGtkHueChooser widget with the initial hue set to 0.0 (red).
[constructor]
GtkWidget *
inf_text_gtk_hue_chooser_new_with_hue (gdouble hue);
Creates a new InfTextGtkHueChooser widget with the given hue as initial
value. hue
 must be between 0.0 and 1.0.
[constructor]
void inf_text_gtk_hue_chooser_set_hue (InfTextGtkHueChooser *chooser,gdouble hue);
Sets the current hue value of chooser
 to hue
. hue
 must be between 0.0
and 1.0.
gdouble
inf_text_gtk_hue_chooser_get_hue (InfTextGtkHueChooser *chooser);
Returns the currently selected hue value of chooser
.
struct InfTextGtkHueChooser;
InfTextGtkHueChooser is an opaque data type. You should only access it via the public API functions.
struct InfTextGtkHueChooserClass {
  void(*hue_change)(InfTextGtkHueChooser* chooser,
                    gdouble hue);
  void(*move)(InfTextGtkHueChooser* chooser,
              GtkDirectionType direction);
};
This structure contains default signal handlers of the InfTextGtkHueChooser class.
| Default signal handler for the “hue-change” signal. | ||
| Default signal handler for the “move” signal. | 
“hue-change” signalvoid user_function (InfTextGtkHueChooser *chooser, gdouble hue, gpointer user_data)
This signal is emitted whenever the hue value is changed.
| chooser | The InfTextGtkHueChooser emitting the signal. | |
| hue | The new hue value. | |
| user_data | user data set when the signal handler was connected. | 
Flags: Run Last
“move” signalvoid user_function (InfTextGtkHueChooser *chooser, GtkDirectionType direction, gpointer user_data)
This is an action signal emitted when the selection is moved by the user.
| chooser | The InfTextGtkHueChooser emitting the signal. | |
| direction | The direction in which the move was mode. | |
| user_data | user data set when the signal handler was connected. | 
Flags: Action