OwlCyberSecurity - MANAGER
Edit File: windowing.cpython-38.pyc
U ��]� � @ s~ d Z ddlmZmZ ejdddd� z ed s2e�ddlmZm Z W n$ ek rh d d � Zdd� Z Y nX G d d� de�ZdS )a MS Windows-specific helper for the TkAgg backend. With rcParams['tk.window_focus'] default of False, it is effectively disabled. It uses a tiny C++ extension module to access MS Win functions. This module is deprecated and will be removed in version 3.2 � )�rcParams�cbookz3.0�modulezbackends.windowing)Zobj_type�nameztk.window_focus)�Win32_GetForegroundWindow�Win32_SetForegroundWindowc C s dS )Nr � r r r �?/usr/lib/python3/dist-packages/matplotlib/backends/windowing.py�GetForegroundWindow s r c C s d S �Nr )Zhwndr r r �SetForegroundWindow s r c @ s e Zd Zdd� Zdd� ZdS )�FocusManagerc C s t � | _d S r )r �_shellWindow��selfr r r �__init__! s zFocusManager.__init__c C s t | j� d S r )r r r r r r �__del__$ s zFocusManager.__del__N)�__name__� __module__�__qualname__r r r r r r r s r N) �__doc__Z matplotlibr r Zwarn_deprecated�ImportErrorZmatplotlib.backends._tkaggr r r r �objectr r r r r �<module> s