www.digitalmars.com         C & C++   DMDScript  

D - Gui Programming

reply "Yeric" <NOSPAM NOSPAM.com> writes:
Hello,

I have another quick question.

What do D programmers use for creating their gui's ?
wrapped MFC classes ?

Also is anyone else having trouble with DIDE, I just downloaded the latest
version with D compiler, but when I try to exit using the menu, it just
bombs out I am running it on Win XP if this is any use

Yeric
Apr 27 2004
parent reply C <dont respond.com> writes:
 Also is anyone else having trouble with DIDE

Sorry the new version should fix it (uploaded). There are some other issues but I've put it off .
 What do D programmers use for creating their gui's ?
 wrapped MFC classes ?

MFC is C++ which D does not have link compatiblity with, but there is Stewart Gordon Framework on the Wiki4d , their is GTK based DUI , and SWT port is in the works. Have Fun, Charles Yeric wrote:
 Hello,
 
 I have another quick question.
 
 What do D programmers use for creating their gui's ?
 wrapped MFC classes ?
 
 Also is anyone else having trouble with DIDE, I just downloaded the latest
 version with D compiler, but when I try to exit using the menu, it just
 bombs out I am running it on Win XP if this is any use
 
 Yeric
 
 

Apr 27 2004
next sibling parent reply "Yeric" <someone nowhere.com> writes:
 Sorry the new version should fix it (uploaded).  There are some other
 issues but I've put it off .

Excellent nice work, it is unusual to find an IDE for a fairly newish language, unless it is a new language written by the big boys, who charge big bucks.
  > What do D programmers use for creating their gui's ?
  > wrapped MFC classes ?

 MFC is C++ which D does not have link compatiblity with, but there is

:) Oh yeah, I just got to reding about the no no with C++, which I guess will rule out wxWindows as well :(
 Stewart Gordon Framework on the Wiki4d , their is GTK based DUI , and
 SWT port is in the works.

Yes seen this looks good, but it is for Linux, which is good, something for Windows would be good, at the moment I am trawling through pages of info on creating them the C way, which if I can figure that out, it should be fairly possible to wrap the code for D? or have I misread this info in the D docs ?
 Have Fun,
 Charles

I mostly do when coding :) From some of the examples I have seen in the docs, I can understand these no problems, it is quite similar to C, C++ and a bit of Java styles thrown in for good measure, but not too much Java I hope :) Yeric
Apr 28 2004
next sibling parent "Tu Nam" <dreamweaver mail15.com> writes:
He has a Windows FrameWork which wrap Win32 API and has an Event Handler
type which seems good . At now it handle mouse event and WM_COMMAND but I
think it can expand .
http://smjg.port5.com/pr/d/sdwf/
If it die , please try later .
Btw, I hope that all D projects should be listed or hosted on a common place
such as dsource.org
"Yeric" <someone nowhere.com> wrote in message
news:c6nos5$204m$1 digitaldaemon.com...
 Sorry the new version should fix it (uploaded).  There are some other
 issues but I've put it off .

Excellent nice work, it is unusual to find an IDE for a fairly newish language, unless it is a new language written by the big boys, who charge big bucks.
  > What do D programmers use for creating their gui's ?
  > wrapped MFC classes ?

 MFC is C++ which D does not have link compatiblity with, but there is

:) Oh yeah, I just got to reding about the no no with C++, which I guess will rule out wxWindows as well :(
 Stewart Gordon Framework on the Wiki4d , their is GTK based DUI , and
 SWT port is in the works.

Yes seen this looks good, but it is for Linux, which is good, something

 Windows would be good, at the moment I am trawling through pages of info

 creating them the C way, which if I can figure that out, it should be

 possible to wrap the code for D? or have I misread this info in the D docs

 Have Fun,
 Charles

I mostly do when coding :) From some of the examples I have seen in the docs, I can understand these

 problems, it is quite similar to C, C++ and a bit of Java styles thrown in
 for good measure, but not too much Java I hope :)

 Yeric

Apr 28 2004
prev sibling next sibling parent Ant <duitoolkit yahoo.ca> writes:
On Wed, 28 Apr 2004 09:09:36 +0100, Yeric wrote:

 Sorry the new version should fix it (uploaded).  There are some other
 issues but I've put it off .

Excellent nice work, it is unusual to find an IDE for a fairly newish language, unless it is a new language written by the big boys, who charge big bucks.
  > What do D programmers use for creating their gui's ?
  > wrapped MFC classes ?

 MFC is C++ which D does not have link compatiblity with, but there is

:) Oh yeah, I just got to reding about the no no with C++, which I guess will rule out wxWindows as well :(
 Stewart Gordon Framework on the Wiki4d , their is GTK based DUI , and
 SWT port is in the works.

Yes seen this looks good, but it is for Linux,

GTK+ and DUI are available for linux and Windows. AFAIK GTK+ is available for other platforms. (should be trivial to compile DUI for any platform supported by GTK and D or gdc) DUI is a good alternative if you are interested on writing portable code. http://dui.sourceforge.net Ant
Apr 28 2004
prev sibling parent Ilya Minkov <minkov cs.tum.edu> writes:
Yeric schrieb:

 What do D programmers use for creating their gui's ?
 wrapped MFC classes ?

MFC is C++ which D does not have link compatiblity with, but there is

:) Oh yeah, I just got to reding about the no no with C++, which I guess will rule out wxWindows as well :(

Oh, no it doesn't. Just using it is not going to be as enjoyable as it could be in D. The idea is, use the same way that was to create wxPython. I heard that wxPython is generated using SWIG, and there exists a version of SWIG which generates a set of wrappers and imports which allows to import C++ libraries into D. You can find it here: http://andy.tadan.us/d (seems to be offline at the moment)
Stewart Gordon Framework on the Wiki4d , their is GTK based DUI , and
SWT port is in the works.

Yes seen this looks good, but it is for Linux, which is good, something for Windows would be good, at the moment I am trawling through pages of info on creating them the C way, which if I can figure that out, it should be fairly possible to wrap the code for D? or have I misread this info in the D docs ?

It only takes an extern(C) and translated declarations. Phobos includes recls which was ported from C this way.
Have Fun,
Charles

I mostly do when coding :) From some of the examples I have seen in the docs, I can understand these no problems, it is quite similar to C, C++ and a bit of Java styles thrown in for good measure, but not too much Java I hope :)

True. -eye
Apr 28 2004
prev sibling parent John Reimer <brk_6502 NOSP_AM.yahoo.com> writes:
C wrote:

 MFC is C++ which D does not have link compatiblity with, but there is 
 Stewart Gordon Framework on the Wiki4d , their is GTK based DUI , and 
 SWT port is in the works.

I've looked over Stewart Gordons Framework before and was really impressed with it. It's a nice low level framework and definitely what I'd use if I wanted to program close to pure win32 style things in D. It actually makes the dreaded win32 stuff look fun.
Apr 28 2004