GimpUi.SpinScale¶
- Subclasses:
 None
Methods¶
- Inherited:
 GimpUi.SpinButton (2), Gtk.SpinButton (24), Gtk.Entry (76), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.CellEditable (3), Gtk.Editable (13), Gtk.Orientable (2)
- Structs:
 
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
Virtual Methods¶
Properties¶
- Inherited:
 Gtk.SpinButton (8), Gtk.Entry (51), Gtk.Widget (39), Gtk.CellEditable (1), Gtk.Orientable (1)
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w  | 
Style Properties¶
- Inherited:
 
Signals¶
Fields¶
Class Details¶
- class GimpUi.SpinScale(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod new(adjustment, label, digits)¶
 - Parameters:
 adjustment (
Gtk.Adjustment) –label (
str) –digits (
int) –
- Return type:
 
- get_mnemonic_keyval()¶
 - Returns:
 the keyval usable for accelerators, or [const`Gdk`.KEY_VoidSymbol].
- Return type:
 
If self has been set with a mnemonic key in its label text, this function returns the keyval used for the mnemonic accelerator.
- set_constrain_drag(constrain)¶
 - Parameters:
 constrain (
bool) – whether constraining to integer values when dragging with pointer.
If constrain_drag is
True, dragging the scale with the pointer will only result into integer values. It will still possible to set the scale to fractional values (if the spin scale “digits” is above 0) for instance with keyboard edit.
- unset_scale_limits()¶