tk.Button(btn_frame, text="Get All Text", command=get_all_text).pack(side=tk.LEFT, padx=5) tk.Button(btn_frame, text="Get Selection", command=get_selection).pack(side ...