Python Forum
[Tkinter] Need some basic help with GUI graphics - 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: [Tkinter] Need some basic help with GUI graphics (/thread-6218.html)



Need some basic help with GUI graphics - Jerz - Nov-11-2017

Hey,
I'm new to python graphics and fairly new to python in general and I just need some basic help. How does the whole grid thing work? Like how do you place the buttons and the texts boxes where you want emm. I know its really dumb asking this but I really need help.


RE: Need some basic help with GUI graphics - heiner55 - Nov-11-2017

See https://python-forum.io/Thread-Tkinter-Very-Basic-Example-Only-Hello-World
See https://python-forum.io/Thread-Tkinter-Getting-Tkinter-Grid-Sizing-Right-the-first-time


RE: Need some basic help with GUI graphics - Larz60+ - Nov-11-2017

Since you are just starting out with GUI, might I suggest trying wxpython
instead. It is , in my opinion, much easier to use.
Tkinter is fine for small projects, but can be a nightmare when it comes to
container and widget layout. Drag and drop, and window expansion are both
difficult in tkinter, and docking even more difficult.
When using the wx.aui manager, all of this is a piece of cake in wxpython (phoenix)

The demo that comes with the system is all nicely arranged in a single application where
you click on overview to get a general idea of what can be done with the object, whether
it be a dialog or widget, then on another tab, you get to try the object in (often) many
different ways, and finally i a third tab, get to see (and/or copy) the code, which can often
be used for the basis of your application.

Admittedly, I am showing a tiny bit of bias here.
To get an idea of some of the things you can do with wxpython, see: https://wxpython.org/Phoenix/docs/html/gallery.html