Widget Arguements

Jack via Digitalmars-d-dwt digitalmars-d-dwt at puremagic.com
Sun May 4 21:32:16 PDT 2014


I'm using the SWT API to learn DWT and saw one thing that I
didn't particularly understand.

Basically in the SWT Documentations the syntax goes like this:

Menu menu = new Menu(shell, SWT.BAR);

While DWT requires an integer for the second arguement.

auto menu = new Menu(shell, 1);

I'm gonna ask, where can I find some documentation or any sort of
hint to know what integer corresponds to what component in DWT.
Thank you.


More information about the Digitalmars-d-dwt mailing list