www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - wxWidgets bindings?

reply Stephen Waits <steve waits.net> writes:
Has anyone figured out a way to use wxWidgets (formerly wxWindows) in D?

Thanks,
Steve

[This is a really classy GUI API.  Bindings exist for Perl and Python, 
etc..]
May 18 2004
next sibling parent "Achilleas Margaritis" <axilmar b-online.gr> writes:
"Stephen Waits" <steve waits.net> wrote in message
news:c8dlju$1qf0$1 digitaldaemon.com...
 Has anyone figured out a way to use wxWidgets (formerly wxWindows) in D?

 Thanks,
 Steve

 [This is a really classy GUI API.  Bindings exist for Perl and Python,
 etc..]
My opinion: wxWindgets sucks. I don't like message maps and other windowesque techniques (like the double-window creation process, command ids etc). One can easily make a mistake with these techniques.
May 18 2004
prev sibling parent J C Calvarese <jcc7 cox.net> writes:
Stephen Waits wrote:
 Has anyone figured out a way to use wxWidgets (formerly wxWindows) in D?
 
 Thanks,
 Steve
 
 [This is a really classy GUI API.  Bindings exist for Perl and Python, 
 etc..]
You might look into using SWIG (Simplified Wrapper and Interface Generator), http://www.swig.org/. Andy has come up with a "D mode" for SWIG, http://andy.tadan.us/d/. Apparently, wx4j (a Java Binding for wxWidgets) is created with SWIG, http://www.wx4j.org/. Related posts in the old D newsgroup... http://www.digitalmars.com/drn-bin/wwwnews?D/17543 http://www.digitalmars.com/drn-bin/wwwnews?D/17256 http://www.digitalmars.com/drn-bin/wwwnews?D/11575 http://www.digitalmars.com/drn-bin/wwwnews?D/17776 -- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/
May 18 2004