this post was submitted on 23 Jan 2024
17 points (100.0% liked)

Learn Programming

1642 readers
1 users here now

Posting Etiquette

  1. Ask the main part of your question in the title. This should be concise but informative.

  2. Provide everything up front. Don't make people fish for more details in the comments. Provide background information and examples.

  3. Be present for follow up questions. Don't ask for help and run away. Stick around to answer questions and provide more details.

  4. Ask about the problem you're trying to solve. Don't focus too much on debugging your exact solution, as you may be going down the wrong path. Include as much information as you can about what you ultimately are trying to achieve. See more on this here: https://xyproblem.info/

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
 

I realize this is a very broad question, so to help I'll mention that my primary experience with any programming language is Python. I've looked into C and C++ as well, but I haven't written much in them; in part because they're more involved, and in part because I get lost in the IDE weeds with'em (whether choosing an IDE or getting it configured to even get started tbh, but that's mostly a different topic).

In Python I know there's an option in Tkinter, and I've worked with it to some extent but never got entirely comfortable with it. Maybe it would be best to try making some more stuff with it instead of bouncing around different things, but would that be advisable over something that may be better suited to the task?

If it would be better to stick with it, what might be some things you wish you'd known starting out with GUI programming (whether particular to Python or generally applicable)?

you are viewing a single comment's thread
view the rest of the comments
[–] RonSijm 4 points 10 months ago (3 children)

When you said "GUI Programming" What kind of GUI are you talking about? A web-based GUI or a desktop-based GUI?

Web-based the go to framework is generally React or Angular.

If you're talking about Desktop based, you probably want to stick with the language that you're also building the logic in. Like you could use another language like C# and write a front-end in Avalonia, but then you'd have to interlop from C# to Python.

You could also pick a language that's supported by Electron, then you'd basically be doing Web-Development but for desktop.

[–] [email protected] 2 points 10 months ago (2 children)

Oof, sorry, slipped my mind! I'd meant desktop-based (or device-based may be better these days?).

[–] RonSijm 2 points 10 months ago (1 children)

Well "Device based" is even more broad, haha. If you're also including iOS and Android.

Then you'd be looking at a cross-platform developing lanuage, like Flutter, React Native, Xamarin etc.

So the question is, what is the goal for your GUI? Is this a personal project where you just want to have a GUI for a specific system? (Windows / iOS system) - Or something published that you want people to be able to use on all devices?

[–] [email protected] 1 points 10 months ago

Is this a personal project where you just want to have a GUI for a specific system?

Mainly this tbh, in which case the answer for myself would be to limit to preferred platform, so I'll focus mainly on desktops. I've skimmed over web stuff and it gets brambly fast from what I can tell, which also applies for cross-platform in terms of devices as you've reminded me. 😅 Overall it's to simply learn how, as I enjoy good GUIs and think it might be nice to be able to make some.