GtkD Blog Post #0005 Now Live

number putimalitze at gmx.de
Thu Mar 21 13:22:49 UTC 2019


On Tuesday, 29 January 2019 at 21:00:10 UTC, Ron Tarrant wrote:
> Another blog post available at http://gtkdcoding.com
>
> Enjoy!
>

Thank you for these tutorials!

Just want to mention that the code on the page (0005) is not in 
sync with the one on github. In the else branch, the former uses 
'window.setSizeRequest(640, 480)' where the latter uses 
'window.setSizeRequest(-1, -1);' and the comment doesn't make 
sense with the use of -1 because the limit is actually removed.

As for the first code ('Pre-Size a Window'): setSizeRequest() 
might be 'simple' but that doesn't explain what it does, i.e. 
setting a minimum size.


More information about the Digitalmars-d-announce mailing list