A spin control tied to a specific setting. More...
Public Member Functions | |
| def | __init__ (self, parent, id, settings, key, choices) |
| def | OnChange (self, event) |
Public Attributes | |
| key | |
| settings | |
Private Member Functions | |
| def | _get_size (self, max_value) |
| In Linux with GTK3 wxPython 4, there was not enough spacing. More... | |
| def | _get_value (self) |
| def | _set_value (self, value) |
A spin control tied to a specific setting.
Saves value to disk after edit.
Definition at line 117 of file preferences_dialogs.py.
| def robotide.ui.preferences_dialogs.PreferencesSpinControl.__init__ | ( | self, | |
| parent, | |||
| id, | |||
| settings, | |||
| key, | |||
| choices | |||
| ) |
Definition at line 119 of file preferences_dialogs.py.
|
private |
In Linux with GTK3 wxPython 4, there was not enough spacing.
The value 72 is there for 2 digits numeric lists, for IntegerPreferenceComboBox. This issue only occurs in Linux, for Mac and Windows using default size.
Definition at line 145 of file preferences_dialogs.py.
|
private |
Definition at line 135 of file preferences_dialogs.py.
|
private |
Definition at line 154 of file preferences_dialogs.py.
| def robotide.ui.preferences_dialogs.PreferencesSpinControl.OnChange | ( | self, | |
| event | |||
| ) |
Definition at line 150 of file preferences_dialogs.py.
| robotide.ui.preferences_dialogs.PreferencesSpinControl.key |
Definition at line 121 of file preferences_dialogs.py.
| robotide.ui.preferences_dialogs.PreferencesSpinControl.settings |
Definition at line 120 of file preferences_dialogs.py.