GTK Scale/Volume Buttons Show Muted Icon on Startup
number
putimalitze at gmx.de
Thu Apr 25 12:40:00 UTC 2019
On Thursday, 25 April 2019 at 11:36:26 UTC, Ron Tarrant wrote:
> When running this example of a VolumeButton, ...
When using `setValue(initialValue)` after `setAdjustment()` the
scale seems have the correct value. If in addition the Adjustment
is created with an initial value different from the
`initialValue` used with `setValue()` then the icons are also
correct on startup. Though I don't know why that is. The loading
issue doesn't happen here (on linux).
More information about the Digitalmars-d-learn
mailing list