You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
###### 6.event response: establish the mapping between events and functions for the control of Tkinter.
34
+
4.###### 4.control settings: basic attribute editing is performed for the control.
37
35
38
-
###### 7.logic writing: logical processing of event functions.
36
+
5.###### 5.variable binding: bind variables for Tkinter control.
39
37
40
-
###### 8.compile and run: call Python command to compile and run the project.
38
+
6.###### 6.event response: establish the mapping between events and functions for the control of Tkinter.
39
+
40
+
7.###### 7.logic writing: logical processing of event functions.
41
+
42
+
8.###### 8.compile and run: call Python command to compile and run the project.
43
+
44
+
9.###### 9.package exe: call Python command to package exe for the project.
45
+
46
+
10.###### 10.custom module import: import and call the customized module.
41
47
42
-
###### 9.package exe: call Python command to package exe for the project.
43
48
44
-
###### 10.custom module import: import and call the customized module.
45
49
46
50
## TK designer function explanation:
47
51
@@ -322,7 +326,7 @@ class Express:
322
326
ListBox.insert(tkinter.END,"Error")
323
327
```
324
328
325
-
329
+
326
330
There is only one way to write a custom module class: if you want to pass parameters to it in the designer, you need to use set_ And get_ Variable access method for prefix. So we design the function of three variables, including the company ID of express company, express number, and we want to pass in a control ComboBox to accept the list of company names.
327
331
If you find it inconvenient to write the current project code, you can also use vscode or your favorite code editor to write the code, or directly import or copy "Express. py" from the instance project.
0 commit comments