www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Working Windows GUI library?

reply Andre Polykanine via Digitalmars-d-learn writes:
Hi everyone,
Does   anyone   of   you  work  with a Windows GUI library with native
controls in order to write desktop apps in D?
Here  is  why  I'm  asking:  actually, there are quite a number of GUI
libraries listed at wiki.dlang.org.
However, I have one specific requirement: the resulting apps should be
accessible  for blind and visually impaired users. To do that, Windows
native  controls are highly preferred since they are treated correctly
by  screen  reading  software.  So  no  QT,  no GTK (they are both not
accessible under Windows).
I've  tried  to  build  samples for each library, and got virtually no
results:  DGui was the only one that caused no problems at all, but it
has   almost   no   documentation   and   most   of  the  samples  are
drawing-related.
So  my  question  is:  is  there any reliable GUI library implementing
native Windows controls?
Thanks!
  

-- 
With best regards from Ukraine,
Andre
Skype: Francophile
Twitter:  m_elensule; Facebook: menelion
My blog: http://menelion.oire.org/
Sep 03 2015
next sibling parent reply "BBasile" <bb.temp gmx.com> writes:
On Thursday, 3 September 2015 at 15:46:28 UTC, Andre Polykanine 
wrote:
 [...]
Hello, there this one: https://github.com/nomad-software/tkd
 [...]
I don't know what you meant by 'accessible' but the two respective runtimes exist for windows.
Sep 03 2015
next sibling parent reply "Adam D. Ruppe" <destructionator gmail.com> writes:
On Thursday, 3 September 2015 at 16:49:51 UTC, BBasile wrote:
 I don't know what you meant by 'accessible'
Easily usable by the blind or people with motor difficulties and other similar challenges.
Sep 03 2015
parent Andre Polykanine via Digitalmars-d-learn writes:
Hello Adam,

ADRvDdl> Easily usable by the blind or people with motor difficulties and
ADRvDdl> other similar challenges.

Exactly, thank you.
I.e.,   the   app   should   be usable without mouse and with a screen
reader (to over-simplify the
things).

-- 
With best regards from Ukraine,
Andre
Skype: Francophile
Twitter:  m_elensule; Facebook: menelion
My blog: http://menelion.oire.org/


------------ Original message ------------
From: Adam D. Ruppe via Digitalmars-d-learn <digitalmars-d-learn puremagic.com>
To: digitalmars-d-learn puremagic.com
Date created: , 7:56:52 PM
Subject: Working Windows GUI library?


      On Thursday, 3 September 2015 at 16:49:51 UTC, BBasile wrote:
 I don't know what you meant by 'accessible'
Easily usable by the blind or people with motor difficulties and other similar challenges.
Sep 03 2015
prev sibling parent "jqb" <jqb somewhere.net> writes:
On Thursday, 3 September 2015 at 16:49:51 UTC, BBasile wrote:
 [...]
 I don't know what you meant by 'accessible' [...]
https://en.wikipedia.org/wiki/Computer_accessibility Accessibility is even more important than native language support.
Sep 03 2015
prev sibling next sibling parent reply "thedeemon" <dlang thedeemon.com> writes:
On Thursday, 3 September 2015 at 15:46:28 UTC, Andre Polykanine 
wrote:
 So  my  question  is:  is  there any reliable GUI library 
 implementing native Windows controls?
Yes, DFL! https://github.com/Rayerd/dfl It's a thin wrapper over WinAPI so all controls are native. I've built several apps with it and quite happy with this library. It comes with a graphical interface builder called Entice Designer which is rather old but still works fine. Also, with this lib your app is just a single binary less than 1 MB, no additional DLLs required.
Sep 03 2015
parent reply Andre Polykanine via Digitalmars-d-learn writes:
Hello thedeemon,

tvDdl> Yes, DFL!
tvDdl> https://github.com/Rayerd/dfl

Sounds  good.  but still... I can't find any examples or documentation
:(

-- 
With best regards from Ukraine,
Andre
Skype: Francophile
Twitter:  m_elensule; Facebook: menelion
My blog: http://menelion.oire.org/


------------ Original message ------------
From: thedeemon via Digitalmars-d-learn <digitalmars-d-learn puremagic.com>
To: digitalmars-d-learn puremagic.com
Date created: , 9:30:34 AM
Subject: Working Windows GUI library?


      On Thursday, 3 September 2015 at 15:46:28 UTC, Andre Polykanine 
wrote:
 So  my  question  is:  is  there any reliable GUI library 
 implementing native Windows controls?
Yes, DFL! https://github.com/Rayerd/dfl It's a thin wrapper over WinAPI so all controls are native. I've built several apps with it and quite happy with this library. It comes with a graphical interface builder called Entice Designer which is rather old but still works fine. Also, with this lib your app is just a single binary less than 1 MB, no additional DLLs required.
Sep 04 2015
parent "thedeemon" <dlang thedeemon.com> writes:
On Friday, 4 September 2015 at 13:54:25 UTC, Andre Polykanine 
wrote:
 Hello thedeemon,

 tvDdl> Yes, DFL!
 tvDdl> https://github.com/Rayerd/dfl

 Sounds  good.  but still... I can't find any examples or 
 documentation :(
Here's some original docs and examples: http://wiki.dprogramming.com/Dfl/Tutorial http://wiki.dprogramming.com/Dfl/HomePage Documentation is a bit scarce, but if you're familiar with WinForms (from .NET) you'll recognize everything immediately and will feel at home with DFL. Here's a real world sample - an app I made for our clients: https://bitbucket.org/thedeemon/autovideoenhance For instance, a simple typical form (window) code: https://bitbucket.org/thedeemon/autovideoenhance/src/b0259ca763577cb50169eaa7ee99f074da21724d/folderform.d?at=default (most of the big setup code is generated by Entice Designer, not written manually)
Sep 04 2015
prev sibling parent Jacob Carlborg <doob me.com> writes:
On 2015-09-03 17:46, Andre Polykanine via Digitalmars-d-learn wrote:
 Hi everyone,
 Does   anyone   of   you  work  with a Windows GUI library with native
 controls in order to write desktop apps in D?
 Here  is  why  I'm  asking:  actually, there are quite a number of GUI
 libraries listed at wiki.dlang.org.
 However, I have one specific requirement: the resulting apps should be
 accessible  for blind and visually impaired users. To do that, Windows
 native  controls are highly preferred since they are treated correctly
 by  screen  reading  software.
DWT [1] uses native controls. Supports Windows and Linux. I have not tried the accessible features but I know it has some code for that. All documentation for SWT should be applicable. [1] https://github.com/d-widget-toolkit/dwt -- /Jacob Carlborg
Sep 04 2015