Python - Multiple frames with Grid manager

后端 未结 3 735
借酒劲吻你
借酒劲吻你 2020-12-14 20:49

I\'m trying to use the functionality from the Tkinter module (Python 2.7) to create a GUI that has eight widgets placed on a 7 row by 5 column grid (sorry that I did not in

3条回答
  •  温柔的废话
    2020-12-14 21:14

    If you like try pytkgen (https://github.com/tmetsch/pytkgen or http://pypi.python.org/pypi/pytkgen/) - which generates Tkinter GUIs from JSON files and takes care of the weight, height and row/columnconfigure. See the examples here: https://github.com/tmetsch/pytkgen/tree/master/examples

提交回复
热议问题