|
@@ -79,6 +79,9 @@ e_poll_new.pack(side="left")
|
|
|
import queue
|
|
|
q = queue.Queue()
|
|
|
|
|
|
+def clear_list():
|
|
|
+ b_scan.delete("0.0","end")
|
|
|
+
|
|
|
def sort_list():
|
|
|
lines = b_scan.get("0.0","end")
|
|
|
lines = lines.split("\n")
|
|
@@ -145,6 +148,9 @@ btn_ping.pack(side="left",expand=0,fill="y")
|
|
|
b_scan2 = Tkinter.Button(line_frame,text="sort",width=8,command=sort_list,font=font2)
|
|
|
b_scan2.pack(side="left",expand=0,fill="y")
|
|
|
#-------------------------------------------- line
|
|
|
+b_scan2 = Tkinter.Button(line_frame,text="clear",width=8,command=clear_list,font=font2)
|
|
|
+b_scan2.pack(side="left",expand=0,fill="y")
|
|
|
+#-------------------------------------------- line
|
|
|
|
|
|
eframe10 = Tkinter.Frame(eframe1)
|
|
|
eframe10.pack(side="top",expand=1,fill="both")
|