Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
November 27, 2012 Best GUI library and GUI designer? | ||||
---|---|---|---|---|
| ||||
Hi there. Sorry for my poor English first. I just started D language and looking for GUI library and designer. I found some. GUI libraries from D wiki and Designers are Entice or Bud. but it seems that there's no further development. I found few threads and they are all stories of 2 or 3 years ago. So I'm wondering if you can recommend some GUI library and designers to start with. For the text editor, I'm currently using gVim. Best regards. |
November 27, 2012 Re: Best GUI library and GUI designer? | ||||
---|---|---|---|---|
| ||||
Posted in reply to December Flower | On 2012-11-27 09:32, December Flower wrote: > Hi there. > Sorry for my poor English first. > > I just started D language and looking for GUI library and designer. > I found some. > > GUI libraries from D wiki and > Designers are Entice or Bud. > but it seems that there's no further development. > > I found few threads and they are all stories of 2 or 3 years ago. > > So I'm wondering if you can recommend some GUI library and designers to > start with. For the text editor, I'm currently using gVim. > > Best regards. I think DWT is a good GUI library, but it doesn't have a GUI designer. Since DWT is a port of the Java library SWT you could use a GUI designer that supports SWT and then port the code to D. -- /Jacob Carlborg |
November 27, 2012 Re: Best GUI library and GUI designer? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Tuesday, 27 November 2012 at 12:12:52 UTC, Jacob Carlborg wrote: > > I think DWT is a good GUI library, but it doesn't have a GUI designer. Since DWT is a port of the Java library SWT you could use a GUI designer that supports SWT and then port the code to D. Sorry for off-topic interjection. I've recently started to use DWT and it's pretty nice, but I have a question - is file drag'n'drop supported in DWT (as in drag from windows explorer to application window)? My biggest problem was what to do with event.data for drop event - it's of type Object and needs to be somehow cast so string[], I did cast(string[])(&event.data[0..1]) but obviously it didn't work... |
November 28, 2012 Re: Best GUI library and GUI designer? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Tuesday, 27 November 2012 at 12:12:52 UTC, Jacob Carlborg wrote:
> On 2012-11-27 09:32, December Flower wrote:
>> Hi there.
>> Sorry for my poor English first.
>>
>> I just started D language and looking for GUI library and designer.
>> I found some.
>>
>> GUI libraries from D wiki and
>> Designers are Entice or Bud.
>> but it seems that there's no further development.
>>
>> I found few threads and they are all stories of 2 or 3 years ago.
>>
>> So I'm wondering if you can recommend some GUI library and designers to
>> start with. For the text editor, I'm currently using gVim.
>>
>> Best regards.
>
> I think DWT is a good GUI library, but it doesn't have a GUI designer. Since DWT is a port of the Java library SWT you could use a GUI designer that supports SWT and then port the code to D.
Thanks. I'll check that. Have a nice day! :)
|
November 28, 2012 Re: Best GUI library and GUI designer? | ||||
---|---|---|---|---|
| ||||
Posted in reply to JN | On 2012-11-27 23:17, JN wrote: > On Tuesday, 27 November 2012 at 12:12:52 UTC, Jacob Carlborg wrote: >> >> I think DWT is a good GUI library, but it doesn't have a GUI designer. >> Since DWT is a port of the Java library SWT you could use a GUI >> designer that supports SWT and then port the code to D. > Sorry for off-topic interjection. I've recently started to use DWT and > it's pretty nice, but I have a question - is file drag'n'drop supported > in DWT (as in drag from windows explorer to application window)? My > biggest problem was what to do with event.data for drop event - it's of > type Object and needs to be somehow cast so string[], I did > cast(string[])(&event.data[0..1]) but obviously it didn't work... There should be a helper, somewhere, in DWT for handling casting between strings and objects. There's "stringcast" in "java.lang.wrappers": https://github.com/d-widget-toolkit/base/blob/master/src/java/lang/wrappers.d#L91 -- /Jacob Carlborg |
November 28, 2012 Re: Best GUI library and GUI designer? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Wednesday, 28 November 2012 at 07:30:54 UTC, Jacob Carlborg wrote:
>
> There should be a helper, somewhere, in DWT for handling casting between strings and objects. There's "stringcast" in "java.lang.wrappers":
>
> https://github.com/d-widget-toolkit/base/blob/master/src/java/lang/wrappers.d#L91
Thanks, works :)
|
December 17, 2012 Re: Best GUI library and GUI designer? | ||||
---|---|---|---|---|
| ||||
Posted in reply to December Flower | On Tuesday, 27 November 2012 at 08:32:49 UTC, December Flower wrote:
> Hi there.
> Sorry for my poor English first.
>
> I just started D language and looking for GUI library and designer.
> I found some.
>
> GUI libraries from D wiki and
> Designers are Entice or Bud.
> but it seems that there's no further development.
>
> I found few threads and they are all stories of 2 or 3 years ago.
>
> So I'm wondering if you can recommend some GUI library and designers to start with. For the text editor, I'm currently using gVim.
>
> Best regards.
I've been playing around with GTKD and Glade.
|
January 01, 2013 Re: Best GUI library and GUI designer? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paul Crane | On Monday, 17 December 2012 at 04:52:37 UTC, Paul Crane wrote:
> On Tuesday, 27 November 2012 at 08:32:49 UTC, December Flower wrote:
>> Hi there.
>> Sorry for my poor English first.
>>
>> I just started D language and looking for GUI library and designer.
>> I found some.
>>
>> GUI libraries from D wiki and
>> Designers are Entice or Bud.
>> but it seems that there's no further development.
>>
>> I found few threads and they are all stories of 2 or 3 years ago.
>>
>> So I'm wondering if you can recommend some GUI library and designers to start with. For the text editor, I'm currently using gVim.
>>
>> Best regards.
>
> I've been playing around with GTKD and Glade.
+1 Gtkd and glade
|
Copyright © 1999-2021 by the D Language Foundation