`3Lc @ s d Z d d l m Z y- e d s, e n d d l m Z m Z Wn# e k
rh d Z d Z n Xd d
d YZ d S( s
MS Windows-specific helper for TkAgg and FltkAgg backends.
With rcParams['tk.window_focus'] default of False, it is
effectively disabled.
It uses a tiny C++ extension module to access MS Win functions.
i( t rcParamss tk.window_focus( t GetForegroundWindowt SetForegroundWindowc C s d S( Ni ( ( ( ( sP /opt/alt/python27/lib64/python2.7/site-packages/matplotlib/backends/windowing.pyR s c C s d S( N( ( t hwnd( ( sP /opt/alt/python27/lib64/python2.7/site-packages/matplotlib/backends/windowing.pyR s t FocusManagerc B s e Z d Z d Z RS( c C s t | _ d S( N( R t _shellWindow( t self( ( sP /opt/alt/python27/lib64/python2.7/site-packages/matplotlib/backends/windowing.pyt __init__ s c C s t | j d S( N( R R ( R ( ( sP /opt/alt/python27/lib64/python2.7/site-packages/matplotlib/backends/windowing.pyt __del__ s ( t __name__t
__module__R R ( ( ( sP /opt/alt/python27/lib64/python2.7/site-packages/matplotlib/backends/windowing.pyR s N( ( t __doc__t
matplotlibR t ImportErrort matplotlib._windowingR R R ( ( ( sP /opt/alt/python27/lib64/python2.7/site-packages/matplotlib/backends/windowing.pyt <module> s