WPF or GTK? which one is better

I'm going to start a new project with WPF, last week I read a lot about this and found it very useful. But recently I met GTK, which is open and has most of the features of WPF.

Which one is better (generic) and GTK is the best choice for me or not?

I use .NET, and my clients use Windows (XP sp2 and higher).

+4
source share
4 answers

I use GTK for windows because windows is my favorite development platform, but in production code GTK is only used on Unix platforms (Linux / FreeBSD). Its just bad for production code on Windows7. The umlaute key errors have already been mentioned so as to add problems with pop-ups and focus events.

Also, even though it's called multipattform on the GTK webpage, the team doesn't care too much about Windows and MacOSX. This hostile attitude makes it much worse and more dangerous to use code. A good sign is that they just didn't come up with an easy way to compile the VS2010 environment. I do not understand that it is so difficult to write simple make files.

There is no chance on Windows other than using WPF or MFC. And on MacOSX you have to use Cocoa. Windows7 and Cocoa both have outdated large parts of the abstract engine, which means (and this is a clear strategic goal) developers should use the platform GUI tools in the long run.

+5
source

... But recently I met GTK, which is open and has most of the WPF capabilities.

Hm, I doubt that this expression will continue to be a thorough analysis. WPF implements many features and capabilities that are believed to ever be realized by GTK, but if you do not expect ...

I use .NET, and my clients use Windows (XP sp2 and higher).

What? Do you use .NET and think that you are using other presentation interfaces, and then those that are already perfectly integrated with the platform? I don’t get it. I assume that you really mean .NET (that is, Microsoft for implementing the CLR / CLS specification).

+3
source

I had different problems with GTK because keyboard support does not work on Windows. Umlauts etc ... are not recognized correctly. It happens in every GTK application that I have on Windows, so it’s not only in my application.

https://bugzilla.gnome.org/show_bug.cgi?id=371371

Because of this, GTK will never be an option for me on Windows (I can't even use my own applications).

WPF, by contrast, is trying to break down some tasks much more than GTK can. Means that the designer and programmer should be able to better share their work.

+1
source

I think you understand your question on Google search.

I think you should reference this. links.

http://www.stealthstartupblog.com/?p=23
http://trader.mikaelaldridge.com/uncategorized/wpf-vs-gtk/

+1
source

Source: https://habr.com/ru/post/1347341/


All Articles