June 18, 2020 Re: D language for Graphical User Interface and Cross Platform Development | ||||
---|---|---|---|---|
| ||||
Posted in reply to BoQsc | On Wednesday, 17 June 2020 at 10:33:36 UTC, BoQsc wrote:
> It seems that by using gtkd project to build your GUI application it requires a preinstalled runtime that weights around 40mb, for Windows operating systems. (https://gtkd.org/download.html)
>
> A Dlang UI GUI project by Buggins seems to be deprecated and even a simple example could not be run anymore. (https://github.com/buggins/dlangui)
>
> I'm not aware of any other serious project that could efficiently provide a way to build a stable GUI.
>
> What should I do if I want to write a cross-platform application with graphical user interface in D? Should I wait until there will be better maintained libraries listed on the (https://wiki.dlang.org/GUI_Libraries) or there are other ways to create and build a GUI D language application?
You can link the GtkD interface statically (if you use dub it already does) and load the GTK DLL at runtime which you can distribute directly within your program folder.
I don't think size is a problem, any software that uses gtk or qt on Windows requires about the same amount of space
|
June 19, 2020 Re: D language for Graphical User Interface and Cross Platform Development | ||||
---|---|---|---|---|
| ||||
Posted in reply to Zoadian | On Wednesday, 17 June 2020 at 12:15:07 UTC, Zoadian wrote:
> On Wednesday, 17 June 2020 at 10:33:36 UTC, BoQsc wrote:
>> It seems that by using gtkd project to build your GUI application it requires a preinstalled runtime that weights around 40mb, for Windows operating systems. (https://gtkd.org/download.html)
>>
>> A Dlang UI GUI project by Buggins seems to be deprecated and even a simple example could not be run anymore. (https://github.com/buggins/dlangui)
>>
>> I'm not aware of any other serious project that could efficiently provide a way to build a stable GUI.
>>
>> What should I do if I want to write a cross-platform application with graphical user interface in D? Should I wait until there will be better maintained libraries listed on the (https://wiki.dlang.org/GUI_Libraries) or there are other ways to create and build a GUI D language application?
>
> vibe.d + vue.js works perfectly
Can you point to a url or tutorial of how to combine vibe.d and vue.js to build a desktop app than can work on all operative system. I am really interested in this. I will appreciate your reply
|
June 19, 2020 Re: D language for Graphical User Interface and Cross Platform Development | ||||
---|---|---|---|---|
| ||||
Posted in reply to Greatsam4sure | On Friday, 19 June 2020 at 07:46:02 UTC, Greatsam4sure wrote:
> Can you point to a url or tutorial of how to combine vibe.d and vue.js to build a desktop app than can work on all operative system. I am really interested in this. I will appreciate your reply
dito
|
June 19, 2020 Re: D language for Graphical User Interface and Cross Platform Development | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Hönig | On Friday, 19 June 2020 at 09:10:54 UTC, Jan Hönig wrote: > On Friday, 19 June 2020 at 07:46:02 UTC, Greatsam4sure wrote: >> Can you point to a url or tutorial of how to combine vibe.d and vue.js to build a desktop app than can work on all operative system. I am really interested in this. I will appreciate your reply > > dito I was really positive suprised to find a dub package for vue and other libraries like sapui5. https://code.dlang.org/packages/uim-vue Unfortunately, there is not much explanation / samples. I will create an issue and ask for them. Kind regards André |
June 19, 2020 Re: D language for Graphical User Interface and Cross Platform Development | ||||
---|---|---|---|---|
| ||||
Posted in reply to Greatsam4sure | On Friday, 19 June 2020 at 07:46:02 UTC, Greatsam4sure wrote: > On Wednesday, 17 June 2020 at 12:15:07 UTC, Zoadian wrote: >> On Wednesday, 17 June 2020 at 10:33:36 UTC, BoQsc wrote: >>> It seems that by using gtkd project to build your GUI application it requires a preinstalled runtime that weights around 40mb, for Windows operating systems. (https://gtkd.org/download.html) >>> >>> A Dlang UI GUI project by Buggins seems to be deprecated and even a simple example could not be run anymore. (https://github.com/buggins/dlangui) >>> >>> I'm not aware of any other serious project that could efficiently provide a way to build a stable GUI. >>> >>> What should I do if I want to write a cross-platform application with graphical user interface in D? Should I wait until there will be better maintained libraries listed on the (https://wiki.dlang.org/GUI_Libraries) or there are other ways to create and build a GUI D language application? >> >> vibe.d + vue.js works perfectly > > Can you point to a url or tutorial of how to combine vibe.d and vue.js to build a desktop app than can work on all operative system. I am really interested in this. I will appreciate your reply Sry I dont have any examples I could share. You would build your application as any other vue.js app. Best to look at their documentation. Vibe.d is only used a a web server. You could use arsd or other libs for that too. Finally I use chromium embedded framework to make it a native app. See https://github.com/Zoadian/cefBasedViewerExample for an simple example. (Only supports minimum cef functionality for now) |
June 20, 2020 Re: D language for Graphical User Interface and Cross Platform Development | ||||
---|---|---|---|---|
| ||||
Posted in reply to BoQsc | On 2020-06-17 12:33, BoQsc wrote: > It seems that by using gtkd project to build your GUI application it requires a preinstalled runtime that weights around 40mb, for Windows operating systems. (https://gtkd.org/download.html) > > A Dlang UI GUI project by Buggins seems to be deprecated and even a simple example could not be run anymore. (https://github.com/buggins/dlangui) > > I'm not aware of any other serious project that could efficiently provide a way to build a stable GUI. > > What should I do if I want to write a cross-platform application with graphical user interface in D? Should I wait until there will be better maintained libraries listed on the (https://wiki.dlang.org/GUI_Libraries) or there are other ways to create and build a GUI D language application? DWT [1] is available as well. It supports Windows and Linux (GTK). On Windows no additional libraries are required at runtime, besides the system libraries already installed. [1] https://github.com/d-widget-toolkit/dwt -- /Jacob Carlborg |
June 20, 2020 Re: D language for Graphical User Interface and Cross Platform Development | ||||
---|---|---|---|---|
| ||||
Posted in reply to BoQsc | On Wednesday, 17 June 2020 at 10:33:36 UTC, BoQsc wrote: > It seems that by using gtkd project to build your GUI application it requires a preinstalled runtime that weights around 40mb, for Windows operating systems. (https://gtkd.org/download.html) > > A Dlang UI GUI project by Buggins seems to be deprecated and even a simple example could not be run anymore. (https://github.com/buggins/dlangui) > > I'm not aware of any other serious project that could efficiently provide a way to build a stable GUI. > > What should I do if I want to write a cross-platform application with graphical user interface in D? Should I wait until there will be better maintained libraries listed on the (https://wiki.dlang.org/GUI_Libraries) or there are other ways to create and build a GUI D language application? have a try https://github.com/aboray/dlangui |
June 22, 2020 Re: D language for Graphical User Interface and Cross Platform Development | ||||
---|---|---|---|---|
| ||||
Posted in reply to Liu | On 2020-06-17 21:13:37 +0000, Liu said: > On Wednesday, 17 June 2020 at 20:38:38 UTC, Bastiaan Veelo wrote: >> On Wednesday, 17 June 2020 at 19:59:15 UTC, aberba wrote: >>> Some here said they, as in their company/startup, were working on a D GUI project but that hasn't happened yet. >> >> You are probably referring to https://forum.dlang.org/post/qbsg7d$11s3$1@digitalmars.com >> >> --Bastiaan > > Is he going to write a whole GUI framework from scratch? like Qt? Since that's us I can reply... Yes, this whole thing is from scratch. Mainly because we don't care about any OS specific widgets. We just use the window as a canvas container and from there one do it on our own. We used this approach in the past and it was one of the best decisions. Zero dependencies, one file executable. We do this, because we want to port our product to a new tech-stack. But, as you can imagine, still a long way to go. We start doing some internal tools which can be CLI or GUI based to gain more experience. Overall, the framework parts are working well together. The framework design works and is very flexible. So, no walls hit so far. Focus is on extending the widgets functionality and features step-by-step. We do as we move forward and do the refactoring while learning how to implement things best. Here is a new teaser: https://www.dropbox.com/s/jjefzyneqnxr7pb/dgui_teaser-1.mp4 So, we added 9-patch image support for widget styling. -- Robert M. Münch http://www.saphirion.com smarter | better | faster |
June 23, 2020 Re: D language for Graphical User Interface and Cross Platform Development | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vinod K Chandran | There is also https://github.com/dayllenger/beamui |
June 23, 2020 Re: D language for Graphical User Interface and Cross Platform Development | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | On Tuesday, 23 June 2020 at 07:51:57 UTC, Suliman wrote:
> There is also https://github.com/dayllenger/beamui
Seriously,this is it.
Its checks in just about everything would like a D GUI to have. Especially CSS-like styling and slimming things down.
Thanks for sharing
|
Copyright © 1999-2021 by the D Language Foundation