We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 113711c commit f269e12Copy full SHA for f269e12
studyLib/gui/tk_frame.py
@@ -0,0 +1,16 @@
1
+#!/usr/bin/env python3
2
+# -*- coding: utf-8 -*-
3
+
4
+import tkinter
5
6
+__author__ = 'Mr.Huo'
7
8
9
+def main():
10
+ root = tkinter.Tk()
11
+ root.mainloop()
12
+ pass
13
14
15
+if __name__ == '__main__':
16
+ main()
studyLib/gui/tk_gui.py
@@ -36,6 +36,9 @@ def _creatWidgets(self):
36
self._helloLabel = Label(self, text='Hello World')
37
self._helloLabel.pack()
38
39
+ self._text = Text(self)
40
+ self._text.pack()
41
42
def _resize(self, ev=None):
43
self._helloLabel.config(font='Helvetica -%d bold' % self._scale.get())
44
0 commit comments