LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-14-2022, 03:48 PM   #1
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Rep: Reputation: 110Reputation: 110
What is the best language for a GUI app?


I want to make a graphical application, something with a GUI. What language should I use?

The one language I really know and love is Tcl. I have been using it for 20 years and I have actually made a couple of graphical applications in Tcl/TK for my personal use.

But more and more, Tcl seems to be abandoned. I took a long hiatus from it and had a look around to see what "the scene" is like right now. Tcl is barely mentioned anywhere. I investigated programming job listings in multiple sites and couldn't find a single job opening for Tcl programmers. Sad. It's such an underrated language. I tried a bunch of IDEs and one or two barely support syntax highlighting for Tcl. Those that do won't do any more than that. They won't manage a project with a bunch of includes, indexing variables and functions etc. It's like the language doesn't exist or doesn't have citizenship. Code Blocks won't even open a Tcl file. Seriously, I tried it in many ways and never had success at making it load a Tcl file for mere editing! It's like verboten or something. Geany opens it, but won't manage it. Finding the source of errors among half a dozen files is tiresome.

Tk isn't half bad, but it looks very, very basic. I like that, it's my cup of tea, but most people disagree. I like a basic Openbox desktop while most people want all kinds of eye candy. There used to be bindings for Qt and GTK, but those seem abandoned now.

Being quirky gets old. You may feel happy in your almost private walled garden for a while, but it gets old. That's why I use Debian, because it's the second largest Linux community in the world. Ubuntu is first, but there are many things I don't like about Ubuntu. I want to use something that is popular, current and well supported.

Maybe Java is an option. But Java GUIs are pretty ugly. Even bisque-era Motif looks better.

Gambas looks nice, but it's a dialect of Visual Basic. Yikes! I hate that language.

I don't like Javascript, but coffeescript is pretty cool!

I know nothing about wxWidgets. I will have to look into it. It probably interacts with C, but I don't think I'm ever going to like C. I've tried a few times. I always give up. It's like the guitar, I love the sound of it, but I hate having one in my hands. I gave up on the guitar three times too.

OK, this is the topic. I would like to read opinions and perspectives, suggestions, pros and cons etc. If you don't like it, too bad. I've never been a charismatic person. If you want to share your two cents though, I will appreciate it.

TIA
 
Old 09-14-2022, 05:25 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
See if you like QML (C++):

https://www.kdab.com/kdab-tv/academy/#qml_module_1
 
1 members found this post helpful.
Old 09-14-2022, 06:02 PM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
I suggest that you spend some time at GitHub and SourceForge, looking for existing GUI applications that might be remotely similar to what you now have in mind. Go see what they did. Review their code, which they have now graciously shared with you and given away to you.

"Actum Ne Agas: Do Not Do A Thing Already Done.™" How much of their source-code can you now steal? (Knowing that you already have their blessings ...)

Last edited by sundialsvcs; 09-14-2022 at 06:05 PM.
 
Old 09-14-2022, 06:36 PM   #4
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 998

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
You first need to decide on a GUI toolkit. See the previous thread on toolkits https://www.linuxquestions.org/quest...ts-4175716517/

The GTK and Qt native APIs are in C and C++, respectively. Both have bindings for other languages.
Ed
 
1 members found this post helpful.
Old 09-14-2022, 06:52 PM   #5
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Original Poster
Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by dugan View Post
It's interesting. I wasn't aware of it, now I want to learn more.

Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian/Linux: TI AM5728 SOM TI's Matrix GUI APP Launcher Issue with getting an App work/load OpenCV Jithingeorge Debian 0 10-28-2018 07:45 PM
Best GUI app for ripping DVD to play back on micro-projectors bjwrenn Linux - Software 5 09-06-2011 12:22 PM
Writing GUI front-ends: what language + what GUI library? pear Programming 7 07-07-2008 08:17 AM
Gui App language for embedded platform? PatM Linux - Software 3 05-10-2008 08:11 PM
The best gui programming language and quickest to learn on linux. shadow5277 Programming 7 11-18-2007 03:11 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration