On Wed, 09 Oct 2019 18:32:46 GMT, Ron Tarrant wrote:
Mike's away, so I whipped up a quick demo (which will now, eventually, go on my blog as well). It's not too difficult, just a call to setIconFromFile() as you can see in the TestRigWindow class:
I forgot to mention...
You'll have to provide your own image file. The one I used here is 35 x 35 pixels. Just make sure the path is correct, and you'll be in business.
Also, you'll note that the directory/folder separator is the '/' instead of the Windows separator ''. Internally, D makes allowances for the different slashes. Either works, no matter if you're on Windows, Linux, another UNIX-alike, Mac, what-have-you.
And welcome to GtkD.