#NEWLINE# def set_mouse_platform_visible( self , platform_visible = None ) : #NEWLINE# #INDENT# if ( platform_visible is None ) : #NEWLINE# #INDENT# platform_visible = ( self . _mouse_visible and ( not self . _mouse_exclusive ) and ( not self . _mouse_cursor . drawable ) ) #NEWLINE# #UNINDENT# if ( not self . _mouse_in_window ) : #NEWLINE# #INDENT# platform_visible = True #NEWLINE# #UNINDENT# if ( self . _mouse_in_window and isinstance ( self . _mouse_cursor , CarbonMouseCursor ) ) : #NEWLINE# #INDENT# carbon . SetThemeCursor ( self . _mouse_cursor . theme ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# carbon . SetThemeCursor ( kThemeArrowCursor ) #NEWLINE# #UNINDENT# if ( self . _mouse_platform_visible == platform_visible ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if platform_visible : #NEWLINE# #INDENT# carbon . ShowCursor ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# carbon . HideCursor ( ) #NEWLINE# #UNINDENT# self . _mouse_platform_visible = self