InfTextGtk.HueChooser¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
class  | 
  | 
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
  | 
|
  | 
Properties¶
- Inherited:
 
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w/c  | 
The current hue value  | 
Style Properties¶
- Inherited:
 
Signals¶
- Inherited:
 
Name  | 
Short Description  | 
|---|---|
This signal is emitted whenever the hue value is changed.  | 
|
This is an action signal emitted when the selection is moved by the user.  | 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
Class Details¶
- class InfTextGtk.HueChooser(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
InfTextGtk.HueChooseris an opaque data type. You should only access it via the public API functions.- classmethod new()¶
 - Returns:
 A newly created
InfTextGtk.HueChooser.- Return type:
 
Creates a new
InfTextGtk.HueChooserwidget with the initial hue set to 0.0 (red).
- classmethod new_with_hue(hue)¶
 - Parameters:
 hue (
float) – Initial hue value- Returns:
 A newly created
InfTextGtk.HueChooser.- Return type:
 
Creates a new
InfTextGtk.HueChooserwidget with the given hue as initial value. hue must be between 0.0 and 1.0.
- get_hue()¶
 - Returns:
 The current hue value, a number between 0.0 and 1.0.
- Return type:
 
Returns the currently selected hue value of self.
- set_hue(hue)¶
 - Parameters:
 hue (
float) – New hue value.
Sets the current hue value of self to hue. hue must be between 0.0 and 1.0.
- do_hue_change(hue) virtual¶
 - Parameters:
 hue (
float) –
Default signal handler for the
InfTextGtk.HueChooser::hue-changesignal.
- do_move(direction) virtual¶
 - Parameters:
 direction (
Gtk.DirectionType) –
Default signal handler for the
InfTextGtk.HueChooser::movesignal.
Signal Details¶
- InfTextGtk.HueChooser.signals.hue_change(hue_chooser, hue)¶
 - Signal Name:
 hue-change- Flags:
 - Parameters:
 hue_chooser (
InfTextGtk.HueChooser) – The object which received the signalhue (
float) – The new hue value.
This signal is emitted whenever the hue value is changed.
- InfTextGtk.HueChooser.signals.move(hue_chooser, direction)¶
 - Signal Name:
 move- Flags:
 - Parameters:
 hue_chooser (
InfTextGtk.HueChooser) – The object which received the signaldirection (
Gtk.DirectionType) – The direction in which the move was mode.
This is an action signal emitted when the selection is moved by the user.