Revision: 8419
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8419&view=rev
Author:   efiring
Date:     2010-06-12 21:30:38 +0000 (Sat, 12 Jun 2010)

Log Message:
-----------
windowing: add module docstring, fix import

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/windowing.py

Modified: trunk/matplotlib/lib/matplotlib/windowing.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/windowing.py        2010-06-12 16:07:42 UTC 
(rev 8418)
+++ trunk/matplotlib/lib/matplotlib/windowing.py        2010-06-12 21:30:38 UTC 
(rev 8419)
@@ -1,3 +1,11 @@
+"""
+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.
+"""
 from matplotlib import rcParams
 
 try:
@@ -3,5 +11,5 @@
     if not rcParams['tk.window_focus']:
         raise ImportError
-    from _windowing import GetForegroundWindow, SetForegroundWindow
+    from matplotlib._windowing import GetForegroundWindow, SetForegroundWindow
 except ImportError:
     def GetForegroundWindow():


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to