digitalmars.D.learn - Need help to understand how to work with tkd
- Suliman (19/19) Feb 18 2015 Now I am trying to learn how to build GUI apps in D. But I have
- Kagamin (2/2) Feb 18 2015 Yeah, the docs navigation sucks
- Suliman (2/2) Feb 18 2015 For my regret I need example to understand how to work with шею
- Gary Willoughby (5/7) Feb 18 2015 Read the README file in the repository. Then fully read the
Now I am trying to learn how to build GUI apps in D. But I have some troubles. http://code.dlang.org/packages/tkd 1. I can't understand how to set window size in example on page above. I looked at docs and found only how to create new window. But here I do not see any procedure that create window and set it's params. I see only initInterface. 2. Do I right understand that all GUI stuff should be placed only in: class Application : TkdApplication 3. I need to get file name from dialog and use it's for example in main override protected void initInterface() { ... string fileToOpen = dialog.getResult(); } How I can get fileToOpen from main or another instance. Could you show example?
Feb 18 2015
Yeah, the docs navigation sucks http://htmlpreview.github.io/?https://github.com/nomad-software/tkd/master/docs/tkd/tkdapplication.html
Feb 18 2015
For my regret I need example to understand how to work with шею Could you show me at last passing fileToOpen to another instance?
Feb 18 2015
On Wednesday, 18 February 2015 at 08:19:25 UTC, Suliman wrote:Now I am trying to learn how to build GUI apps in D. But I have some troubles.Read the README file in the repository. Then fully read the documentation inside the `docs` folder. Then there is an example application in `source/example/example.d` which shows you everything you've asked for. At least try and help yourself!
Feb 18 2015