mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-01 18:51:04 +02:00
feat(custom): option to toggle slider label
Adds new `show_label` option. Resolves #115 (for real this time).
This commit is contained in:
parent
dc16b1e15a
commit
033d0f7e6e
2 changed files with 4 additions and 0 deletions
|
@ -87,6 +87,7 @@ If your input program requires an integer, you will need to round it.
|
|||
| `max` | `float` | `100` | Maximum slider value. |
|
||||
| `step` | `float` | - | The increment to change when scrolling with the mouse wheel. If left blank, will use the default determined by the environment. |
|
||||
| `length` | `integer` | `null` | Slider length. GTK will automatically size if left unset. |
|
||||
| `show_label` | `boolean` | `true` | Whether to show the value label above the slider. |
|
||||
|
||||
The example slider widget below shows a volume control for MPC,
|
||||
which updates the server when changed, and polls the server for volume changes to keep the slider in sync.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue