this post was submitted on 30 May 2024
22 points (95.8% liked)

Asklemmy

43807 readers
970 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

Hello all!

I'm looking for a simple to use GUI for my FOSS python project.

I have tried tkinter which is, uh, usable but seriously oldish? Good point seems to be it's basically inbuilt in python so not hard to distribute.

PyQt is on the heavy end, I just need windows, scrollbars and buttons (basically, see below), also I wonder about the license of Qt (it's always a PITA when trying to do C++ Qt) and also what you must package when you distribute the soft.

Must haves:

  • Frames (I need two independent lists of files and another with global info)
  • Text, buttons & colors, an "open file" dialog. Editable text field.
  • Scrollable lists, with clickable icons (ex. "Filename [Delete icon] [Update icon]")
  • Async behaviour (so that a thread can update one part when it sees fit)
  • Works on most popular Linux
  • FOSS (I don't want to change everything when the soft dies, or be on the enshittification ride)

Nice to have :

  • Possibility to make pop out windows (like a settings manager)
  • Mac & Win support

Cheers and thank you!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 4 points 5 months ago* (last edited 5 months ago) (1 children)

I don't know if this something you're deliberately trying to avoid. Apologies if you are, and I've missed the point, but

I gave up on doing anything in TK years ago. For all the effort to make stuff work in it, you might as well just use flask and have a HTML frontend. That way, you know it's going to work on everything and includes remote access as a bonus.

Edit: for a lot more power with a little bit more learning curve, look at fastapi.

[โ€“] [email protected] 1 points 5 months ago

Yeah TK is so old in all ways... only upside is it's like bundled with Python.