Skip to content
Snippets Groups Projects
Commit f38439f4 authored by Glenn Glazer's avatar Glenn Glazer
Browse files

SL-407: post review change testing

parent dd18fb21
No related branches found
No related tags found
No related merge requests found
...@@ -121,7 +121,7 @@ def auto_resize(self, row_count = 0, column_count = 0, heavy_row = None, heavy_c ...@@ -121,7 +121,7 @@ def auto_resize(self, row_count = 0, column_count = 0, heavy_row = None, heavy_c
else: else:
self.rowconfigure(x, weight=1) self.rowconfigure(x, weight=1)
def basic_message(self, message, icon_name = None): def basic_message(self, message):
#message: text to be displayed #message: text to be displayed
#icon_path: directory holding the icon, defaults to icons subdir of script dir #icon_path: directory holding the icon, defaults to icons subdir of script dir
#icon_name: filename of icon to be displayed #icon_name: filename of icon to be displayed
...@@ -148,9 +148,9 @@ def binary_choice_message(self, message, true = 'Yes', false = 'No'): ...@@ -148,9 +148,9 @@ def binary_choice_message(self, message, true = 'Yes', false = 'No'):
self.text_label = tk.Label(text = message) self.text_label = tk.Label(text = message)
#command registers the callback to the method named. We want the frame to go away once clicked. #command registers the callback to the method named. We want the frame to go away once clicked.
#button 1 returns True/1, button 2 returns False/0 #button 1 returns True/1, button 2 returns False/0
self.button_one = ttk.Radiobutton(text = one, variable = self.choice, value = True, self.button_one = ttk.Radiobutton(text = true, variable = self.choice, value = True,
command = self._delete_window, style = 'Linden.TButton') command = self._delete_window, style = 'Linden.TButton')
self.button_two = ttk.Radiobutton(text = two, variable = self.choice, value = False, self.button_two = ttk.Radiobutton(text = false, variable = self.choice, value = False,
command = self._delete_window, style = 'Linden.TButton') command = self._delete_window, style = 'Linden.TButton')
self.set_colors(self.text_label) self.set_colors(self.text_label)
self.set_colors(self.image_label) self.set_colors(self.image_label)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment