this post was submitted on 03 Apr 2025
55 points (98.2% liked)

Linux

52787 readers
952 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hello all,

I'm trying to get into GUI programming, but am hesitating on using a Python library to make my first barebones program. My goal is to code basic buttons and understand how operating systems implement the way they draw windows for applications.

I have coded mostly in scientific libraries or high-level languages that are fairly simple (Python, Matlab, Julia)... Also am familiar with basic concepts and syntax from C.

Looking for recommendations to start. I am happy to learn a new PL. Interested in writing code for legacy hardware and mobile. Bonus if the codes are general enough to be written for most displays one could interact with.

you are viewing a single comment's thread
view the rest of the comments
[–] zolar@lemmy.world 5 points 1 day ago* (last edited 1 day ago)

Not directly programming or coding GUI from scratch with a library or something: Have you considered using a game engine like Godot ( https://godotengine.org/ ) ?

You would have a toolbox for several essential GUI-elements. You could visually create the GUI and add functionality by script. Also, there are several possibilities to handle different screen sizes and touch.

You would have to learn the UI and concepts of Godot but the documentation is ok and there are plenty of tutorials available.