May 29, 2021

On Thursday, 27 May 2021 at 09:01:04 UTC, btiffin wrote:

>

libagar is a nice little framework. But, it's C still (and Ada, Perl, COBOL), not D yet. Will see how it goes.

Thanks a lot for your info :) !

I want you to know that I am replying to myself on the first post summarizing what I already learned researching the subject starting with the tips provided by you as well as anyone else that replied to my post. Please, if you want and have the time, check my last post and let me know anything I got wrong.

May 29, 2021
On Thursday, 27 May 2021 at 09:11:44 UTC, Виталий Фадеев wrote:

> sciter, of course.  https://sciter.com/
> Or write Dlang alternative.

Thanks a lot for your info :) !

I want you to know that I am replying to myself on the first post summarizing what I already learned researching the subject starting with the tips provided by you as well as anyone else that replied to my post. Please, if you want and have the time, check my last post and let me know anything I got wrong.

I need to research sciter a bit more: a first sight is not what I am looking for, it seems is has something like a browser rendering engine to apply what you define in a resource file, if so, I guess it will be very slow compared with any native and/or quasi-native toolkit. Give me more time and I'll keep you posted.
May 29, 2021

On Thursday, 27 May 2021 at 16:49:41 UTC, Dejan Lekic wrote:

>

I humbly believe the most complete one is GtKD.

https://gtkdcoding.com/
https://gtkd.org

We all wish there was a STANDARD D GUI library out there, but that is a huge effort one or two individuals can't do by themselves (that is why all such efforts failed in the past)...

Thanks a lot for your info :) !

I want you to know that I am replying to myself on the first post summarizing what I already learned researching the subject starting with the tips provided by you as well as anyone else that replied to my post. Please, if you want and have the time, check my last post and let me know anything I got wrong.

As I stated in the original post and feel at ease with GTK+ 2.# and not so with the GTK+ 3.#. That's is why I choose MATE as my desktop environment which in reality is a stripped down version of MATE itself: the widget that rocks is the MATE panel, everything else is questionable, not to mention really bad software like Atril (the PDF viewer). I do run MATE on archlinux right now and built the package myself setting aside everything I do not want/use.

Do you know if GTKD will be kepping support for the 2.# branch, or, if they plan to deprecate it moving ahead ?

May 29, 2021

On Thursday, 27 May 2021 at 01:17:44 UTC, someone wrote:

>

Yes, I know this is a question lacking a straightforward answer.

Requirements:

[...]

Win32Api. You can use resEdit to create your resource GUI. Work only for Windows. Here is my program created with Dlang and Win32Api GUI: https://sourceforge.net/projects/direct-http-tunnel/

May 29, 2021

On Friday, 28 May 2021 at 01:44:24 UTC, zjh wrote:

>

maybe you can try nana.

nana ? can you elaborate please ?

May 29, 2021

On Friday, 28 May 2021 at 17:04:15 UTC, Vinod K Chandran wrote:

>

On Thursday, 27 May 2021 at 01:17:44 UTC, someone wrote:

>

I am learning D by writing a Windows only GUI library. It is taking too much time for me since, I am writing some stuff and then happen to learn some new things about it and re-writing it.Anyhow, so far so good. This is the code now.

import winglib ;
import std.stdio : log = writeln;

void main() { 	

	auto frm = new Window() ;	
	frm.text = "Learning D By Writing D";

        // C = Control class. Window is derived from Control
        // E = EventArgs.

	frm.onMouseHover = (c, e) => log("Mouse is now on ", e.x, ", ", e.y);
	frm.onMouseLeave = (c, e) => log("Mouse leaved from window") ;	
	frm.onKeyDown =  (c, e) => log(e.keyCode, " key is pressed");
	frm.create() ;

	auto btn = new Button(frm) ;
	btn.font.name = "Calibri" ;
        btn.width = 150 ;
	btn.text = "DMD Or LDC" ;
	btn.font.size = 14 ;
	btn.create() ;

	frm.show() ;	
	
}

I am slowly adding more features to this. Till now, Window & Button are completed.

Win32Api + Metaprogramming?

May 29, 2021

On Saturday, 29 May 2021 at 00:52:10 UTC, someone wrote:

> >

sciter, of course. https://sciter.com/

I've also been looking for good GUI.
Now, I just find WTL. I don't like QT. It's too big.
I don't like LGPL. You can't link statically.
If you want to bind, I think wxwidget is good.
Sciter's problem is that it doesn't open source. Their binding(wx/sciter) is out of date.
There is also a beamui.

May 29, 2021
>> maybe you can try nana.

nanapro,I just success compile.
May 29, 2021

On Saturday, 29 May 2021 at 00:57:51 UTC, Marcone wrote:

>

Win32Api. You can use resEdit to create your resource GUI. Work only for Windows. Here is my program created with Dlang and Win32Api GUI: https://sourceforge.net/projects/direct-http-tunnel/

Thanks a lot for your info :) !

I want you to know that I am replying to myself on the first post summarizing what I already learned researching the subject starting with the tips provided by you as well as anyone else that replied to my post. Please, if you want and have the time, check my last post and let me know anything I got wrong.

I do have a LOT of experience coding on the Windows platform, I have no less than 20 years at least, since Windows NT 1.0 precisely, I do feel at ease with Win32 and COM. The problem right now is that, for whatever reasons, I stopped being coding Microsoft-centric solutions 5 or-so years ago. I am on archlinux right now and have a few boxes running freeBSD and/or DragonFlyBSD. I do not plan to go back to Microsoft. Obviously, I miss a lot of things; but mainly, SQL-Server, everything XML-related which is rock-solid on the Microsoft side, and last but not least, PowerShell, which I love by design but regret the way that was implemented, specially since the 2.0 release, it ended really bloated, but the concept, rocks.

I started to left ship with MicroSoft in the Vista ~ Windows 8 time frame and left definitely on Windows 9/10. My last boxes still run Windows Server 2008 R2 with the newer versions of SQL-Server. Ballmer destroyed Microsoft as quality code. The userspace since Vista was terrible -and don't get me started on the Metro UI.

May 29, 2021

On Thursday, 27 May 2021 at 17:04:07 UTC, Alain De Vos wrote:

>

Let's also not forget other languages have problems with gui-toolkits.
For instance, gtk-ada binding has memory leaks. gtk-crystal binding is broken.
I would like to see a binding to wxwidgets which is a very cool toolkit.

It seems to me the bindings are the symptoms and not the causes: the problem, to my humble opinion, is that for whatever reasons, we have a lot of toolkits trying to reinvent powder over and over. In Windows/Mac there's no problem since more-or-less they have standard controls, and anyone not using them is because they bypass them pursuing multi-platform support. In the nixes is more complicated since there were never standard/unified controls/guidelines. There are people who thinks diversity is a plus and there others stating standardization is the way forward. Like it or not, that is we have on the nixes.