@@ -266,6 +266,13 @@ def __init__(self, *args, **kwargs):
266
266
# Create Full tree button
267
267
self .create_full_tree_button = ctk .CTkButton (self .tree_frame , text = "Full" , width = 90 , command = self .create_tree )
268
268
self .create_full_tree_button .grid (row = 2 , column = 1 , pady = 5 , padx = 5 , sticky = "nwse" )
269
+ self .open_in_new_window_checkbox = ctk .CTkCheckBox (self .tree_frame ,
270
+ text = "Open in new window" ,
271
+ variable = self .operate_folder_var ,
272
+ command = self .push_checkbox ,
273
+ onvalue = True ,
274
+ offvalue = False )
275
+ self .open_in_new_window_checkbox .grid (row = 3 , column = 1 , columnspan = 2 , padx = 5 , sticky = "we" )
269
276
270
277
# Media Info frame area
271
278
self .media_info_frame = ctk .CTkFrame (self .root_frame )
@@ -280,6 +287,14 @@ def __init__(self, *args, **kwargs):
280
287
# Get full media info log box function
281
288
self .create_get_full_media_info_button = ctk .CTkButton (self .media_info_frame , text = "Full" , width = 90 , command = self .get_full_media_info )
282
289
self .create_get_full_media_info_button .grid (row = 1 , column = 2 , pady = 5 , padx = 5 , sticky = "we" )
290
+ self .open_in_new_window_checkbox = ctk .CTkCheckBox (self .media_info_frame ,
291
+ text = "Open in new window" ,
292
+ variable = self .operate_folder_var ,
293
+ command = self .push_checkbox ,
294
+ onvalue = True ,
295
+ offvalue = False )
296
+ self .open_in_new_window_checkbox .grid (row = 3 , column = 1 ,columnspan = 2 , padx = 5 , sticky = "we" )
297
+
283
298
284
299
# Log area
285
300
self .log_frame = ctk .CTkFrame (self )
@@ -337,13 +352,11 @@ def clear_logbox(self):
337
352
def get_full_media_info (self ):
338
353
file_path = filedialog .askopenfilename ()
339
354
file_info = FileInfo (file_path )
340
- # self.log_operation(file_info.print_info())
341
355
file_info .print_info_to_text_widget (self .log_box , 'detailed' )
342
356
343
357
def get_compact_media_info (self ):
344
358
file_path = filedialog .askopenfilename ()
345
359
file_info = FileInfo (file_path )
346
- # self.log_operation(file_info.print_info())
347
360
file_info .print_info_to_text_widget (self .log_box , 'compact' )
348
361
349
362
def update_label_info (self , entry , label ):
0 commit comments