Python Forum
sample GUI programs/scripts - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: sample GUI programs/scripts (/thread-15427.html)



sample GUI programs/scripts - Skaperen - Jan-16-2019

i am looking for sample GUI programs/scripts that a coded only in Python (as are any modules or libraries it uses beyond core graphical components). i would like to see simpler smaller scripts that are complete enough that i can just download them and run them on my Ubuntu Linux 16.04 laptop that has Python 3.5.2 and 2.7.12. i have a couple ideas for GUI apps i want to code in Python 3 and need to do a lot of learning to get there.


RE: sample GUI programs/scripts - Alfalfa - Jan-17-2019

You may take a look at those snippets for PyQt5, especially 'Bare application template' and 'Mouse draggable frameless window'.


RE: sample GUI programs/scripts - Skaperen - Jan-18-2019

i have read that Qt is for KDE. what would i need to use for Xfce?


RE: sample GUI programs/scripts - Gribouillis - Jan-18-2019

You can find many small tkinter scripts here and here and here


RE: sample GUI programs/scripts - Alfalfa - Jan-18-2019

(Jan-18-2019, 04:32 AM)Skaperen Wrote: i have read that Qt is for KDE. what would i need to use for Xfce?

Qt is cross platform and it works fine on Linux. The desktop environment is not that relevant (I use Openbox). The advantage of deploying Qt apps on KDE is that the required libs are already installed. But at the opposite I've found that all my apps work fine on most DE, but need specific fixes for KDE as they tend to change the way that Qt work natively, such as appending '&' in front of tab names and other idiosyncrasies.


RE: sample GUI programs/scripts - Skaperen - Jan-19-2019

is there a Python binding for GTK+ ? i found that the native Qt API is C++ whereas the native GTK+ API is plain ole C. my pre-Python experience is in C, not C++, so i would be inclined to go with something based on GTK+, if at all possible, just to learn one set of API semantics.