May 07, 2014 Re: The Current Status of DQt | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On 2014-05-07 2:40 AM, Jacob Carlborg wrote:
> On 07/05/14 01:05, Etienne wrote:
>
>> I've just started using tkd and the memory usage is 3.4MB on windows for
>> a Hello World.
>>
>> It requires a lot of tcl/tk source files (900 files) and 2 dlls, but I
>> think a workaround can be found for them to be packed in an in-place
>> unpacker app by compiling on top of it (I'm looking into this right
>> now). It would be good to have an application that know what to trim out
>> too. The zipped size of a tkd application is 3 MB.
>>
>> It's very simple to use, it implements a lot of the D idioms and, most
>> of all, it's stable. I appreciate the effort very much!
>
> Have you tried DWT [1]? It has no dependencies except for the system
> libraries. Although, it will generate quite large binaries. But I don't
> think they'll grow that much when adding new functionality.
>
> [1] https://github.com/d-widget-toolkit/dwt
>
Sweet, as I see it works and there's plenty of documentation about swt. Not much can beat a 2.6MB standalone application with a 2mb footprint!
It could use a dub.json file though, and the Color object gives me a memory error when I close the window.
|
May 07, 2014 Re: The Current Status of DQt | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On Sunday, 4 May 2014 at 17:51:50 UTC, Andrei Alexandrescu wrote:
> On 5/4/14, 9:19 AM, Gary Willoughby wrote:
>> On Sunday, 4 May 2014 at 14:09:38 UTC, w0rp wrote:
>>> Best of luck to you guys. I encourage as many people as possible to
>>> give writing D GUI libraries a go, and perhaps we can all learn from
>>> each other.
>>
>> Done ;)
>>
>> http://forum.dlang.org/thread/wdddgiowaidcojbrklsg@forum.dlang.org
>
> Worth a reddit announcement tomorrow morning? -- Andrei
Just seen this. Yeah an announcement would be great, what time do you think is best for maximum impact? Do you want to do it?
|
May 07, 2014 Re: The Current Status of DQt | ||||
---|---|---|---|---|
| ||||
Posted in reply to Etienne | On 2014-05-07 20:18, Etienne wrote: > Sweet, as I see it works and there's plenty of documentation about swt. > Not much can beat a 2.6MB standalone application with a 2mb footprint! > > It could use a dub.json file though Yeah, that's on my todo list. > and the Color object gives me a memory error when I close the window. It does? Do you have a test case? -- /Jacob Carlborg |
May 07, 2014 Re: The Current Status of DQt | ||||
---|---|---|---|---|
| ||||
Posted in reply to Etienne | On Tuesday, 6 May 2014 at 23:05:40 UTC, Etienne wrote: > It requires a lot of tcl/tk source files (900 files) and 2 dlls, but I think a workaround can be found for them to be packed in an in-place unpacker app by compiling on top of it (I'm looking into this right now). It would be good to have an application that know what to trim out too. The zipped size of a tkd application is 3 MB. Nah, it doesn't need that much. You can have Tcl/Tk installed on the machine which for posix is no trouble as it's shipped with the OS. For Windows you can just copy the DLL's and library folder to the exe directory. It's all explained in the readme. https://github.com/nomad-software/tkd/blob/master/README.md > It's very simple to use, it implements a lot of the D idioms and, most of all, it's stable. I appreciate the effort very much! Thanks. |
May 07, 2014 Re: The Current Status of DQt | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | On 5/7/14, 12:29 PM, Gary Willoughby wrote:
> On Sunday, 4 May 2014 at 17:51:50 UTC, Andrei Alexandrescu wrote:
>> On 5/4/14, 9:19 AM, Gary Willoughby wrote:
>>> On Sunday, 4 May 2014 at 14:09:38 UTC, w0rp wrote:
>>>> Best of luck to you guys. I encourage as many people as possible to
>>>> give writing D GUI libraries a go, and perhaps we can all learn from
>>>> each other.
>>>
>>> Done ;)
>>>
>>> http://forum.dlang.org/thread/wdddgiowaidcojbrklsg@forum.dlang.org
>>
>> Worth a reddit announcement tomorrow morning? -- Andrei
>
> Just seen this. Yeah an announcement would be great, what time do you
> think is best for maximum impact? Do you want to do it?
9 AM PST. Will do tomorrow. -- Andrei
|
May 07, 2014 Re: The Current Status of DQt | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On Wed, 2014-05-07 at 12:53 -0700, Andrei Alexandrescu via Digitalmars-d wrote: […] > 9 AM PST. Will do tomorrow. -- Andrei So what is that in ISO 8601 time. Get with the programme… ;-) -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
May 07, 2014 Re: The Current Status of DQt | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | On 5/7/14, 1:02 PM, Russel Winder via Digitalmars-d wrote:
> On Wed, 2014-05-07 at 12:53 -0700, Andrei Alexandrescu via Digitalmars-d
> wrote:
> […]
>> 9 AM PST. Will do tomorrow. -- Andrei
>
> So what is that in ISO 8601 time. Get with the programme…
Where's that units library when you need it?
|
May 07, 2014 Re: The Current Status of DQt | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On 2014-05-07 3:30 PM, Jacob Carlborg wrote:
> On 2014-05-07 20:18, Etienne wrote:
>
>> Sweet, as I see it works and there's plenty of documentation about swt.
>> Not much can beat a 2.6MB standalone application with a 2mb footprint!
>>
>> It could use a dub.json file though
>
> Yeah, that's on my todo list.
>
>> and the Color object gives me a memory error when I close the window.
>
> It does? Do you have a test case?
>
Yes :
Label label3 =
new
Label(shell, SWT.NONE);
label3.setSize(100,20);
label3.setLocation(30,150);
label3.setBackground(
new
Color(display,200,111,50));
label3.setText(
"Speak no evil"
);
|
May 07, 2014 Re: The Current Status of DQt | ||||
---|---|---|---|---|
| ||||
Posted in reply to Etienne | On 2014-05-07 6:22 PM, Etienne wrote: > On 2014-05-07 3:30 PM, Jacob Carlborg wrote: >> On 2014-05-07 20:18, Etienne wrote: >> >>> Sweet, as I see it works and there's plenty of documentation about swt. >>> Not much can beat a 2.6MB standalone application with a 2mb footprint! >>> >>> It could use a dub.json file though >> >> Yeah, that's on my todo list. >> >>> and the Color object gives me a memory error when I close the window. >> >> It does? Do you have a test case? >> > > Yes : > > Label label3 = > new > Label(shell, SWT.NONE); > label3.setSize(100,20); > label3.setLocation(30,150); > label3.setBackground( > new > Color(display,200,111,50)); > label3.setText( > "Speak no evil" > ); I was looking at a quick tutorial here: http://www.cs.umanitoba.ca/~eclipse/2-Basic.pdf It works great without the setBackground |
May 08, 2014 Re: The Current Status of DQt | ||||
---|---|---|---|---|
| ||||
Posted in reply to Etienne | >>>> Sweet, as I see it works and there's plenty of documentation about swt. >>>> Not much can beat a 2.6MB standalone application with a 2mb footprint! I test on windows 7,it's size is 2829k,with a 2836k footprint. But DFL's is 778k with a 2724k. example:github.com/SeijiFujita/dfl-examples-d2 Frank |
Copyright © 1999-2021 by the D Language Foundation