Update docs with `max_delta` and `min_delta` for sliders

pull/20/head
Leonti Bielski 2022-09-11 18:46:10 +10:00 zatwierdzone przez GitHub
rodzic 1903460085
commit 2df7d1b0ef
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -1867,6 +1867,8 @@ Optional keyword only arguments:
* `args=[]` A list/tuple of arguments for above callback.
* `value=0.0` The initial value: slider will be at the bottom (v), left (h).
* `active=True` Determines whether the control can accept user input.
* `min_delta=0.01` Minimim value increment
* `max_delta=0.1` Maximum value increment (long button presses)
Methods:
* `greyed_out` Optional Boolean argument `val=None`. If `None` returns the