#NEWLINE# def _get_mouse_in_content( self , ev , x , y ) : #NEWLINE# #INDENT# if self . _fullscreen : #NEWLINE# #INDENT# return ( ( 0 <= x < self . _width ) and ( 0 <= y < self . _height ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# position = Point ( ) #NEWLINE# carbon . GetEventParameter ( ev , kEventParamMouseLocation , typeQDPoint , c_void_p ( ) , sizeof ( position ) , c_void_p ( ) , byref ( position ) ) #NEWLINE# return ( carbon . FindWindow ( position , None ) == inContent )