Re: the most D-ish GUI library

2016-04-07 Thread Jacob Carlborg via Digitalmars-d
On 2016-04-07 00:18, Nick Sabalausky wrote: Last I used OSX even Apple's own programs were fairly inconsistent with each other. I guess that's changed? Not sure what you're referring to. In what ways does Qt stuff not look native on OSX? I don't have a really good example that is Qt and

Re: the most D-ish GUI library

2016-04-07 Thread Andrea Fontana via Digitalmars-d
On Tuesday, 29 March 2016 at 17:37:15 UTC, Nick Sabalausky wrote: Win and Mac: Qt looks native. Linux/KDE: Qt is native. Linux/GNOME (and any other Linux DE based on GTK): Use the QGtkStyle theme: What about wxWidgets? It should be native "everywhere" too.

Re: the most D-ish GUI library

2016-04-07 Thread Kagamin via Digitalmars-d
On Friday, 25 March 2016 at 14:45:05 UTC, Nick Sabalausky wrote: On 03/13/2016 06:33 PM, WebFreak001 wrote: I prefer GtkD, its the most system native one on linux I dispute that. Many people, like myself, use KDE rather than GNOME or Unity, and GTK programs are just as horrible to put up

Re: the most D-ish GUI library

2016-04-06 Thread Nick Sabalausky via Digitalmars-d
On 03/30/2016 10:48 AM, Jacob Carlborg wrote: On 2016-03-29 19:37, Nick Sabalausky wrote: Win and Mac: Qt looks native. For OS X, no not really. Although that might be due to the applications and not Qt. Last I used OSX even Apple's own programs were fairly inconsistent with each other.

Re: the most D-ish GUI library

2016-03-30 Thread Jacob Carlborg via Digitalmars-d
On 2016-03-29 19:37, Nick Sabalausky wrote: Win and Mac: Qt looks native. For OS X, no not really. Although that might be due to the applications and not Qt. -- /Jacob Carlborg

Re: the most D-ish GUI library

2016-03-29 Thread Gerald via Digitalmars-d
On Tuesday, 29 March 2016 at 17:37:15 UTC, Nick Sabalausky wrote: Linux/GNOME (and any other Linux DE based on GTK): Use the QGtkStyle theme: It's a theme for Qt that *uses* GTK to render, therefore

Re: the most D-ish GUI library

2016-03-29 Thread Nick Sabalausky via Digitalmars-d
On 03/28/2016 01:21 PM, WebFreak001 wrote: You are right, i forgot Qt/KDE guys. KDE uses Qt for their programs and stuff but GNOME and the Ubuntu team and most desktop environments do use GTK instead of Qt. Qt is more common on OS X and Windows than on linux. I guess there will never be an

Re: the most D-ish GUI library

2016-03-29 Thread Luis via Digitalmars-d
On Friday, 25 March 2016 at 14:45:05 UTC, Nick Sabalausky wrote: On 03/13/2016 06:33 PM, WebFreak001 wrote: I prefer GtkD, its the most system native one on linux I dispute that. Many people, like myself, use KDE rather than GNOME or Unity, and GTK programs are just as horrible to put up

Re: the most D-ish GUI library

2016-03-28 Thread WebFreak001 via Digitalmars-d
On Friday, 25 March 2016 at 14:45:05 UTC, Nick Sabalausky wrote: On 03/13/2016 06:33 PM, WebFreak001 wrote: I prefer GtkD, its the most system native one on linux I dispute that. Many people, like myself, use KDE rather than GNOME or Unity, and GTK programs are just as horrible to put up

Re: the most D-ish GUI library

2016-03-25 Thread Nick Sabalausky via Digitalmars-d
On 03/13/2016 06:33 PM, WebFreak001 wrote: I prefer GtkD, its the most system native one on linux I dispute that. Many people, like myself, use KDE rather than GNOME or Unity, and GTK programs are just as horrible to put up with in this environment as they are on Windows. Even more so since

Re: the most D-ish GUI library

2016-03-19 Thread Jacob Carlborg via Digitalmars-d
On 17/03/16 05:54, Vadim Lopatin wrote: Currently DlangUI uses libSDL2 as a backend for OSX. Most wanted feature for OSX is not a look & feel, but support of native OSX menu. (Same for Gnome and other DEs with common menu bar) How is native OS X menu not look & feel? -- /Jacob Carlborg

Re: the most D-ish GUI library

2016-03-19 Thread Saša Janiška via Digitalmars-d
Vadim Lopatin writes: > Most wanted feature for OSX is not a look & feel, but support of native OSX > menu. That's really strange for me, but, otoh, I'm aware that "De gustibus non est disputandum" :-) > Not sure if it's easy to use OSX system theme resources in

Re: the most D-ish GUI library

2016-03-19 Thread Jacob Carlborg via Digitalmars-d
On 18/03/16 19:48, tensor wrote: Jacob, thanks for your great work in porting DWT. Thanks :) Is your automatic tool, when finished, generic enough to port Java packages other than SWT? I'll write the tool with the goal of porting SWT. If any processing is required that is specific for

Re: the most D-ish GUI library

2016-03-19 Thread tensor via Digitalmars-d
On Tuesday, 15 March 2016 at 08:37:13 UTC, Jaocb Carlborg wrote: On Monday, 14 March 2016 at 20:26:51 UTC, Saša Janiška wrote: Well, OS X and Windows are 'nice to have'. DWT already works on Windows where it uses native drawing operations. So, DWT works on Mac OS, but it's not native as

Re: the most D-ish GUI library

2016-03-19 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 16 March 2016 at 19:51:37 UTC, Saša Janiška wrote: When you say 'modern' do you consider lack of some 'modern' widget or just general look (although I read that it improved in 8.6 or so)? Sometimes the widgets don't look 100% native. You can take a look at the example if you

Re: the most D-ish GUI library

2016-03-19 Thread Saša Janiška via Digitalmars-d
Gary Willoughby writes: > Tkd is truly cross-platform (Linux, Mac and Windows), very simple to > understand and 'just works' with very little effort but it's not very > modern. When you say 'modern' do you consider lack of some 'modern' widget or just general look (although I

Re: the most D-ish GUI library

2016-03-19 Thread Jacob Carlborg via Digitalmars-d
On 18/03/16 08:54, Saša Janiška wrote: Considering that I'm on Linux, I'm happy there is no such thing as 'native', but there is choice, although in my case it's GNOME/GTK. ;) I assume you still want it to look consistent across all applications. It would look pretty bad if one of the

Re: the most D-ish GUI library

2016-03-19 Thread Vadim Lopatin via Digitalmars-d
On Wednesday, 16 March 2016 at 19:56:42 UTC, Saša Janiška wrote: What about integration with Mac OS, iirc, it has some (strange to me) habit of stealing app's functions and display them as system function or something (I recall trying to finish some video work on friend's laptop using Premiere

Re: the most D-ish GUI library

2016-03-19 Thread Saša Janiška via Digitalmars-d
Jacob Carlborg writes: > Not sure what you're referring to. The "Services" menu? Probably...although my experience with Mac OS is very limited... Sincerely, Gour -- >From wherever the mind wanders due to its flickering and unsteady nature, one must certainly withdraw it and

Re: the most D-ish GUI library

2016-03-19 Thread Saša Janiška via Digitalmars-d
Jacob Carlborg writes: > I don't agree. I want everything to look native, not just the menu ;) Considering that I'm on Linux, I'm happy there is no such thing as 'native', but there is choice, although in my case it's GNOME/GTK. ;) Sincerely, Gour -- One who sees inaction in

Re: the most D-ish GUI library

2016-03-19 Thread Jacob Carlborg via Digitalmars-d
On 16/03/16 20:56, Saša Janiška wrote: What about integration with Mac OS, iirc, it has some (strange to me) habit of stealing app's functions and display them as system function or something (I recall trying to finish some video work on friend's laptop using Premiere and it was unforgettable

Re: the most D-ish GUI library

2016-03-19 Thread Jacob Carlborg via Digitalmars-d
On 17/03/16 15:21, Kagamin wrote: Swing is custom-drawn like dlangui, Qt, GTK and WPF. SWT is a relatively thin wrapper over system controls like wxWidgets, IUP and DFL. There's actually quite a lot of code in SWT to make it behave consistently on all platforms. -- /Jacob Carlborg

Re: the most D-ish GUI library

2016-03-19 Thread Karabuta via Digitalmars-d
On Wednesday, 16 March 2016 at 07:26:24 UTC, Saša Janiška wrote: Karabuta writes: I run on Linux so i would sadly go for Gtk :( whilst keeping an eye on DlangUI Do you have any opinion for DWT (https://github.com/d-widget-toolkit/dwt which *might* be a nice one?

Re: the most D-ish GUI library

2016-03-19 Thread Jacob Carlborg via Digitalmars-d
On 17/03/16 12:23, Saša Janiška wrote: That's really strange for me, but, otoh, I'm aware that "De gustibus non est disputandum" :-) I don't agree. I want everything to look native, not just the menu ;) -- /Jacob Carlborg

Re: the most D-ish GUI library

2016-03-19 Thread Jacob Carlborg via Digitalmars-d
On 18/03/16 08:52, Saša Janiška wrote: Probably...although my experience with Mac OS is very limited... I can't recall I ever have used it. If it's not present, I don't think it will be missed. -- /Jacob Carlborg

Re: the most D-ish GUI library

2016-03-18 Thread Saša Janiška via Digitalmars-d
Vadim Lopatin writes: > Some of such widgets are easy to implement. > Switch - just need to add new style for button to theme. You already did it, right? > Switch, Stack, Notebook, HeaderBar - new styles for TabHeader, > TabHost, TabWidget Can be implemented in one

Re: the most D-ish GUI library

2016-03-18 Thread Kagamin via Digitalmars-d
On Tuesday, 15 March 2016 at 09:35:07 UTC, Luis wrote: Suddenly I have interest on DWT. I thought that was a simple copy of SWT, not being native... Swing is custom-drawn like dlangui, Qt, GTK and WPF. SWT is a relatively thin wrapper over system controls like wxWidgets, IUP and DFL.

Re: the most D-ish GUI library

2016-03-18 Thread Saša Janiška via Digitalmars-d
Gary Willoughby writes: > Sometimes the widgets don't look 100% native. You can take a look at > the example if you want. I did and it must say it looks pretty good. ;) At the end, the look is not all in all...how is tkd in regard to memory management etc.? Sincerely, Gour --

Re: the most D-ish GUI library

2016-03-18 Thread Karabuta via Digitalmars-d
On Wednesday, 16 March 2016 at 09:44:22 UTC, Vadim Lopatin wrote: On Tuesday, 15 March 2016 at 22:26:15 UTC, Karabuta wrote: DlangUI has a nice API design but still need serious design and art work to catch up with Gtk 3.18 - 2.0 in terms of UI look and feel. I also find that it just have

Re: the most D-ish GUI library

2016-03-16 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 15 March 2016 at 07:50:48 UTC, Saša Janiška wrote: Jordi Sayol via Digitalmars-d writes: TkD works on Linux. Have you used it and/or what would be some prp/cons vs GtkD? Sincerely, Gour I'm the author of Tkd and it depends on your need to which

Re: the most D-ish GUI library

2016-03-16 Thread Saša Janiška via Digitalmars-d
Karabuta writes: > I run on Linux so i would sadly go for Gtk :( whilst keeping an eye on > DlangUI Do you have any opinion for DWT (https://github.com/d-widget-toolkit/dwt which *might* be a nice one? Sincerely, Gour -- Many, many births both you and I have passed.

Re: the most D-ish GUI library

2016-03-15 Thread Karabuta via Digitalmars-d
On Sunday, 13 March 2016 at 22:26:48 UTC, Saša Janiška wrote: Hello, After long pause and trying some other languages, I've decided to try (again) with D for writing open-source multi-platform desktop (GUI) application. I've selected three different libraries: a) dlangui

Re: the most D-ish GUI library

2016-03-15 Thread Jacob Carlborg via Digitalmars-d
On 15/03/16 11:23, Saša Janiška wrote: That sounds very nice - something like wxWidgets, although I admit my experience with Java/SWT is zero. :-( There's a lot of documentation online for SWT. Most of the examples can be applied to DWT as well with none to minimal code changes. Some of the

Re: the most D-ish GUI library

2016-03-15 Thread Jacob Carlborg via Digitalmars-d
On 15/03/16 10:35, Luis wrote: Suddenly I have interest on DWT. I thought that was a simple copy of SWT, not being native... DWT is the Java code from SWT ported to D. It's native both as in native machine code and using native drawing operations. -- /Jacob Carlborg

Re: the most D-ish GUI library

2016-03-15 Thread thedeemon via Digitalmars-d
On Tuesday, 15 March 2016 at 10:31:40 UTC, Saša Janiška wrote: Another one is DML, an analog of QML: http://stuff.thedeemon.com/lj/dml.png is there some GUI build for DML? In the examples coming with DLangUI there is an app where on the left you enter some DML text and on the right you see

Re: the most D-ish GUI library

2016-03-15 Thread Saša Janiška via Digitalmars-d
thedeemon writes: > It is quite "D-ish", using the power of D metaprogramming and D syntax > quite effectively in some places. That's nice. > One big 'pro' of dlangui for me is that you can get a self-contained > 1-2 MB binary without dependencies on any DLLs. Small to

Re: the most D-ish GUI library

2016-03-15 Thread Saša Janiška via Digitalmars-d
Jaocb Carlborg writes: > No, DWT does _not_ work on OS X, neither native nor non-native. I'm > working on the OS X port indirectly. The automated process should work > for all ports. OK, the main thing for now it would be that it works on Linux...but I have some problems - see DWT

Re: the most D-ish GUI library

2016-03-15 Thread Luis via Digitalmars-d
On Tuesday, 15 March 2016 at 08:37:13 UTC, Jaocb Carlborg wrote: On Monday, 14 March 2016 at 20:26:51 UTC, Saša Janiška wrote: Well, OS X and Windows are 'nice to have'. DWT already works on Windows where it uses native drawing operations. So, DWT works on Mac OS, but it's not native as

Re: the most D-ish GUI library

2016-03-15 Thread Luis via Digitalmars-d
On Tuesday, 15 March 2016 at 07:50:48 UTC, Saša Janiška wrote: Jordi Sayol via Digitalmars-d writes: TkD works on Linux. Have you used it and/or what would be some prp/cons vs GtkD? Sincerely, Gour I only tested the examples when I was searching an

Re: the most D-ish GUI library

2016-03-15 Thread Jaocb Carlborg via Digitalmars-d
On Monday, 14 March 2016 at 20:26:51 UTC, Saša Janiška wrote: Well, OS X and Windows are 'nice to have'. DWT already works on Windows where it uses native drawing operations. So, DWT works on Mac OS, but it's not native as GtkD and you do not have intention to work on OS X port, right?

Re: the most D-ish GUI library

2016-03-15 Thread Saša Janiška via Digitalmars-d
Jordi Sayol via Digitalmars-d writes: > TkD works on Linux. Have you used it and/or what would be some prp/cons vs GtkD? Sincerely, Gour -- One who is able to withdraw his senses from sense objects, as the tortoise draws its limbs within the shell, is firmly

Re: the most D-ish GUI library

2016-03-15 Thread Zardoz via Digitalmars-d
On Monday, 14 March 2016 at 20:41:52 UTC, Jordi Sayol wrote: El 14/03/16 a les 17:13, Luis via Digitalmars-d ha escrit: If I remember correctly tkd just works on Windows installing tk/tcl. TkD works on Linux. there are available deb packages at d-apt Sorry

Re: the most D-ish GUI library

2016-03-14 Thread thedeemon via Digitalmars-d
On Monday, 14 March 2016 at 18:54:31 UTC, Chris Wright wrote: I'm guessing dlangui will be best here, but GtkD is pretty good. What might be some 'pro' of dlangui? dlangui is written entirely in D, which makes it a little easier to make it more D-ish. That certainly doesn't mean it's

Re: the most D-ish GUI library

2016-03-14 Thread Jordi Sayol via Digitalmars-d
El 14/03/16 a les 17:13, Luis via Digitalmars-d ha escrit: > If I remember correctly tkd just works on Windows installing tk/tcl. TkD works on Linux. there are available deb packages at d-apt

Re: the most D-ish GUI library

2016-03-14 Thread Saša Janiška via Digitalmars-d
Luis writes: > A bit offtopic, but I think that we need is our D-ish wxWidgets > equivalent. In other words, a GUI that uses native widgets across > plataforms and all the power of D. Well, I see that wxWidgets is mature product and is heavily struggling with manpower

Re: the most D-ish GUI library

2016-03-14 Thread Saša Janiška via Digitalmars-d
Jacob Carlborg writes: > Well, currently there is no support for OS X so if that's a > requirement then DWT will obviously not work. Well, OS X and Windows are 'nice to have'. > Personally I would not create an application for OS X at all if it did > not have a native GUI. It

Re: the most D-ish GUI library

2016-03-14 Thread Jacob Carlborg via Digitalmars-d
On 14/03/16 10:20, Saša Janiška wrote: Jaocb Carlborg writes: There's DWT [1] as well. Wrong URL. ;) How embarrassing :). Here is the correct URL [1] for reference. I must admit I'm totally ignorant about Java and I neither use like the language nor do I use any Java app.

Re: the most D-ish GUI library

2016-03-14 Thread Chris Wright via Digitalmars-d
On Mon, 14 Mar 2016 08:52:37 +0100, Saša Janiška wrote: > Chris Wright writes: > >> I'm guessing dlangui will be best here, but GtkD is pretty good. > > What might be some 'pro' of dlangui? dlangui is written entirely in D, which makes it a little easier to make it more

Re: the most D-ish GUI library

2016-03-14 Thread Luis via Digitalmars-d
On Monday, 14 March 2016 at 09:20:08 UTC, Saša Janiška wrote: Jaocb Carlborg writes: and there's no support for OS X. If you say that "anything that is non-native or doesn't look native is not acceptable on OS X" what is the advantage of DWT in comparison with GtkD for

Re: the most D-ish GUI library

2016-03-14 Thread Luis via Digitalmars-d
On Sunday, 13 March 2016 at 22:26:48 UTC, Saša Janiška wrote: I've selected three different libraries: a) dlangui (https://github.com/buggins/dlangui b) GtkD (https://github.com/gtkd-developers/GtkD and c) tkd (https://github.com/nomad-software/tkd) Debian Linux (Sid, x86_64) is my native

Re: the most D-ish GUI library

2016-03-14 Thread Martin Tschierschke via Digitalmars-d
On Sunday, 13 March 2016 at 22:26:48 UTC, Saša Janiška wrote: b) GtkD (https://github.com/gtkd-developers/GtkD and There may be more or better, but I found this tutorial useful: http://www.britseyeview.com/software/articles/ : Getting Started with Gtkd:

Re: the most D-ish GUI library

2016-03-14 Thread Saša Janiška via Digitalmars-d
Jaocb Carlborg writes: > There's DWT [1] as well. Wrong URL. ;) I know about DWT, but when I was considering D in the past, DWT was not actively developed and was, iirc, in kind of maint. mode only. > Which uses native drawing operations and are completely written in D. That's

Re: the most D-ish GUI library

2016-03-14 Thread Jaocb Carlborg via Digitalmars-d
On Sunday, 13 March 2016 at 22:26:48 UTC, Saša Janiška wrote: Hello, After long pause and trying some other languages, I've decided to try (again) with D for writing open-source multi-platform desktop (GUI) application. I've selected three different libraries: a) dlangui

Re: the most D-ish GUI library

2016-03-14 Thread Vadim Lopatin via Digitalmars-d
On Sunday, 13 March 2016 at 22:49:30 UTC, Chris Wright wrote: dlangui will be consistent on different platforms. However, what I've seen in it doesn't support antialiasing, so it's kind of ugly. DlangUI does support antialiasing for font rendering and as well provides some enhancements like

Re: the most D-ish GUI library

2016-03-14 Thread Saša Janiška via Digitalmars-d
Gerald writes: > I've never tried it, however having been down this road before (i.e. > non-native widgets) with Java Swing I have no great desire to try > something in a similar vein, so that ruled it out for me. I know that there is/was DWT, but I was also not excited

Re: the most D-ish GUI library

2016-03-14 Thread Saša Janiška via Digitalmars-d
FreeSlave writes: > GTK-D is ok if you're ok with gtk on Windows and OSX. Well, considering there are not many other options like wx/Qt which seems to big, I can probably live with it being aware that GTK is thrilling neither on Mac nor on Windows, but there are some apps

Re: the most D-ish GUI library

2016-03-14 Thread Saša Janiška via Digitalmars-d
Chris Wright writes: > I'm guessing dlangui will be best here, but GtkD is pretty good. What might be some 'pro' of dlangui? > You might be able to use model-view-presenter and keep the model and > presenter @safe and the view @trusted, but @safe has poor adoption so > far.

Re: the most D-ish GUI library

2016-03-14 Thread Saša Janiška via Digitalmars-d
WebFreak001 writes: > I never tried tkd though. But in my opinion GtkD is currently the best > one and the API is just awesome Thank you. Sincerely, Gour -- The spirit soul bewildered by the influence of false ego thinks himself the doer of activities that are in actuality

Re: the most D-ish GUI library

2016-03-13 Thread Gerald via Digitalmars-d
On Sunday, 13 March 2016 at 22:26:48 UTC, Saša Janiška wrote: a) dlangui (https://github.com/buggins/dlangui I've never tried it, however having been down this road before (i.e. non-native widgets) with Java Swing I have no great desire to try something in a similar vein, so that ruled it

Re: the most D-ish GUI library

2016-03-13 Thread thedeemon via Digitalmars-d
On Sunday, 13 March 2016 at 22:49:30 UTC, Chris Wright wrote: dlangui will be consistent on different platforms. However, what I've seen in it doesn't support antialiasing, so it's kind of ugly. DLangUI has several backends for drawing things in general (OpenGL / WinAPI / SFML / SDL...) and

Re: the most D-ish GUI library

2016-03-13 Thread FreeSlave via Digitalmars-d
On Sunday, 13 March 2016 at 22:26:48 UTC, Saša Janiška wrote: Hello, After long pause and trying some other languages, I've decided to try (again) with D for writing open-source multi-platform desktop (GUI) application. I've selected three different libraries: a) dlangui

Re: the most D-ish GUI library

2016-03-13 Thread Chris Wright via Digitalmars-d
On Sun, 13 Mar 2016 23:26:48 +0100, Saša Janiška wrote: > which of > the above mentioned libraries are the most D-ish in sense to provide > things like more D-idiomatic API, properly taking care about memory > management I'm guessing dlangui will be best here, but GtkD is pretty good. > (in

Re: the most D-ish GUI library

2016-03-13 Thread WebFreak001 via Digitalmars-d
On Sunday, 13 March 2016 at 22:26:48 UTC, Saša Janiška wrote: a) dlangui (https://github.com/buggins/dlangui b) GtkD (https://github.com/gtkd-developers/GtkD and c) tkd (https://github.com/nomad-software/tkd) I prefer GtkD, its the most system native one on linux and its well tested as its

the most D-ish GUI library

2016-03-13 Thread Saša Janiška via Digitalmars-d
Hello, After long pause and trying some other languages, I've decided to try (again) with D for writing open-source multi-platform desktop (GUI) application. I've selected three different libraries: a) dlangui (https://github.com/buggins/dlangui b) GtkD (https://github.com/gtkd-developers/GtkD