def resolution_callback_native(self):
     #gets the monitor resolution
     self._window_width = self._master.winfo_screenwidth()
     self._window_height = self._master.winfo_screenheight()
     
     resolution = WindowResolution(self._master)
     resolution.set_window_resolution(self._window_width, self._window_height)
     widget_list = self._master.winfo_children()
     widget_list[2].update()
     widget_list[2].update_idletasks()
     widget_list[3].update()
     widget_list[3].update_idletasks()
 def resolution_callback_1366x768(self):
     #calls the function to change the resolution to 1366x768
     self._window_width = 1366
     self._window_height = 768
     
     resolution = WindowResolution(self._master)
     resolution.set_window_resolution(self._window_width,self._window_height)
     widget_list = self._master.winfo_children()
     widget_list[2].update()
     widget_list[2].update_idletasks()
     widget_list[3].update()
     widget_list[3].update_idletasks()
 def resolution_callback_1920x1080(self):
     #calls the function to change the resolution to 1920x1080
     self._window_width = 1920
     self._window_height = 1080
     
     resolution = WindowResolution(self._master)
     widget_list = self._master.winfo_children()
     widget_list[2].update()
     widget_list[2].update_idletasks()
     widget_list[3].update()
     widget_list[3].update_idletasks()
     resolution.set_window_resolution(self._window_width, self._window_height)
 def resolution_fullscreen_callback(self):
     #returns whether the user wants fullscreen or not.
     self._fullscreen_checkbox = self._fullscreen_choice.get()
     resolution_fullscreen_choice = WindowResolution(self._master)
     resolution_fullscreen_choice.fullscreen(self._fullscreen_checkbox)
     self.resolution_callback_native()