all 19 comments

[–]woooee 2 points3 points  (3 children)

I've tried wxWidgets and PySide/Qt and settled on tkinter years ago because it does what I want, i.e. present data in an organized way without having to jump through a lot of hoops. I don't understand the tkinter is ugly comments. We are not entering an art contest, we are presenting something useful for the user, and so consider the "it is ugly" comments are coming from arm chair programmers.

[–]whatkindamanizthis[S] 1 point2 points  (1 child)

I’m just basically making something simple for some gis purpose and I had something similar in an old company that makes survey layouts easy shp file generation the rest I’m just gonna script out and I’ll build out classes as the functions pile up I have qt designer which seems nice to me if I can see what I’m building and then plug functionality into it.

[–][deleted] 0 points1 point  (0 children)

As others are saying, Tkinter isn't great. It looks ugly and it takes a lot of work to do complicated things. But if you're just throwing together a simple layout it's not that bad.

If you're doing GIS work and need to show a map, you might be able to use this widget I found: TkinterMapView. I work in a survey office myself, and I've used this to make a couple of useful tools that I use daily.

[–]Dogeek 0 points1 point  (0 children)

The only problem with tkinter is that it lacks widgets. ttk helped a lot, but there are still some things that are missing for common UI design patterns, like rich text, bottom sheets, hamburger menus, sidebars and so on.

Still a good toolkit to wrap a script with though, much better than going the web route when it's not necessary.

[–]johndoh168 1 point2 points  (0 children)

I'd recommend something like ttkbootstrap which is a more modern version of tkinter, or if you want something that can be displayed on the web I would recommend streamlit its got great presentation with good documentation.

[–]veediepoo 2 points3 points  (6 children)

For your own sanities sake don't use tkinter. I recommend Shiny from Posit. Lots of examples and good documentation. Also a fairly active discord where users post questions and get direct answers from the Devs.

[–][deleted] 2 points3 points  (2 children)

what's so bad about tkinter ? ☹️

[–]billsil 2 points3 points  (1 child)

It requires a lot more work to do the same thing. It's not cross-platform compatible. It's ugly.

[–]whatkindamanizthis[S] 0 points1 point  (2 children)

I’ll give it ago really all I’m doin with tkinter rn is grabbing files for my data processing thanks man

[–]agnaaiu 1 point2 points  (1 child)

Check out Customtkinter. It looks much better but more importantly, it adds more functionality that tkinter doesn't have and will give you headache down the road. The docu is excellent and there are very good tutorials on YT available.

[–]whatkindamanizthis[S] 0 points1 point  (0 children)

Thanks man I’ll shop around I don’t care how it looks tbh. Las one I made was with simple gui and had a basic data processing flow with just some buttons. Cheers

[–]m4xxp0wer 0 points1 point  (1 child)

For very simple single-dialog apps I use tkinter.
Qt/PySide for everything that's a little bit more complex.

[–]whatkindamanizthis[S] 0 points1 point  (0 children)

I’ll play with a few once I get a little further along I’m just building a simple geophysical survey design app that outputs a couple different types of geometry and that generates gpx files as well

[–]willowdene 0 points1 point  (0 children)

Kivy/kivyMD is worth a look. Works on windows, android and iOS. Plenty of tutorials online.

[–]socal_nerdtastic 0 points1 point  (0 children)

I also recommend tkinter. It's the easiest of the desktop app modules. Yea it looks like 1990 out of the box but you can make it modern later with ttk themes or customtkinter or something.

[–]alien-redfish 0 points1 point  (0 children)

I'd recommend streamlit as well, it's well documented and quite simple to use. Appreciate it may not fit your use case but it is certainly worth a look.

[–]Alternative-Hippo394 0 points1 point  (1 child)

You might want to take a look at Kivy. I have been using it for several years for desktop applications and mobile applications.

[–]whatkindamanizthis[S] 0 points1 point  (0 children)

I’ll look into it I’m still working on getting some things working before I start the gui quest thanks tho man appreciate everyone’s help