#NEWLINE# def set_partial_screen_transparent( self ) : #NEWLINE# #INDENT# self . set_always_on_top ( ) #NEWLINE# self . remove_title_bar ( ) #NEWLINE# self . disable_resizing ( ) #NEWLINE# for controller in self . containers : #NEWLINE# #INDENT# screenwidth = self . winfo_screenwidth ( ) #NEWLINE# screenheight = self . winfo_screenheight ( ) #NEWLINE# size_percentage = self . settings_manager . get_transparent_window_screen_size_percent ( ) #NEWLINE# alpha = self . settings_manager . get_transparent_window_alpha_percent ( ) #NEWLINE# window_width = int ( ( screenwidth * size_percentage ) ) #NEWLINE# window_height = int ( ( screenheight * size_percentage ) ) #NEWLINE# window_size = '{0}x{1}+0+0' . format ( window_width , window_height ) #NEWLINE# controller . master . geometry ( window_size ) #NEWLINE# controller . master . attributes ( '-alpha' , alpha ) #NEWLINE# #UNINDENT# self . toggle_transparent_frame_position ( )