GTK Scale/Volume Buttons Show Muted Icon on Startup
Ron Tarrant
rontarrant at gmail.com
Thu Apr 25 13:19:06 UTC 2019
On Thursday, 25 April 2019 at 12:40:00 UTC, number wrote:
> 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).
Must be a Windows thing, then.
And even explicitly setting it with setValue() doesn't help. The
icon is still wrong on startup.
More information about the Digitalmars-d-learn
mailing list