GtkD button size

Mike Wey mike-wey at example.com
Tue Feb 5 13:40:19 PST 2013


On 02/05/2013 08:48 PM, SaltySugar wrote:
>
> Thank you, Mike. One more question. Can I use hbox.add(btn); instead of
> hbox.packStart (btn,false,false,5);
> What difference between them?
> Sorry, for my bad English.

hbox.add would call packStart with the defaults, witch would be 
packStart(btn, true, true, 0); Changing packStart to add in the small 
example i posted it appears to stay the same.

-- 
Mike Wey


More information about the Digitalmars-d-learn mailing list