1964 lines (1529 with data), 169.1 kB
@header@
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="matplotlib.html"><font color="#ffffff">matplotlib</font></a>.<a href="matplotlib.backends.html"><font color="#ffffff">backends</font></a>.backend_tkagg</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/jdhunter/dev/lib64/python2.5/site-packages/matplotlib/backends/backend_tkagg.py">/home/jdhunter/dev/lib64/python2.5/site-packages/matplotlib/backends/backend_tkagg.py</a></font></td></tr></table>
<p><tt># Todd Miller jmiller@stsci.edu</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom> <br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="FileDialog.html">FileDialog</a><br>
<a href="Tkinter.html">Tkinter</a><br>
<a href="matplotlib.cbook.html">matplotlib.cbook</a><br>
</td><td width="25%" valign=top><a href="math.html">math</a><br>
<a href="matplotlib.html">matplotlib</a><br>
<a href="os.html">os</a><br>
</td><td width="25%" valign=top><a href="sys.html">sys</a><br>
<a href="matplotlib.backends.tkagg.html">matplotlib.backends.tkagg</a><br>
<a href="matplotlib.windowing.html">matplotlib.windowing</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="Tkinter.html#Frame">Tkinter.Frame</a>(<a href="Tkinter.html#Widget">Tkinter.Widget</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.backends.backend_tkagg.html#NavigationToolbar">NavigationToolbar</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.backends.backend_tkagg.html#NavigationToolbar2TkAgg">NavigationToolbar2TkAgg</a>(<a href="matplotlib.backend_bases.html#NavigationToolbar2">matplotlib.backend_bases.NavigationToolbar2</a>, <a href="Tkinter.html#Frame">Tkinter.Frame</a>)
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="matplotlib.backend_bases.html#FigureManagerBase">matplotlib.backend_bases.FigureManagerBase</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.backends.backend_tkagg.html#FigureManagerTkAgg">FigureManagerTkAgg</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.backends.backend_tkagg.html#FigureManagerTkAgg">FigureManagerTkAgg</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="matplotlib.backend_bases.html#NavigationToolbar2">matplotlib.backend_bases.NavigationToolbar2</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.backends.backend_tkagg.html#NavigationToolbar2TkAgg">NavigationToolbar2TkAgg</a>(<a href="matplotlib.backend_bases.html#NavigationToolbar2">matplotlib.backend_bases.NavigationToolbar2</a>, <a href="Tkinter.html#Frame">Tkinter.Frame</a>)
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="matplotlib.backends.backend_agg.html#FigureCanvasAgg">matplotlib.backends.backend_agg.FigureCanvasAgg</a>(<a href="matplotlib.backend_bases.html#FigureCanvasBase">matplotlib.backend_bases.FigureCanvasBase</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.backends.backend_tkagg.html#FigureCanvasTkAgg">FigureCanvasTkAgg</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="matplotlib.backends.backend_tkagg.html#AxisMenu">AxisMenu</a>
</font></dt></dl>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="AxisMenu">class <strong>AxisMenu</strong></a></font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="AxisMenu-__init__"><strong>__init__</strong></a>(self, master, naxes)</dt></dl>
<dl><dt><a name="AxisMenu-adjust"><strong>adjust</strong></a>(self, naxes)</dt></dl>
<dl><dt><a name="AxisMenu-get_indices"><strong>get_indices</strong></a>(self)</dt></dl>
<dl><dt><a name="AxisMenu-invert_all"><strong>invert_all</strong></a>(self)</dt></dl>
<dl><dt><a name="AxisMenu-select_all"><strong>select_all</strong></a>(self)</dt></dl>
<dl><dt><a name="AxisMenu-set_active"><strong>set_active</strong></a>(self)</dt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="FigureCanvasTkAgg">class <strong>FigureCanvasTkAgg</strong></a>(<a href="matplotlib.backends.backend_agg.html#FigureCanvasAgg">matplotlib.backends.backend_agg.FigureCanvasAgg</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.backends.backend_tkagg.html#FigureCanvasTkAgg">FigureCanvasTkAgg</a></dd>
<dd><a href="matplotlib.backends.backend_agg.html#FigureCanvasAgg">matplotlib.backends.backend_agg.FigureCanvasAgg</a></dd>
<dd><a href="matplotlib.backend_bases.html#FigureCanvasBase">matplotlib.backend_bases.FigureCanvasBase</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FigureCanvasTkAgg-__init__"><strong>__init__</strong></a>(self, figure, master<font color="#909090">=None</font>, resize_callback<font color="#909090">=None</font>)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-blit"><strong>blit</strong></a>(self, bbox<font color="#909090">=None</font>)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-button_press_event"><strong>button_press_event</strong></a>(self, event)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-button_release_event"><strong>button_release_event</strong></a>(self, event)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-draw"><strong>draw</strong></a>(self)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-draw_idle"><strong>draw_idle</strong></a>(self)</dt><dd><tt>update drawing area only if idle</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-flush_events"><strong>flush_events</strong></a>(self)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-get_tk_widget"><strong>get_tk_widget</strong></a>(self)</dt><dd><tt>returns the Tk widget used to implement <a href="#FigureCanvasTkAgg">FigureCanvasTkAgg</a>.<br>
Although the initial implementation uses a Tk canvas, this routine<br>
is intended to hide that fact.</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-key_press"><strong>key_press</strong></a>(self, event)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-key_release"><strong>key_release</strong></a>(self, event)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-motion_notify_event"><strong>motion_notify_event</strong></a>(self, event)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-resize"><strong>resize</strong></a>(self, event)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-scroll_event"><strong>scroll_event</strong></a>(self, event)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-scroll_event_windows"><strong>scroll_event_windows</strong></a>(self, event)</dt><dd><tt>MouseWheel event processor</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-show"><strong>show</strong></a> = <a href="#FigureCanvasTkAgg-draw">draw</a>(self)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-start_event_loop"><strong>start_event_loop</strong></a>(self, timeout)</dt><dd><tt>Start an event loop. This is used to start a blocking event<br>
loop so that interactive functions, such as ginput and<br>
waitforbuttonpress, can wait for events. This should not be<br>
confused with the main GUI event loop, which is always running<br>
and has nothing to do with this.<br>
<br>
This function provides default event loop functionality based<br>
on time.sleep that is meant to be used until event loop<br>
functions for each of the GUI backends can be written. As<br>
such, it throws a deprecated warning.<br>
<br>
Call signature::<br>
<br>
<a href="#FigureCanvasTkAgg-start_event_loop_default">start_event_loop_default</a>(self,timeout=0)<br>
<br>
This call blocks until a callback function triggers<br>
<a href="#FigureCanvasTkAgg-stop_event_loop">stop_event_loop</a>() or *timeout* is reached. If *timeout* is<br>
<=0, never timeout.</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-stop_event_loop"><strong>stop_event_loop</strong></a>(self)</dt><dd><tt>Stop an event loop. This is used to stop a blocking event<br>
loop so that interactive functions, such as ginput and<br>
waitforbuttonpress, can wait for events.<br>
<br>
Call signature::<br>
<br>
<a href="#FigureCanvasTkAgg-stop_event_loop_default">stop_event_loop_default</a>(self)</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>keyvald</strong> = {65288: 'backspace', 65293: 'enter', 65299: 'break', 65300: 'scroll_lock', 65307: 'escape', 65360: 'home', 65361: 'left', 65362: 'up', 65363: 'right', 65364: 'down', ...}</dl>
<hr>
Methods inherited from <a href="matplotlib.backends.backend_agg.html#FigureCanvasAgg">matplotlib.backends.backend_agg.FigureCanvasAgg</a>:<br>
<dl><dt><a name="FigureCanvasTkAgg-buffer_rgba"><strong>buffer_rgba</strong></a>(self, x, y)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-copy_from_bbox"><strong>copy_from_bbox</strong></a>(self, bbox)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-get_default_filetype"><strong>get_default_filetype</strong></a>(self)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-get_renderer"><strong>get_renderer</strong></a>(self)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-print_png"><strong>print_png</strong></a>(self, filename_or_obj, *args, **kwargs)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-print_raw"><strong>print_raw</strong></a>(self, filename_or_obj, *args, **kwargs)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-print_rgba"><strong>print_rgba</strong></a> = print_raw(self, filename_or_obj, *args, **kwargs)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-restore_region"><strong>restore_region</strong></a>(self, region)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-tostring_argb"><strong>tostring_argb</strong></a>(self)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-tostring_rgb"><strong>tostring_rgb</strong></a>(self)</dt></dl>
<hr>
Methods inherited from <a href="matplotlib.backend_bases.html#FigureCanvasBase">matplotlib.backend_bases.FigureCanvasBase</a>:<br>
<dl><dt><a name="FigureCanvasTkAgg-draw_cursor"><strong>draw_cursor</strong></a>(self, event)</dt><dd><tt>Draw a cursor in the event.axes if inaxes is not None. Use<br>
native GUI drawing for efficiency if possible</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-draw_event"><strong>draw_event</strong></a>(self, renderer)</dt><dd><tt>This method will be call all functions connected to the<br>
'draw_event' with a :class:`DrawEvent`</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-get_supported_filetypes"><strong>get_supported_filetypes</strong></a>(self)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-get_supported_filetypes_grouped"><strong>get_supported_filetypes_grouped</strong></a>(self)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-get_width_height"><strong>get_width_height</strong></a>(self)</dt><dd><tt>return the figure width and height in points or pixels<br>
(depending on the backend), truncated to integers</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-idle_event"><strong>idle_event</strong></a>(self, guiEvent<font color="#909090">=None</font>)</dt><dd><tt>call when GUI is idle</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-key_press_event"><strong>key_press_event</strong></a>(self, key, guiEvent<font color="#909090">=None</font>)</dt><dd><tt>This method will be call all functions connected to the<br>
'key_press_event' with a :class:`KeyEvent`</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-key_release_event"><strong>key_release_event</strong></a>(self, key, guiEvent<font color="#909090">=None</font>)</dt><dd><tt>This method will be call all functions connected to the<br>
'key_release_event' with a :class:`KeyEvent`</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-mpl_connect"><strong>mpl_connect</strong></a>(self, s, func)</dt><dd><tt>Connect event with string *s* to *func*. The signature of *func* is::<br>
<br>
def func(event)<br>
<br>
where event is a :class:`matplotlib.backend_bases.Event`. The<br>
following events are recognized<br>
<br>
- 'button_press_event'<br>
- 'button_release_event'<br>
- 'draw_event'<br>
- 'key_press_event'<br>
- 'key_release_event'<br>
- 'motion_notify_event'<br>
- 'pick_event'<br>
- 'resize_event'<br>
- 'scroll_event'<br>
<br>
For the location events (button and key press/release), if the<br>
mouse is over the axes, the variable ``event.inaxes`` will be<br>
set to the :class:`~matplotlib.axes.Axes` the event occurs is<br>
over, and additionally, the variables ``event.xdata`` and<br>
``event.ydata`` will be defined. This is the mouse location<br>
in data coords. See<br>
:class:`~matplotlib.backend_bases.KeyEvent` and<br>
:class:`~matplotlib.backend_bases.MouseEvent` for more info.<br>
<br>
Return value is a connection id that can be used with<br>
:meth:`~matplotlib.backend_bases.Event.mpl_disconnect`.<br>
<br>
Example usage::<br>
<br>
def on_press(event):<br>
print 'you pressed', event.button, event.xdata, event.ydata<br>
<br>
cid = canvas.<a href="#FigureCanvasTkAgg-mpl_connect">mpl_connect</a>('button_press_event', on_press)</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-mpl_disconnect"><strong>mpl_disconnect</strong></a>(self, cid)</dt><dd><tt>disconnect callback id cid<br>
<br>
Example usage::<br>
<br>
cid = canvas.<a href="#FigureCanvasTkAgg-mpl_connect">mpl_connect</a>('button_press_event', on_press)<br>
#...later<br>
canvas.<a href="#FigureCanvasTkAgg-mpl_disconnect">mpl_disconnect</a>(cid)</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-onHilite"><strong>onHilite</strong></a>(self, ev)</dt><dd><tt>Mouse event processor which highlights the artists<br>
under the cursor. Connect this to the 'motion_notify_event'<br>
using::<br>
<br>
canvas.<a href="#FigureCanvasTkAgg-mpl_connect">mpl_connect</a>('motion_notify_event',canvas.onHilite)</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-onRemove"><strong>onRemove</strong></a>(self, ev)</dt><dd><tt>Mouse event processor which removes the top artist<br>
under the cursor. Connect this to the 'mouse_press_event'<br>
using::<br>
<br>
canvas.<a href="#FigureCanvasTkAgg-mpl_connect">mpl_connect</a>('mouse_press_event',canvas.onRemove)</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-pick"><strong>pick</strong></a>(self, mouseevent)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-pick_event"><strong>pick_event</strong></a>(self, mouseevent, artist, **kwargs)</dt><dd><tt>This method will be called by artists who are picked and will<br>
fire off :class:`PickEvent` callbacks registered listeners</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-print_bmp"><strong>print_bmp</strong></a> = print_raw(self, *args, **kwargs)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-print_emf"><strong>print_emf</strong></a>(self, *args, **kwargs)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-print_eps"><strong>print_eps</strong></a>(self, *args, **kwargs)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-print_figure"><strong>print_figure</strong></a>(self, filename, dpi<font color="#909090">=None</font>, facecolor<font color="#909090">='w'</font>, edgecolor<font color="#909090">='w'</font>, orientation<font color="#909090">='portrait'</font>, format<font color="#909090">=None</font>, **kwargs)</dt><dd><tt>Render the figure to hardcopy. Set the figure patch face and edge<br>
colors. This is useful because some of the GUIs have a gray figure<br>
face color background and you'll probably want to override this on<br>
hardcopy.<br>
<br>
Arguments are:<br>
<br>
*filename*<br>
can also be a file object on image backends<br>
<br>
*orientation*<br>
only currently applies to PostScript printing.<br>
<br>
*dpi*<br>
the dots per inch to save the figure in; if None, use savefig.dpi<br>
<br>
*facecolor*<br>
the facecolor of the figure<br>
<br>
*edgecolor*<br>
the edgecolor of the figure<br>
<br>
*orientation* '<br>
landscape' | 'portrait' (not supported on all backends)<br>
<br>
*format*<br>
when set, forcibly set the file format to save to</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-print_pdf"><strong>print_pdf</strong></a>(self, *args, **kwargs)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-print_ps"><strong>print_ps</strong></a>(self, *args, **kwargs)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-print_rgb"><strong>print_rgb</strong></a> = print_raw(self, *args, **kwargs)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-print_svg"><strong>print_svg</strong></a>(self, *args, **kwargs)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-print_svgz"><strong>print_svgz</strong></a>(self, *args, **kwargs)</dt></dl>
<dl><dt><a name="FigureCanvasTkAgg-resize_event"><strong>resize_event</strong></a>(self)</dt><dd><tt>This method will be call all functions connected to the<br>
'resize_event' with a :class:`ResizeEvent`</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-set_window_title"><strong>set_window_title</strong></a>(self, title)</dt><dd><tt>Set the title text of the window containing the figure. Note that<br>
this has no effect if there is no window (eg, a PS backend).</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-start_event_loop_default"><strong>start_event_loop_default</strong></a>(self, timeout<font color="#909090">=0</font>)</dt><dd><tt>Start an event loop. This is used to start a blocking event<br>
loop so that interactive functions, such as ginput and<br>
waitforbuttonpress, can wait for events. This should not be<br>
confused with the main GUI event loop, which is always running<br>
and has nothing to do with this.<br>
<br>
This function provides default event loop functionality based<br>
on time.sleep that is meant to be used until event loop<br>
functions for each of the GUI backends can be written. As<br>
such, it throws a deprecated warning.<br>
<br>
Call signature::<br>
<br>
<a href="#FigureCanvasTkAgg-start_event_loop_default">start_event_loop_default</a>(self,timeout=0)<br>
<br>
This call blocks until a callback function triggers<br>
<a href="#FigureCanvasTkAgg-stop_event_loop">stop_event_loop</a>() or *timeout* is reached. If *timeout* is<br>
<=0, never timeout.</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-stop_event_loop_default"><strong>stop_event_loop_default</strong></a>(self)</dt><dd><tt>Stop an event loop. This is used to stop a blocking event<br>
loop so that interactive functions, such as ginput and<br>
waitforbuttonpress, can wait for events.<br>
<br>
Call signature::<br>
<br>
<a href="#FigureCanvasTkAgg-stop_event_loop_default">stop_event_loop_default</a>(self)</tt></dd></dl>
<dl><dt><a name="FigureCanvasTkAgg-switch_backends"><strong>switch_backends</strong></a>(self, FigureCanvasClass)</dt><dd><tt>instantiate an instance of FigureCanvasClass<br>
<br>
This is used for backend switching, eg, to instantiate a<br>
FigureCanvasPS from a FigureCanvasGTK. Note, deep copying is<br>
not done, so any changes to one of the instances (eg, setting<br>
figure size or line props), will be reflected in the other</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.backend_bases.html#FigureCanvasBase">matplotlib.backend_bases.FigureCanvasBase</a>:<br>
<dl><dt><strong>events</strong> = ['resize_event', 'draw_event', 'key_press_event', 'key_release_event', 'button_press_event', 'button_release_event', 'scroll_event', 'motion_notify_event', 'pick_event', 'idle_event']</dl>
<dl><dt><strong>filetypes</strong> = {'emf': 'Enhanced Metafile', 'eps': 'Encapsulated Postscript', 'pdf': 'Portable Document Format', 'png': 'Portable Network Graphics', 'ps': 'Postscript', 'raw': 'Raw RGBA bitmap', 'rgba': 'Raw RGBA bitmap', 'svg': 'Scalable Vector Graphics', 'svgz': 'Scalable Vector Graphics'}</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><strong>FigureManager</strong> = <a name="FigureManager">class FigureManagerTkAgg</a>(<a href="matplotlib.backend_bases.html#FigureManagerBase">matplotlib.backend_bases.FigureManagerBase</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Public attributes<br>
<br>
canvas : The FigureCanvas instance<br>
num : The Figure number<br>
toolbar : The tk.Toolbar<br>
window : The tk.Window<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="FigureManagerTkAgg-__init__"><strong>__init__</strong></a>(self, canvas, num, window)</dt></dl>
<dl><dt><a name="FigureManagerTkAgg-destroy"><strong>destroy</strong></a>(self, *args)</dt></dl>
<dl><dt><a name="FigureManagerTkAgg-resize"><strong>resize</strong></a>(self, event)</dt></dl>
<dl><dt><a name="FigureManagerTkAgg-set_window_title"><strong>set_window_title</strong></a>(self, title)</dt></dl>
<dl><dt><a name="FigureManagerTkAgg-show"><strong>show</strong></a>(self)</dt><dd><tt>this function doesn't segfault but causes the<br>
PyEval_RestoreThread: NULL state bug on win32</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.backend_bases.html#FigureManagerBase">matplotlib.backend_bases.FigureManagerBase</a>:<br>
<dl><dt><a name="FigureManagerTkAgg-full_screen_toggle"><strong>full_screen_toggle</strong></a>(self)</dt></dl>
<dl><dt><a name="FigureManagerTkAgg-key_press"><strong>key_press</strong></a>(self, event)</dt></dl>
<dl><dt><a name="FigureManagerTkAgg-show_popup"><strong>show_popup</strong></a>(self, msg)</dt><dd><tt>Display message in a popup -- GUI only</tt></dd></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="FigureManagerTkAgg">class <strong>FigureManagerTkAgg</strong></a>(<a href="matplotlib.backend_bases.html#FigureManagerBase">matplotlib.backend_bases.FigureManagerBase</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Public attributes<br>
<br>
canvas : The FigureCanvas instance<br>
num : The Figure number<br>
toolbar : The tk.Toolbar<br>
window : The tk.Window<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="FigureManagerTkAgg-__init__"><strong>__init__</strong></a>(self, canvas, num, window)</dt></dl>
<dl><dt><a name="FigureManagerTkAgg-destroy"><strong>destroy</strong></a>(self, *args)</dt></dl>
<dl><dt><a name="FigureManagerTkAgg-resize"><strong>resize</strong></a>(self, event)</dt></dl>
<dl><dt><a name="FigureManagerTkAgg-set_window_title"><strong>set_window_title</strong></a>(self, title)</dt></dl>
<dl><dt><a name="FigureManagerTkAgg-show"><strong>show</strong></a>(self)</dt><dd><tt>this function doesn't segfault but causes the<br>
PyEval_RestoreThread: NULL state bug on win32</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.backend_bases.html#FigureManagerBase">matplotlib.backend_bases.FigureManagerBase</a>:<br>
<dl><dt><a name="FigureManagerTkAgg-full_screen_toggle"><strong>full_screen_toggle</strong></a>(self)</dt></dl>
<dl><dt><a name="FigureManagerTkAgg-key_press"><strong>key_press</strong></a>(self, event)</dt></dl>
<dl><dt><a name="FigureManagerTkAgg-show_popup"><strong>show_popup</strong></a>(self, msg)</dt><dd><tt>Display message in a popup -- GUI only</tt></dd></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="NavigationToolbar">class <strong>NavigationToolbar</strong></a>(<a href="Tkinter.html#Frame">Tkinter.Frame</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Public attriubutes<br>
<br>
canvas - the FigureCanvas (gtk.DrawingArea)<br>
win - the gtk.Window<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.backends.backend_tkagg.html#NavigationToolbar">NavigationToolbar</a></dd>
<dd><a href="Tkinter.html#Frame">Tkinter.Frame</a></dd>
<dd><a href="Tkinter.html#Widget">Tkinter.Widget</a></dd>
<dd><a href="Tkinter.html#BaseWidget">Tkinter.BaseWidget</a></dd>
<dd><a href="Tkinter.html#Misc">Tkinter.Misc</a></dd>
<dd><a href="Tkinter.html#Pack">Tkinter.Pack</a></dd>
<dd><a href="Tkinter.html#Place">Tkinter.Place</a></dd>
<dd><a href="Tkinter.html#Grid">Tkinter.Grid</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="NavigationToolbar-__init__"><strong>__init__</strong></a>(self, canvas, window)</dt></dl>
<dl><dt><a name="NavigationToolbar-panx"><strong>panx</strong></a>(self, direction)</dt></dl>
<dl><dt><a name="NavigationToolbar-pany"><strong>pany</strong></a>(self, direction)</dt></dl>
<dl><dt><a name="NavigationToolbar-save_figure"><strong>save_figure</strong></a>(self)</dt></dl>
<dl><dt><a name="NavigationToolbar-set_active"><strong>set_active</strong></a>(self, ind)</dt></dl>
<dl><dt><a name="NavigationToolbar-update"><strong>update</strong></a>(self)</dt></dl>
<dl><dt><a name="NavigationToolbar-zoomx"><strong>zoomx</strong></a>(self, direction)</dt></dl>
<dl><dt><a name="NavigationToolbar-zoomy"><strong>zoomy</strong></a>(self, direction)</dt></dl>
<hr>
Methods inherited from <a href="Tkinter.html#BaseWidget">Tkinter.BaseWidget</a>:<br>
<dl><dt><a name="NavigationToolbar-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Destroy this and all descendants widgets.</tt></dd></dl>
<hr>
Methods inherited from <a href="Tkinter.html#Misc">Tkinter.Misc</a>:<br>
<dl><dt><a name="NavigationToolbar-__getitem__"><strong>__getitem__</strong></a> = cget(self, key)</dt><dd><tt>Return the resource value for a KEY given as string.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-__setitem__"><strong>__setitem__</strong></a>(self, key, value)</dt></dl>
<dl><dt><a name="NavigationToolbar-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>Return the window path name of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-after"><strong>after</strong></a>(self, ms, func<font color="#909090">=None</font>, *args)</dt><dd><tt>Call function once after given time.<br>
<br>
MS specifies the time in milliseconds. FUNC gives the<br>
function which shall be called. Additional parameters<br>
are given as parameters to the function call. Return<br>
identifier to cancel scheduling with after_cancel.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-after_cancel"><strong>after_cancel</strong></a>(self, id)</dt><dd><tt>Cancel scheduling of function identified with ID.<br>
<br>
Identifier returned by after or after_idle must be<br>
given as first parameter.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-after_idle"><strong>after_idle</strong></a>(self, func, *args)</dt><dd><tt>Call FUNC once if the Tcl main loop has no event to<br>
process.<br>
<br>
Return an identifier to cancel the scheduling with<br>
after_cancel.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-bbox"><strong>bbox</strong></a> = grid_bbox(self, column<font color="#909090">=None</font>, row<font color="#909090">=None</font>, col2<font color="#909090">=None</font>, row2<font color="#909090">=None</font>)</dt><dd><tt>Return a tuple of integer coordinates for the bounding<br>
box of this widget controlled by the geometry manager grid.<br>
<br>
If COLUMN, ROW is given the bounding box applies from<br>
the cell with row and column 0 to the specified<br>
cell. If COL2 and ROW2 are given the bounding box<br>
starts at that cell.<br>
<br>
The returned integers specify the offset of the upper left<br>
corner in the master widget and the width and height.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-bell"><strong>bell</strong></a>(self, displayof<font color="#909090">=0</font>)</dt><dd><tt>Ring a display's bell.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-bind"><strong>bind</strong></a>(self, sequence<font color="#909090">=None</font>, func<font color="#909090">=None</font>, add<font color="#909090">=None</font>)</dt><dd><tt>Bind to this widget at event SEQUENCE a call to function FUNC.<br>
<br>
SEQUENCE is a string of concatenated event<br>
patterns. An event pattern is of the form<br>
<MODIFIER-MODIFIER-TYPE-DETAIL> where MODIFIER is one<br>
of Control, Mod2, M2, Shift, Mod3, M3, Lock, Mod4, M4,<br>
Button1, B1, Mod5, M5 Button2, B2, Meta, M, Button3,<br>
B3, Alt, Button4, B4, Double, Button5, B5 Triple,<br>
Mod1, M1. TYPE is one of Activate, Enter, Map,<br>
ButtonPress, Button, Expose, Motion, ButtonRelease<br>
FocusIn, MouseWheel, Circulate, FocusOut, Property,<br>
Colormap, Gravity Reparent, Configure, KeyPress, Key,<br>
Unmap, Deactivate, KeyRelease Visibility, Destroy,<br>
Leave and DETAIL is the button number for ButtonPress,<br>
ButtonRelease and DETAIL is the Keysym for KeyPress and<br>
KeyRelease. Examples are<br>
<Control-Button-1> for pressing Control and mouse button 1 or<br>
<Alt-A> for pressing A and the Alt key (KeyPress can be omitted).<br>
An event pattern can also be a virtual event of the form<br>
<<AString>> where AString can be arbitrary. This<br>
event can be generated by event_generate.<br>
If events are concatenated they must appear shortly<br>
after each other.<br>
<br>
FUNC will be called if the event sequence occurs with an<br>
instance of Event as argument. If the return value of FUNC is<br>
"break" no further bound function is invoked.<br>
<br>
An additional boolean parameter ADD specifies whether FUNC will<br>
be called additionally to the other bound function or whether<br>
it will replace the previous function.<br>
<br>
Bind will return an identifier to allow deletion of the bound function with<br>
unbind without memory leak.<br>
<br>
If FUNC or SEQUENCE is omitted the bound function or list<br>
of bound events are returned.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-bind_all"><strong>bind_all</strong></a>(self, sequence<font color="#909090">=None</font>, func<font color="#909090">=None</font>, add<font color="#909090">=None</font>)</dt><dd><tt>Bind to all widgets at an event SEQUENCE a call to function FUNC.<br>
An additional boolean parameter ADD specifies whether FUNC will<br>
be called additionally to the other bound function or whether<br>
it will replace the previous function. See bind for the return value.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-bind_class"><strong>bind_class</strong></a>(self, className, sequence<font color="#909090">=None</font>, func<font color="#909090">=None</font>, add<font color="#909090">=None</font>)</dt><dd><tt>Bind to widgets with bindtag CLASSNAME at event<br>
SEQUENCE a call of function FUNC. An additional<br>
boolean parameter ADD specifies whether FUNC will be<br>
called additionally to the other bound function or<br>
whether it will replace the previous function. See bind for<br>
the return value.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-bindtags"><strong>bindtags</strong></a>(self, tagList<font color="#909090">=None</font>)</dt><dd><tt>Set or get the list of bindtags for this widget.<br>
<br>
With no argument return the list of all bindtags associated with<br>
this widget. With a list of strings as argument the bindtags are<br>
set to this list. The bindtags determine in which order events are<br>
processed (see bind).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-cget"><strong>cget</strong></a>(self, key)</dt><dd><tt>Return the resource value for a KEY given as string.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-clipboard_append"><strong>clipboard_append</strong></a>(self, string, **kw)</dt><dd><tt>Append STRING to the Tk clipboard.<br>
<br>
A widget specified at the optional displayof keyword<br>
argument specifies the target display. The clipboard<br>
can be retrieved with selection_get.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-clipboard_clear"><strong>clipboard_clear</strong></a>(self, **kw)</dt><dd><tt>Clear the data in the Tk clipboard.<br>
<br>
A widget specified for the optional displayof keyword<br>
argument specifies the target display.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-clipboard_get"><strong>clipboard_get</strong></a>(self, **kw)</dt><dd><tt>Retrieve data from the clipboard on window's display.<br>
<br>
The window keyword defaults to the root window of the Tkinter<br>
application.<br>
<br>
The type keyword specifies the form in which the data is<br>
to be returned and should be an atom name such as STRING<br>
or FILE_NAME. Type defaults to STRING.<br>
<br>
This command is equivalent to:<br>
<br>
<a href="#NavigationToolbar-selection_get">selection_get</a>(CLIPBOARD)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-colormodel"><strong>colormodel</strong></a>(self, value<font color="#909090">=None</font>)</dt><dd><tt>Useless. Not implemented in Tk.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-columnconfigure"><strong>columnconfigure</strong></a> = grid_columnconfigure(self, index, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Configure column INDEX of a grid.<br>
<br>
Valid resources are minsize (minimum size of the column),<br>
weight (how much does additional space propagate to this column)<br>
and pad (how much space to let additionally).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-config"><strong>config</strong></a> = configure(self, cnf<font color="#909090">=None</font>, **kw)</dt><dd><tt>Configure resources of a widget.<br>
<br>
The values for resources are specified as keyword<br>
arguments. To get an overview about<br>
the allowed keyword arguments call the method keys.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-configure"><strong>configure</strong></a>(self, cnf<font color="#909090">=None</font>, **kw)</dt><dd><tt>Configure resources of a widget.<br>
<br>
The values for resources are specified as keyword<br>
arguments. To get an overview about<br>
the allowed keyword arguments call the method keys.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-deletecommand"><strong>deletecommand</strong></a>(self, name)</dt><dd><tt>Internal function.<br>
<br>
Delete the Tcl command provided in NAME.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-event_add"><strong>event_add</strong></a>(self, virtual, *sequences)</dt><dd><tt>Bind a virtual event VIRTUAL (of the form <<Name>>)<br>
to an event SEQUENCE such that the virtual event is triggered<br>
whenever SEQUENCE occurs.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-event_delete"><strong>event_delete</strong></a>(self, virtual, *sequences)</dt><dd><tt>Unbind a virtual event VIRTUAL from SEQUENCE.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-event_generate"><strong>event_generate</strong></a>(self, sequence, **kw)</dt><dd><tt>Generate an event SEQUENCE. Additional<br>
keyword arguments specify parameter of the event<br>
(e.g. x, y, rootx, rooty).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-event_info"><strong>event_info</strong></a>(self, virtual<font color="#909090">=None</font>)</dt><dd><tt>Return a list of all virtual events or the information<br>
about the SEQUENCE bound to the virtual event VIRTUAL.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-focus"><strong>focus</strong></a> = focus_set(self)</dt><dd><tt>Direct input focus to this widget.<br>
<br>
If the application currently does not have the focus<br>
this widget will get the focus if the application gets<br>
the focus through the window manager.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-focus_displayof"><strong>focus_displayof</strong></a>(self)</dt><dd><tt>Return the widget which has currently the focus on the<br>
display where this widget is located.<br>
<br>
Return None if the application does not have the focus.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-focus_force"><strong>focus_force</strong></a>(self)</dt><dd><tt>Direct input focus to this widget even if the<br>
application does not have the focus. Use with<br>
caution!</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-focus_get"><strong>focus_get</strong></a>(self)</dt><dd><tt>Return the widget which has currently the focus in the<br>
application.<br>
<br>
Use focus_displayof to allow working with several<br>
displays. Return None if application does not have<br>
the focus.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-focus_lastfor"><strong>focus_lastfor</strong></a>(self)</dt><dd><tt>Return the widget which would have the focus if top level<br>
for this widget gets the focus from the window manager.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-focus_set"><strong>focus_set</strong></a>(self)</dt><dd><tt>Direct input focus to this widget.<br>
<br>
If the application currently does not have the focus<br>
this widget will get the focus if the application gets<br>
the focus through the window manager.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-getboolean"><strong>getboolean</strong></a>(self, s)</dt><dd><tt>Return a boolean value for Tcl boolean values true and false given as parameter.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-getvar"><strong>getvar</strong></a>(self, name<font color="#909090">='PY_VAR'</font>)</dt><dd><tt>Return value of Tcl variable NAME.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-grab_current"><strong>grab_current</strong></a>(self)</dt><dd><tt>Return widget which has currently the grab in this application<br>
or None.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-grab_release"><strong>grab_release</strong></a>(self)</dt><dd><tt>Release grab for this widget if currently set.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-grab_set"><strong>grab_set</strong></a>(self)</dt><dd><tt>Set grab for this widget.<br>
<br>
A grab directs all events to this and descendant<br>
widgets in the application.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-grab_set_global"><strong>grab_set_global</strong></a>(self)</dt><dd><tt>Set global grab for this widget.<br>
<br>
A global grab directs all events to this and<br>
descendant widgets on the display. Use with caution -<br>
other applications do not get events anymore.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-grab_status"><strong>grab_status</strong></a>(self)</dt><dd><tt>Return None, "local" or "global" if this widget has<br>
no, a local or a global grab.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-grid_bbox"><strong>grid_bbox</strong></a>(self, column<font color="#909090">=None</font>, row<font color="#909090">=None</font>, col2<font color="#909090">=None</font>, row2<font color="#909090">=None</font>)</dt><dd><tt>Return a tuple of integer coordinates for the bounding<br>
box of this widget controlled by the geometry manager grid.<br>
<br>
If COLUMN, ROW is given the bounding box applies from<br>
the cell with row and column 0 to the specified<br>
cell. If COL2 and ROW2 are given the bounding box<br>
starts at that cell.<br>
<br>
The returned integers specify the offset of the upper left<br>
corner in the master widget and the width and height.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-grid_columnconfigure"><strong>grid_columnconfigure</strong></a>(self, index, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Configure column INDEX of a grid.<br>
<br>
Valid resources are minsize (minimum size of the column),<br>
weight (how much does additional space propagate to this column)<br>
and pad (how much space to let additionally).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-grid_location"><strong>grid_location</strong></a>(self, x, y)</dt><dd><tt>Return a tuple of column and row which identify the cell<br>
at which the pixel at position X and Y inside the master<br>
widget is located.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-grid_propagate"><strong>grid_propagate</strong></a>(self, flag<font color="#909090">=['_noarg_']</font>)</dt><dd><tt>Set or get the status for propagation of geometry information.<br>
<br>
A boolean argument specifies whether the geometry information<br>
of the slaves will determine the size of this widget. If no argument<br>
is given, the current setting will be returned.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-grid_rowconfigure"><strong>grid_rowconfigure</strong></a>(self, index, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Configure row INDEX of a grid.<br>
<br>
Valid resources are minsize (minimum size of the row),<br>
weight (how much does additional space propagate to this row)<br>
and pad (how much space to let additionally).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-grid_size"><strong>grid_size</strong></a>(self)</dt><dd><tt>Return a tuple of the number of column and rows in the grid.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-grid_slaves"><strong>grid_slaves</strong></a>(self, row<font color="#909090">=None</font>, column<font color="#909090">=None</font>)</dt><dd><tt>Return a list of all slaves of this widget<br>
in its packing order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-image_names"><strong>image_names</strong></a>(self)</dt><dd><tt>Return a list of all existing image names.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-image_types"><strong>image_types</strong></a>(self)</dt><dd><tt>Return a list of all available image types (e.g. phote bitmap).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-keys"><strong>keys</strong></a>(self)</dt><dd><tt>Return a list of all resource names of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-lift"><strong>lift</strong></a> = tkraise(self, aboveThis<font color="#909090">=None</font>)</dt><dd><tt>Raise this widget in the stacking order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-lower"><strong>lower</strong></a>(self, belowThis<font color="#909090">=None</font>)</dt><dd><tt>Lower this widget in the stacking order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-mainloop"><strong>mainloop</strong></a>(self, n<font color="#909090">=0</font>)</dt><dd><tt>Call the mainloop of Tk.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-nametowidget"><strong>nametowidget</strong></a>(self, name)</dt><dd><tt>Return the Tkinter instance of a widget identified by<br>
its Tcl name NAME.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-option_add"><strong>option_add</strong></a>(self, pattern, value, priority<font color="#909090">=None</font>)</dt><dd><tt>Set a VALUE (second parameter) for an option<br>
PATTERN (first parameter).<br>
<br>
An optional third parameter gives the numeric priority<br>
(defaults to 80).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-option_clear"><strong>option_clear</strong></a>(self)</dt><dd><tt>Clear the option database.<br>
<br>
It will be reloaded if option_add is called.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-option_get"><strong>option_get</strong></a>(self, name, className)</dt><dd><tt>Return the value for an option NAME for this widget<br>
with CLASSNAME.<br>
<br>
Values with higher priority override lower values.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-option_readfile"><strong>option_readfile</strong></a>(self, fileName, priority<font color="#909090">=None</font>)</dt><dd><tt>Read file FILENAME into the option database.<br>
<br>
An optional second parameter gives the numeric<br>
priority.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-pack_propagate"><strong>pack_propagate</strong></a>(self, flag<font color="#909090">=['_noarg_']</font>)</dt><dd><tt>Set or get the status for propagation of geometry information.<br>
<br>
A boolean argument specifies whether the geometry information<br>
of the slaves will determine the size of this widget. If no argument<br>
is given the current setting will be returned.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-pack_slaves"><strong>pack_slaves</strong></a>(self)</dt><dd><tt>Return a list of all slaves of this widget<br>
in its packing order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-place_slaves"><strong>place_slaves</strong></a>(self)</dt><dd><tt>Return a list of all slaves of this widget<br>
in its packing order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-propagate"><strong>propagate</strong></a> = pack_propagate(self, flag<font color="#909090">=['_noarg_']</font>)</dt><dd><tt>Set or get the status for propagation of geometry information.<br>
<br>
A boolean argument specifies whether the geometry information<br>
of the slaves will determine the size of this widget. If no argument<br>
is given the current setting will be returned.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-quit"><strong>quit</strong></a>(self)</dt><dd><tt>Quit the Tcl interpreter. All widgets will be destroyed.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-register"><strong>register</strong></a> = _register(self, func, subst<font color="#909090">=None</font>, needcleanup<font color="#909090">=1</font>)</dt><dd><tt>Return a newly created Tcl function. If this<br>
function is called, the Python function FUNC will<br>
be executed. An optional function SUBST can<br>
be given which will be executed before FUNC.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-rowconfigure"><strong>rowconfigure</strong></a> = grid_rowconfigure(self, index, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Configure row INDEX of a grid.<br>
<br>
Valid resources are minsize (minimum size of the row),<br>
weight (how much does additional space propagate to this row)<br>
and pad (how much space to let additionally).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-selection_clear"><strong>selection_clear</strong></a>(self, **kw)</dt><dd><tt>Clear the current X selection.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-selection_get"><strong>selection_get</strong></a>(self, **kw)</dt><dd><tt>Return the contents of the current X selection.<br>
<br>
A keyword parameter selection specifies the name of<br>
the selection and defaults to PRIMARY. A keyword<br>
parameter displayof specifies a widget on the display<br>
to use.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-selection_handle"><strong>selection_handle</strong></a>(self, command, **kw)</dt><dd><tt>Specify a function COMMAND to call if the X<br>
selection owned by this widget is queried by another<br>
application.<br>
<br>
This function must return the contents of the<br>
selection. The function will be called with the<br>
arguments OFFSET and LENGTH which allows the chunking<br>
of very long selections. The following keyword<br>
parameters can be provided:<br>
selection - name of the selection (default PRIMARY),<br>
type - type of the selection (e.g. STRING, FILE_NAME).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-selection_own"><strong>selection_own</strong></a>(self, **kw)</dt><dd><tt>Become owner of X selection.<br>
<br>
A keyword parameter selection specifies the name of<br>
the selection (default PRIMARY).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-selection_own_get"><strong>selection_own_get</strong></a>(self, **kw)</dt><dd><tt>Return owner of X selection.<br>
<br>
The following keyword parameter can<br>
be provided:<br>
selection - name of the selection (default PRIMARY),<br>
type - type of the selection (e.g. STRING, FILE_NAME).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-send"><strong>send</strong></a>(self, interp, cmd, *args)</dt><dd><tt>Send Tcl command CMD to different interpreter INTERP to be executed.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-setvar"><strong>setvar</strong></a>(self, name<font color="#909090">='PY_VAR'</font>, value<font color="#909090">='1'</font>)</dt><dd><tt>Set Tcl variable NAME to VALUE.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-size"><strong>size</strong></a> = grid_size(self)</dt><dd><tt>Return a tuple of the number of column and rows in the grid.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-slaves"><strong>slaves</strong></a> = pack_slaves(self)</dt><dd><tt>Return a list of all slaves of this widget<br>
in its packing order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-tk_bisque"><strong>tk_bisque</strong></a>(self)</dt><dd><tt>Change the color scheme to light brown as used in Tk 3.6 and before.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-tk_focusFollowsMouse"><strong>tk_focusFollowsMouse</strong></a>(self)</dt><dd><tt>The widget under mouse will get automatically focus. Can not<br>
be disabled easily.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-tk_focusNext"><strong>tk_focusNext</strong></a>(self)</dt><dd><tt>Return the next widget in the focus order which follows<br>
widget which has currently the focus.<br>
<br>
The focus order first goes to the next child, then to<br>
the children of the child recursively and then to the<br>
next sibling which is higher in the stacking order. A<br>
widget is omitted if it has the takefocus resource set<br>
to 0.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-tk_focusPrev"><strong>tk_focusPrev</strong></a>(self)</dt><dd><tt>Return previous widget in the focus order. See tk_focusNext for details.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-tk_menuBar"><strong>tk_menuBar</strong></a>(self, *args)</dt><dd><tt>Do not use. Needed in Tk 3.6 and earlier.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-tk_setPalette"><strong>tk_setPalette</strong></a>(self, *args, **kw)</dt><dd><tt>Set a new color scheme for all widget elements.<br>
<br>
A single color as argument will cause that all colors of Tk<br>
widget elements are derived from this.<br>
Alternatively several keyword parameters and its associated<br>
colors can be given. The following keywords are valid:<br>
activeBackground, foreground, selectColor,<br>
activeForeground, highlightBackground, selectBackground,<br>
background, highlightColor, selectForeground,<br>
disabledForeground, insertBackground, troughColor.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-tk_strictMotif"><strong>tk_strictMotif</strong></a>(self, boolean<font color="#909090">=None</font>)</dt><dd><tt>Set Tcl internal variable, whether the look and feel<br>
should adhere to Motif.<br>
<br>
A parameter of 1 means adhere to Motif (e.g. no color<br>
change if mouse passes over slider).<br>
Returns the set value.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-tkraise"><strong>tkraise</strong></a>(self, aboveThis<font color="#909090">=None</font>)</dt><dd><tt>Raise this widget in the stacking order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-unbind"><strong>unbind</strong></a>(self, sequence, funcid<font color="#909090">=None</font>)</dt><dd><tt>Unbind for this widget for event SEQUENCE the<br>
function identified with FUNCID.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-unbind_all"><strong>unbind_all</strong></a>(self, sequence)</dt><dd><tt>Unbind for all widgets for event SEQUENCE all functions.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-unbind_class"><strong>unbind_class</strong></a>(self, className, sequence)</dt><dd><tt>Unbind for a all widgets with bindtag CLASSNAME for event SEQUENCE<br>
all functions.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-update_idletasks"><strong>update_idletasks</strong></a>(self)</dt><dd><tt>Enter event loop until all idle callbacks have been called. This<br>
will update the display of windows but not process events caused by<br>
the user.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-wait_variable"><strong>wait_variable</strong></a>(self, name<font color="#909090">='PY_VAR'</font>)</dt><dd><tt>Wait until the variable is modified.<br>
<br>
A parameter of type IntVar, StringVar, DoubleVar or<br>
BooleanVar must be given.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-wait_visibility"><strong>wait_visibility</strong></a>(self, window<font color="#909090">=None</font>)</dt><dd><tt>Wait until the visibility of a WIDGET changes<br>
(e.g. it appears).<br>
<br>
If no parameter is given self is used.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-wait_window"><strong>wait_window</strong></a>(self, window<font color="#909090">=None</font>)</dt><dd><tt>Wait until a WIDGET is destroyed.<br>
<br>
If no parameter is given self is used.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-waitvar"><strong>waitvar</strong></a> = wait_variable(self, name<font color="#909090">='PY_VAR'</font>)</dt><dd><tt>Wait until the variable is modified.<br>
<br>
A parameter of type IntVar, StringVar, DoubleVar or<br>
BooleanVar must be given.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_atom"><strong>winfo_atom</strong></a>(self, name, displayof<font color="#909090">=0</font>)</dt><dd><tt>Return integer which represents atom NAME.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_atomname"><strong>winfo_atomname</strong></a>(self, id, displayof<font color="#909090">=0</font>)</dt><dd><tt>Return name of atom with identifier ID.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_cells"><strong>winfo_cells</strong></a>(self)</dt><dd><tt>Return number of cells in the colormap for this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_children"><strong>winfo_children</strong></a>(self)</dt><dd><tt>Return a list of all widgets which are children of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_class"><strong>winfo_class</strong></a>(self)</dt><dd><tt>Return window class name of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_colormapfull"><strong>winfo_colormapfull</strong></a>(self)</dt><dd><tt>Return true if at the last color request the colormap was full.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_containing"><strong>winfo_containing</strong></a>(self, rootX, rootY, displayof<font color="#909090">=0</font>)</dt><dd><tt>Return the widget which is at the root coordinates ROOTX, ROOTY.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_depth"><strong>winfo_depth</strong></a>(self)</dt><dd><tt>Return the number of bits per pixel.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_exists"><strong>winfo_exists</strong></a>(self)</dt><dd><tt>Return true if this widget exists.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_fpixels"><strong>winfo_fpixels</strong></a>(self, number)</dt><dd><tt>Return the number of pixels for the given distance NUMBER<br>
(e.g. "3c") as float.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_geometry"><strong>winfo_geometry</strong></a>(self)</dt><dd><tt>Return geometry string for this widget in the form "widthxheight+X+Y".</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_height"><strong>winfo_height</strong></a>(self)</dt><dd><tt>Return height of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_id"><strong>winfo_id</strong></a>(self)</dt><dd><tt>Return identifier ID for this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_interps"><strong>winfo_interps</strong></a>(self, displayof<font color="#909090">=0</font>)</dt><dd><tt>Return the name of all Tcl interpreters for this display.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_ismapped"><strong>winfo_ismapped</strong></a>(self)</dt><dd><tt>Return true if this widget is mapped.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_manager"><strong>winfo_manager</strong></a>(self)</dt><dd><tt>Return the window mananger name for this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_name"><strong>winfo_name</strong></a>(self)</dt><dd><tt>Return the name of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_parent"><strong>winfo_parent</strong></a>(self)</dt><dd><tt>Return the name of the parent of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_pathname"><strong>winfo_pathname</strong></a>(self, id, displayof<font color="#909090">=0</font>)</dt><dd><tt>Return the pathname of the widget given by ID.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_pixels"><strong>winfo_pixels</strong></a>(self, number)</dt><dd><tt>Rounded integer value of winfo_fpixels.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_pointerx"><strong>winfo_pointerx</strong></a>(self)</dt><dd><tt>Return the x coordinate of the pointer on the root window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_pointerxy"><strong>winfo_pointerxy</strong></a>(self)</dt><dd><tt>Return a tuple of x and y coordinates of the pointer on the root window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_pointery"><strong>winfo_pointery</strong></a>(self)</dt><dd><tt>Return the y coordinate of the pointer on the root window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_reqheight"><strong>winfo_reqheight</strong></a>(self)</dt><dd><tt>Return requested height of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_reqwidth"><strong>winfo_reqwidth</strong></a>(self)</dt><dd><tt>Return requested width of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_rgb"><strong>winfo_rgb</strong></a>(self, color)</dt><dd><tt>Return tuple of decimal values for red, green, blue for<br>
COLOR in this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_rootx"><strong>winfo_rootx</strong></a>(self)</dt><dd><tt>Return x coordinate of upper left corner of this widget on the<br>
root window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_rooty"><strong>winfo_rooty</strong></a>(self)</dt><dd><tt>Return y coordinate of upper left corner of this widget on the<br>
root window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_screen"><strong>winfo_screen</strong></a>(self)</dt><dd><tt>Return the screen name of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_screencells"><strong>winfo_screencells</strong></a>(self)</dt><dd><tt>Return the number of the cells in the colormap of the screen<br>
of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_screendepth"><strong>winfo_screendepth</strong></a>(self)</dt><dd><tt>Return the number of bits per pixel of the root window of the<br>
screen of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_screenheight"><strong>winfo_screenheight</strong></a>(self)</dt><dd><tt>Return the number of pixels of the height of the screen of this widget<br>
in pixel.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_screenmmheight"><strong>winfo_screenmmheight</strong></a>(self)</dt><dd><tt>Return the number of pixels of the height of the screen of<br>
this widget in mm.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_screenmmwidth"><strong>winfo_screenmmwidth</strong></a>(self)</dt><dd><tt>Return the number of pixels of the width of the screen of<br>
this widget in mm.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_screenvisual"><strong>winfo_screenvisual</strong></a>(self)</dt><dd><tt>Return one of the strings directcolor, grayscale, pseudocolor,<br>
staticcolor, staticgray, or truecolor for the default<br>
colormodel of this screen.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_screenwidth"><strong>winfo_screenwidth</strong></a>(self)</dt><dd><tt>Return the number of pixels of the width of the screen of<br>
this widget in pixel.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_server"><strong>winfo_server</strong></a>(self)</dt><dd><tt>Return information of the X-Server of the screen of this widget in<br>
the form "XmajorRminor vendor vendorVersion".</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_toplevel"><strong>winfo_toplevel</strong></a>(self)</dt><dd><tt>Return the toplevel widget of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_viewable"><strong>winfo_viewable</strong></a>(self)</dt><dd><tt>Return true if the widget and all its higher ancestors are mapped.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_visual"><strong>winfo_visual</strong></a>(self)</dt><dd><tt>Return one of the strings directcolor, grayscale, pseudocolor,<br>
staticcolor, staticgray, or truecolor for the<br>
colormodel of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_visualid"><strong>winfo_visualid</strong></a>(self)</dt><dd><tt>Return the X identifier for the visual for this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_visualsavailable"><strong>winfo_visualsavailable</strong></a>(self, includeids<font color="#909090">=0</font>)</dt><dd><tt>Return a list of all visuals available for the screen<br>
of this widget.<br>
<br>
Each item in the list consists of a visual name (see winfo_visual), a<br>
depth and if INCLUDEIDS=1 is given also the X identifier.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_vrootheight"><strong>winfo_vrootheight</strong></a>(self)</dt><dd><tt>Return the height of the virtual root window associated with this<br>
widget in pixels. If there is no virtual root window return the<br>
height of the screen.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_vrootwidth"><strong>winfo_vrootwidth</strong></a>(self)</dt><dd><tt>Return the width of the virtual root window associated with this<br>
widget in pixel. If there is no virtual root window return the<br>
width of the screen.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_vrootx"><strong>winfo_vrootx</strong></a>(self)</dt><dd><tt>Return the x offset of the virtual root relative to the root<br>
window of the screen of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_vrooty"><strong>winfo_vrooty</strong></a>(self)</dt><dd><tt>Return the y offset of the virtual root relative to the root<br>
window of the screen of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_width"><strong>winfo_width</strong></a>(self)</dt><dd><tt>Return the width of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_x"><strong>winfo_x</strong></a>(self)</dt><dd><tt>Return the x coordinate of the upper left corner of this widget<br>
in the parent.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-winfo_y"><strong>winfo_y</strong></a>(self)</dt><dd><tt>Return the y coordinate of the upper left corner of this widget<br>
in the parent.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="Tkinter.html#Misc">Tkinter.Misc</a>:<br>
<dl><dt><strong>getdouble</strong> = <type 'float'><dd><tt>float(x) -> floating point number<br>
<br>
Convert a string or number to a floating point number, if possible.</tt></dl>
<dl><dt><strong>getint</strong> = <type 'int'><dd><tt>int(x[, base]) -> integer<br>
<br>
Convert a string or number to an integer, if possible. A floating point<br>
argument will be truncated towards zero (this does not include a string<br>
representation of a floating point number!) When converting a string, use<br>
the optional base. It is an error to supply a base when converting a<br>
non-string. If the argument is outside the integer range a long object<br>
will be returned instead.</tt></dl>
<hr>
Methods inherited from <a href="Tkinter.html#Pack">Tkinter.Pack</a>:<br>
<dl><dt><a name="NavigationToolbar-forget"><strong>forget</strong></a> = pack_forget(self)</dt><dd><tt>Unmap this widget and do not use it for the packing order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-info"><strong>info</strong></a> = pack_info(self)</dt><dd><tt>Return information about the packing options<br>
for this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-pack"><strong>pack</strong></a> = pack_configure(self, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Pack a widget in the parent widget. Use as options:<br>
after=widget - pack it after you have packed widget<br>
anchor=NSEW (or subset) - position widget according to<br>
given direction<br>
before=widget - pack it before you will pack widget<br>
expand=bool - expand widget if parent size grows<br>
fill=NONE or X or Y or BOTH - fill widget if widget grows<br>
in=master - use master to contain this widget<br>
ipadx=amount - add internal padding in x direction<br>
ipady=amount - add internal padding in y direction<br>
padx=amount - add padding in x direction<br>
pady=amount - add padding in y direction<br>
side=TOP or BOTTOM or LEFT or RIGHT - where to add this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-pack_configure"><strong>pack_configure</strong></a>(self, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Pack a widget in the parent widget. Use as options:<br>
after=widget - pack it after you have packed widget<br>
anchor=NSEW (or subset) - position widget according to<br>
given direction<br>
before=widget - pack it before you will pack widget<br>
expand=bool - expand widget if parent size grows<br>
fill=NONE or X or Y or BOTH - fill widget if widget grows<br>
in=master - use master to contain this widget<br>
ipadx=amount - add internal padding in x direction<br>
ipady=amount - add internal padding in y direction<br>
padx=amount - add padding in x direction<br>
pady=amount - add padding in y direction<br>
side=TOP or BOTTOM or LEFT or RIGHT - where to add this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-pack_forget"><strong>pack_forget</strong></a>(self)</dt><dd><tt>Unmap this widget and do not use it for the packing order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-pack_info"><strong>pack_info</strong></a>(self)</dt><dd><tt>Return information about the packing options<br>
for this widget.</tt></dd></dl>
<hr>
Methods inherited from <a href="Tkinter.html#Place">Tkinter.Place</a>:<br>
<dl><dt><a name="NavigationToolbar-place"><strong>place</strong></a> = place_configure(self, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Place a widget in the parent widget. Use as options:<br>
in=master - master relative to which the widget is placed.<br>
x=amount - locate anchor of this widget at position x of master<br>
y=amount - locate anchor of this widget at position y of master<br>
relx=amount - locate anchor of this widget between 0.0 and 1.0<br>
relative to width of master (1.0 is right edge)<br>
rely=amount - locate anchor of this widget between 0.0 and 1.0<br>
relative to height of master (1.0 is bottom edge)<br>
anchor=NSEW (or subset) - position anchor according to given direction<br>
width=amount - width of this widget in pixel<br>
height=amount - height of this widget in pixel<br>
relwidth=amount - width of this widget between 0.0 and 1.0<br>
relative to width of master (1.0 is the same width<br>
as the master)<br>
relheight=amount - height of this widget between 0.0 and 1.0<br>
relative to height of master (1.0 is the same<br>
height as the master)<br>
bordermode="inside" or "outside" - whether to take border width of master widget<br>
into account</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-place_configure"><strong>place_configure</strong></a>(self, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Place a widget in the parent widget. Use as options:<br>
in=master - master relative to which the widget is placed.<br>
x=amount - locate anchor of this widget at position x of master<br>
y=amount - locate anchor of this widget at position y of master<br>
relx=amount - locate anchor of this widget between 0.0 and 1.0<br>
relative to width of master (1.0 is right edge)<br>
rely=amount - locate anchor of this widget between 0.0 and 1.0<br>
relative to height of master (1.0 is bottom edge)<br>
anchor=NSEW (or subset) - position anchor according to given direction<br>
width=amount - width of this widget in pixel<br>
height=amount - height of this widget in pixel<br>
relwidth=amount - width of this widget between 0.0 and 1.0<br>
relative to width of master (1.0 is the same width<br>
as the master)<br>
relheight=amount - height of this widget between 0.0 and 1.0<br>
relative to height of master (1.0 is the same<br>
height as the master)<br>
bordermode="inside" or "outside" - whether to take border width of master widget<br>
into account</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-place_forget"><strong>place_forget</strong></a>(self)</dt><dd><tt>Unmap this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-place_info"><strong>place_info</strong></a>(self)</dt><dd><tt>Return information about the placing options<br>
for this widget.</tt></dd></dl>
<hr>
Methods inherited from <a href="Tkinter.html#Grid">Tkinter.Grid</a>:<br>
<dl><dt><a name="NavigationToolbar-grid"><strong>grid</strong></a> = grid_configure(self, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Position a widget in the parent widget in a grid. Use as options:<br>
column=number - use cell identified with given column (starting with 0)<br>
columnspan=number - this widget will span several columns<br>
in=master - use master to contain this widget<br>
ipadx=amount - add internal padding in x direction<br>
ipady=amount - add internal padding in y direction<br>
padx=amount - add padding in x direction<br>
pady=amount - add padding in y direction<br>
row=number - use cell identified with given row (starting with 0)<br>
rowspan=number - this widget will span several rows<br>
sticky=NSEW - if cell is larger on which sides will this<br>
widget stick to the cell boundary</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-grid_configure"><strong>grid_configure</strong></a>(self, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Position a widget in the parent widget in a grid. Use as options:<br>
column=number - use cell identified with given column (starting with 0)<br>
columnspan=number - this widget will span several columns<br>
in=master - use master to contain this widget<br>
ipadx=amount - add internal padding in x direction<br>
ipady=amount - add internal padding in y direction<br>
padx=amount - add padding in x direction<br>
pady=amount - add padding in y direction<br>
row=number - use cell identified with given row (starting with 0)<br>
rowspan=number - this widget will span several rows<br>
sticky=NSEW - if cell is larger on which sides will this<br>
widget stick to the cell boundary</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-grid_forget"><strong>grid_forget</strong></a>(self)</dt><dd><tt>Unmap this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-grid_info"><strong>grid_info</strong></a>(self)</dt><dd><tt>Return information about the options<br>
for positioning this widget in a grid.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-grid_remove"><strong>grid_remove</strong></a>(self)</dt><dd><tt>Unmap this widget but remember the grid options.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar-location"><strong>location</strong></a> = grid_location(self, x, y)</dt><dd><tt>Return a tuple of column and row which identify the cell<br>
at which the pixel at position X and Y inside the master<br>
widget is located.</tt></dd></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="NavigationToolbar2TkAgg">class <strong>NavigationToolbar2TkAgg</strong></a>(<a href="matplotlib.backend_bases.html#NavigationToolbar2">matplotlib.backend_bases.NavigationToolbar2</a>, <a href="Tkinter.html#Frame">Tkinter.Frame</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Public attriubutes<br>
<br>
canvas - the FigureCanvas (gtk.DrawingArea)<br>
win - the gtk.Window<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.backends.backend_tkagg.html#NavigationToolbar2TkAgg">NavigationToolbar2TkAgg</a></dd>
<dd><a href="matplotlib.backend_bases.html#NavigationToolbar2">matplotlib.backend_bases.NavigationToolbar2</a></dd>
<dd><a href="Tkinter.html#Frame">Tkinter.Frame</a></dd>
<dd><a href="Tkinter.html#Widget">Tkinter.Widget</a></dd>
<dd><a href="Tkinter.html#BaseWidget">Tkinter.BaseWidget</a></dd>
<dd><a href="Tkinter.html#Misc">Tkinter.Misc</a></dd>
<dd><a href="Tkinter.html#Pack">Tkinter.Pack</a></dd>
<dd><a href="Tkinter.html#Place">Tkinter.Place</a></dd>
<dd><a href="Tkinter.html#Grid">Tkinter.Grid</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="NavigationToolbar2TkAgg-__init__"><strong>__init__</strong></a>(self, canvas, window)</dt></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-configure_subplots"><strong>configure_subplots</strong></a>(self)</dt></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-destroy"><strong>destroy</strong></a>(self, *args)</dt></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-draw_rubberband"><strong>draw_rubberband</strong></a>(self, event, x0, y0, x1, y1)</dt></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-dynamic_update"><strong>dynamic_update</strong></a>(self)</dt><dd><tt>update drawing area only if idle</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-release"><strong>release</strong></a>(self, event)</dt></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-save_figure"><strong>save_figure</strong></a>(self)</dt></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-set_active"><strong>set_active</strong></a>(self, ind)</dt></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-set_cursor"><strong>set_cursor</strong></a>(self, cursor)</dt></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-set_message"><strong>set_message</strong></a>(self, s)</dt></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-update"><strong>update</strong></a>(self)</dt></dl>
<hr>
Methods inherited from <a href="matplotlib.backend_bases.html#NavigationToolbar2">matplotlib.backend_bases.NavigationToolbar2</a>:<br>
<dl><dt><a name="NavigationToolbar2TkAgg-back"><strong>back</strong></a>(self, *args)</dt><dd><tt>move back up the view lim stack</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-drag_pan"><strong>drag_pan</strong></a>(self, event)</dt><dd><tt>the drag callback in pan/zoom mode</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-draw"><strong>draw</strong></a>(self)</dt><dd><tt>redraw the canvases, update the locators</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-forward"><strong>forward</strong></a>(self, *args)</dt><dd><tt>move forward in the view lim stack</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-home"><strong>home</strong></a>(self, *args)</dt><dd><tt>restore the original view</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-mouse_move"><strong>mouse_move</strong></a>(self, event)</dt></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-pan"><strong>pan</strong></a>(self, *args)</dt><dd><tt>Activate the pan/zoom tool. pan with left button, zoom with right</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-press"><strong>press</strong></a>(self, event)</dt><dd><tt>this will be called whenver a mouse button is pressed</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-press_pan"><strong>press_pan</strong></a>(self, event)</dt><dd><tt>the press mouse button in pan/zoom mode callback</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-press_zoom"><strong>press_zoom</strong></a>(self, event)</dt><dd><tt>the press mouse button in zoom to rect mode callback</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-push_current"><strong>push_current</strong></a>(self)</dt><dd><tt>push the current view limits and position onto the stack</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-release_pan"><strong>release_pan</strong></a>(self, event)</dt><dd><tt>the release mouse button callback in pan/zoom mode</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-release_zoom"><strong>release_zoom</strong></a>(self, event)</dt><dd><tt>the release mouse button callback in zoom to rect mode</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-set_history_buttons"><strong>set_history_buttons</strong></a>(self)</dt><dd><tt>enable or disable back/forward button</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-zoom"><strong>zoom</strong></a>(self, *args)</dt><dd><tt>activate zoom to rect mode</tt></dd></dl>
<hr>
Methods inherited from <a href="Tkinter.html#Misc">Tkinter.Misc</a>:<br>
<dl><dt><a name="NavigationToolbar2TkAgg-__getitem__"><strong>__getitem__</strong></a> = cget(self, key)</dt><dd><tt>Return the resource value for a KEY given as string.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-__setitem__"><strong>__setitem__</strong></a>(self, key, value)</dt></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>Return the window path name of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-after"><strong>after</strong></a>(self, ms, func<font color="#909090">=None</font>, *args)</dt><dd><tt>Call function once after given time.<br>
<br>
MS specifies the time in milliseconds. FUNC gives the<br>
function which shall be called. Additional parameters<br>
are given as parameters to the function call. Return<br>
identifier to cancel scheduling with after_cancel.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-after_cancel"><strong>after_cancel</strong></a>(self, id)</dt><dd><tt>Cancel scheduling of function identified with ID.<br>
<br>
Identifier returned by after or after_idle must be<br>
given as first parameter.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-after_idle"><strong>after_idle</strong></a>(self, func, *args)</dt><dd><tt>Call FUNC once if the Tcl main loop has no event to<br>
process.<br>
<br>
Return an identifier to cancel the scheduling with<br>
after_cancel.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-bbox"><strong>bbox</strong></a> = grid_bbox(self, column<font color="#909090">=None</font>, row<font color="#909090">=None</font>, col2<font color="#909090">=None</font>, row2<font color="#909090">=None</font>)</dt><dd><tt>Return a tuple of integer coordinates for the bounding<br>
box of this widget controlled by the geometry manager grid.<br>
<br>
If COLUMN, ROW is given the bounding box applies from<br>
the cell with row and column 0 to the specified<br>
cell. If COL2 and ROW2 are given the bounding box<br>
starts at that cell.<br>
<br>
The returned integers specify the offset of the upper left<br>
corner in the master widget and the width and height.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-bell"><strong>bell</strong></a>(self, displayof<font color="#909090">=0</font>)</dt><dd><tt>Ring a display's bell.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-bind"><strong>bind</strong></a>(self, sequence<font color="#909090">=None</font>, func<font color="#909090">=None</font>, add<font color="#909090">=None</font>)</dt><dd><tt>Bind to this widget at event SEQUENCE a call to function FUNC.<br>
<br>
SEQUENCE is a string of concatenated event<br>
patterns. An event pattern is of the form<br>
<MODIFIER-MODIFIER-TYPE-DETAIL> where MODIFIER is one<br>
of Control, Mod2, M2, Shift, Mod3, M3, Lock, Mod4, M4,<br>
Button1, B1, Mod5, M5 Button2, B2, Meta, M, Button3,<br>
B3, Alt, Button4, B4, Double, Button5, B5 Triple,<br>
Mod1, M1. TYPE is one of Activate, Enter, Map,<br>
ButtonPress, Button, Expose, Motion, ButtonRelease<br>
FocusIn, MouseWheel, Circulate, FocusOut, Property,<br>
Colormap, Gravity Reparent, Configure, KeyPress, Key,<br>
Unmap, Deactivate, KeyRelease Visibility, Destroy,<br>
Leave and DETAIL is the button number for ButtonPress,<br>
ButtonRelease and DETAIL is the Keysym for KeyPress and<br>
KeyRelease. Examples are<br>
<Control-Button-1> for pressing Control and mouse button 1 or<br>
<Alt-A> for pressing A and the Alt key (KeyPress can be omitted).<br>
An event pattern can also be a virtual event of the form<br>
<<AString>> where AString can be arbitrary. This<br>
event can be generated by event_generate.<br>
If events are concatenated they must appear shortly<br>
after each other.<br>
<br>
FUNC will be called if the event sequence occurs with an<br>
instance of Event as argument. If the return value of FUNC is<br>
"break" no further bound function is invoked.<br>
<br>
An additional boolean parameter ADD specifies whether FUNC will<br>
be called additionally to the other bound function or whether<br>
it will replace the previous function.<br>
<br>
Bind will return an identifier to allow deletion of the bound function with<br>
unbind without memory leak.<br>
<br>
If FUNC or SEQUENCE is omitted the bound function or list<br>
of bound events are returned.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-bind_all"><strong>bind_all</strong></a>(self, sequence<font color="#909090">=None</font>, func<font color="#909090">=None</font>, add<font color="#909090">=None</font>)</dt><dd><tt>Bind to all widgets at an event SEQUENCE a call to function FUNC.<br>
An additional boolean parameter ADD specifies whether FUNC will<br>
be called additionally to the other bound function or whether<br>
it will replace the previous function. See bind for the return value.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-bind_class"><strong>bind_class</strong></a>(self, className, sequence<font color="#909090">=None</font>, func<font color="#909090">=None</font>, add<font color="#909090">=None</font>)</dt><dd><tt>Bind to widgets with bindtag CLASSNAME at event<br>
SEQUENCE a call of function FUNC. An additional<br>
boolean parameter ADD specifies whether FUNC will be<br>
called additionally to the other bound function or<br>
whether it will replace the previous function. See bind for<br>
the return value.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-bindtags"><strong>bindtags</strong></a>(self, tagList<font color="#909090">=None</font>)</dt><dd><tt>Set or get the list of bindtags for this widget.<br>
<br>
With no argument return the list of all bindtags associated with<br>
this widget. With a list of strings as argument the bindtags are<br>
set to this list. The bindtags determine in which order events are<br>
processed (see bind).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-cget"><strong>cget</strong></a>(self, key)</dt><dd><tt>Return the resource value for a KEY given as string.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-clipboard_append"><strong>clipboard_append</strong></a>(self, string, **kw)</dt><dd><tt>Append STRING to the Tk clipboard.<br>
<br>
A widget specified at the optional displayof keyword<br>
argument specifies the target display. The clipboard<br>
can be retrieved with selection_get.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-clipboard_clear"><strong>clipboard_clear</strong></a>(self, **kw)</dt><dd><tt>Clear the data in the Tk clipboard.<br>
<br>
A widget specified for the optional displayof keyword<br>
argument specifies the target display.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-clipboard_get"><strong>clipboard_get</strong></a>(self, **kw)</dt><dd><tt>Retrieve data from the clipboard on window's display.<br>
<br>
The window keyword defaults to the root window of the Tkinter<br>
application.<br>
<br>
The type keyword specifies the form in which the data is<br>
to be returned and should be an atom name such as STRING<br>
or FILE_NAME. Type defaults to STRING.<br>
<br>
This command is equivalent to:<br>
<br>
<a href="#NavigationToolbar2TkAgg-selection_get">selection_get</a>(CLIPBOARD)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-colormodel"><strong>colormodel</strong></a>(self, value<font color="#909090">=None</font>)</dt><dd><tt>Useless. Not implemented in Tk.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-columnconfigure"><strong>columnconfigure</strong></a> = grid_columnconfigure(self, index, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Configure column INDEX of a grid.<br>
<br>
Valid resources are minsize (minimum size of the column),<br>
weight (how much does additional space propagate to this column)<br>
and pad (how much space to let additionally).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-config"><strong>config</strong></a> = configure(self, cnf<font color="#909090">=None</font>, **kw)</dt><dd><tt>Configure resources of a widget.<br>
<br>
The values for resources are specified as keyword<br>
arguments. To get an overview about<br>
the allowed keyword arguments call the method keys.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-configure"><strong>configure</strong></a>(self, cnf<font color="#909090">=None</font>, **kw)</dt><dd><tt>Configure resources of a widget.<br>
<br>
The values for resources are specified as keyword<br>
arguments. To get an overview about<br>
the allowed keyword arguments call the method keys.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-deletecommand"><strong>deletecommand</strong></a>(self, name)</dt><dd><tt>Internal function.<br>
<br>
Delete the Tcl command provided in NAME.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-event_add"><strong>event_add</strong></a>(self, virtual, *sequences)</dt><dd><tt>Bind a virtual event VIRTUAL (of the form <<Name>>)<br>
to an event SEQUENCE such that the virtual event is triggered<br>
whenever SEQUENCE occurs.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-event_delete"><strong>event_delete</strong></a>(self, virtual, *sequences)</dt><dd><tt>Unbind a virtual event VIRTUAL from SEQUENCE.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-event_generate"><strong>event_generate</strong></a>(self, sequence, **kw)</dt><dd><tt>Generate an event SEQUENCE. Additional<br>
keyword arguments specify parameter of the event<br>
(e.g. x, y, rootx, rooty).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-event_info"><strong>event_info</strong></a>(self, virtual<font color="#909090">=None</font>)</dt><dd><tt>Return a list of all virtual events or the information<br>
about the SEQUENCE bound to the virtual event VIRTUAL.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-focus"><strong>focus</strong></a> = focus_set(self)</dt><dd><tt>Direct input focus to this widget.<br>
<br>
If the application currently does not have the focus<br>
this widget will get the focus if the application gets<br>
the focus through the window manager.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-focus_displayof"><strong>focus_displayof</strong></a>(self)</dt><dd><tt>Return the widget which has currently the focus on the<br>
display where this widget is located.<br>
<br>
Return None if the application does not have the focus.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-focus_force"><strong>focus_force</strong></a>(self)</dt><dd><tt>Direct input focus to this widget even if the<br>
application does not have the focus. Use with<br>
caution!</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-focus_get"><strong>focus_get</strong></a>(self)</dt><dd><tt>Return the widget which has currently the focus in the<br>
application.<br>
<br>
Use focus_displayof to allow working with several<br>
displays. Return None if application does not have<br>
the focus.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-focus_lastfor"><strong>focus_lastfor</strong></a>(self)</dt><dd><tt>Return the widget which would have the focus if top level<br>
for this widget gets the focus from the window manager.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-focus_set"><strong>focus_set</strong></a>(self)</dt><dd><tt>Direct input focus to this widget.<br>
<br>
If the application currently does not have the focus<br>
this widget will get the focus if the application gets<br>
the focus through the window manager.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-getboolean"><strong>getboolean</strong></a>(self, s)</dt><dd><tt>Return a boolean value for Tcl boolean values true and false given as parameter.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-getvar"><strong>getvar</strong></a>(self, name<font color="#909090">='PY_VAR'</font>)</dt><dd><tt>Return value of Tcl variable NAME.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-grab_current"><strong>grab_current</strong></a>(self)</dt><dd><tt>Return widget which has currently the grab in this application<br>
or None.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-grab_release"><strong>grab_release</strong></a>(self)</dt><dd><tt>Release grab for this widget if currently set.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-grab_set"><strong>grab_set</strong></a>(self)</dt><dd><tt>Set grab for this widget.<br>
<br>
A grab directs all events to this and descendant<br>
widgets in the application.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-grab_set_global"><strong>grab_set_global</strong></a>(self)</dt><dd><tt>Set global grab for this widget.<br>
<br>
A global grab directs all events to this and<br>
descendant widgets on the display. Use with caution -<br>
other applications do not get events anymore.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-grab_status"><strong>grab_status</strong></a>(self)</dt><dd><tt>Return None, "local" or "global" if this widget has<br>
no, a local or a global grab.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-grid_bbox"><strong>grid_bbox</strong></a>(self, column<font color="#909090">=None</font>, row<font color="#909090">=None</font>, col2<font color="#909090">=None</font>, row2<font color="#909090">=None</font>)</dt><dd><tt>Return a tuple of integer coordinates for the bounding<br>
box of this widget controlled by the geometry manager grid.<br>
<br>
If COLUMN, ROW is given the bounding box applies from<br>
the cell with row and column 0 to the specified<br>
cell. If COL2 and ROW2 are given the bounding box<br>
starts at that cell.<br>
<br>
The returned integers specify the offset of the upper left<br>
corner in the master widget and the width and height.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-grid_columnconfigure"><strong>grid_columnconfigure</strong></a>(self, index, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Configure column INDEX of a grid.<br>
<br>
Valid resources are minsize (minimum size of the column),<br>
weight (how much does additional space propagate to this column)<br>
and pad (how much space to let additionally).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-grid_location"><strong>grid_location</strong></a>(self, x, y)</dt><dd><tt>Return a tuple of column and row which identify the cell<br>
at which the pixel at position X and Y inside the master<br>
widget is located.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-grid_propagate"><strong>grid_propagate</strong></a>(self, flag<font color="#909090">=['_noarg_']</font>)</dt><dd><tt>Set or get the status for propagation of geometry information.<br>
<br>
A boolean argument specifies whether the geometry information<br>
of the slaves will determine the size of this widget. If no argument<br>
is given, the current setting will be returned.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-grid_rowconfigure"><strong>grid_rowconfigure</strong></a>(self, index, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Configure row INDEX of a grid.<br>
<br>
Valid resources are minsize (minimum size of the row),<br>
weight (how much does additional space propagate to this row)<br>
and pad (how much space to let additionally).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-grid_size"><strong>grid_size</strong></a>(self)</dt><dd><tt>Return a tuple of the number of column and rows in the grid.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-grid_slaves"><strong>grid_slaves</strong></a>(self, row<font color="#909090">=None</font>, column<font color="#909090">=None</font>)</dt><dd><tt>Return a list of all slaves of this widget<br>
in its packing order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-image_names"><strong>image_names</strong></a>(self)</dt><dd><tt>Return a list of all existing image names.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-image_types"><strong>image_types</strong></a>(self)</dt><dd><tt>Return a list of all available image types (e.g. phote bitmap).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-keys"><strong>keys</strong></a>(self)</dt><dd><tt>Return a list of all resource names of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-lift"><strong>lift</strong></a> = tkraise(self, aboveThis<font color="#909090">=None</font>)</dt><dd><tt>Raise this widget in the stacking order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-lower"><strong>lower</strong></a>(self, belowThis<font color="#909090">=None</font>)</dt><dd><tt>Lower this widget in the stacking order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-mainloop"><strong>mainloop</strong></a>(self, n<font color="#909090">=0</font>)</dt><dd><tt>Call the mainloop of Tk.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-nametowidget"><strong>nametowidget</strong></a>(self, name)</dt><dd><tt>Return the Tkinter instance of a widget identified by<br>
its Tcl name NAME.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-option_add"><strong>option_add</strong></a>(self, pattern, value, priority<font color="#909090">=None</font>)</dt><dd><tt>Set a VALUE (second parameter) for an option<br>
PATTERN (first parameter).<br>
<br>
An optional third parameter gives the numeric priority<br>
(defaults to 80).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-option_clear"><strong>option_clear</strong></a>(self)</dt><dd><tt>Clear the option database.<br>
<br>
It will be reloaded if option_add is called.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-option_get"><strong>option_get</strong></a>(self, name, className)</dt><dd><tt>Return the value for an option NAME for this widget<br>
with CLASSNAME.<br>
<br>
Values with higher priority override lower values.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-option_readfile"><strong>option_readfile</strong></a>(self, fileName, priority<font color="#909090">=None</font>)</dt><dd><tt>Read file FILENAME into the option database.<br>
<br>
An optional second parameter gives the numeric<br>
priority.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-pack_propagate"><strong>pack_propagate</strong></a>(self, flag<font color="#909090">=['_noarg_']</font>)</dt><dd><tt>Set or get the status for propagation of geometry information.<br>
<br>
A boolean argument specifies whether the geometry information<br>
of the slaves will determine the size of this widget. If no argument<br>
is given the current setting will be returned.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-pack_slaves"><strong>pack_slaves</strong></a>(self)</dt><dd><tt>Return a list of all slaves of this widget<br>
in its packing order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-place_slaves"><strong>place_slaves</strong></a>(self)</dt><dd><tt>Return a list of all slaves of this widget<br>
in its packing order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-propagate"><strong>propagate</strong></a> = pack_propagate(self, flag<font color="#909090">=['_noarg_']</font>)</dt><dd><tt>Set or get the status for propagation of geometry information.<br>
<br>
A boolean argument specifies whether the geometry information<br>
of the slaves will determine the size of this widget. If no argument<br>
is given the current setting will be returned.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-quit"><strong>quit</strong></a>(self)</dt><dd><tt>Quit the Tcl interpreter. All widgets will be destroyed.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-register"><strong>register</strong></a> = _register(self, func, subst<font color="#909090">=None</font>, needcleanup<font color="#909090">=1</font>)</dt><dd><tt>Return a newly created Tcl function. If this<br>
function is called, the Python function FUNC will<br>
be executed. An optional function SUBST can<br>
be given which will be executed before FUNC.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-rowconfigure"><strong>rowconfigure</strong></a> = grid_rowconfigure(self, index, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Configure row INDEX of a grid.<br>
<br>
Valid resources are minsize (minimum size of the row),<br>
weight (how much does additional space propagate to this row)<br>
and pad (how much space to let additionally).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-selection_clear"><strong>selection_clear</strong></a>(self, **kw)</dt><dd><tt>Clear the current X selection.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-selection_get"><strong>selection_get</strong></a>(self, **kw)</dt><dd><tt>Return the contents of the current X selection.<br>
<br>
A keyword parameter selection specifies the name of<br>
the selection and defaults to PRIMARY. A keyword<br>
parameter displayof specifies a widget on the display<br>
to use.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-selection_handle"><strong>selection_handle</strong></a>(self, command, **kw)</dt><dd><tt>Specify a function COMMAND to call if the X<br>
selection owned by this widget is queried by another<br>
application.<br>
<br>
This function must return the contents of the<br>
selection. The function will be called with the<br>
arguments OFFSET and LENGTH which allows the chunking<br>
of very long selections. The following keyword<br>
parameters can be provided:<br>
selection - name of the selection (default PRIMARY),<br>
type - type of the selection (e.g. STRING, FILE_NAME).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-selection_own"><strong>selection_own</strong></a>(self, **kw)</dt><dd><tt>Become owner of X selection.<br>
<br>
A keyword parameter selection specifies the name of<br>
the selection (default PRIMARY).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-selection_own_get"><strong>selection_own_get</strong></a>(self, **kw)</dt><dd><tt>Return owner of X selection.<br>
<br>
The following keyword parameter can<br>
be provided:<br>
selection - name of the selection (default PRIMARY),<br>
type - type of the selection (e.g. STRING, FILE_NAME).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-send"><strong>send</strong></a>(self, interp, cmd, *args)</dt><dd><tt>Send Tcl command CMD to different interpreter INTERP to be executed.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-setvar"><strong>setvar</strong></a>(self, name<font color="#909090">='PY_VAR'</font>, value<font color="#909090">='1'</font>)</dt><dd><tt>Set Tcl variable NAME to VALUE.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-size"><strong>size</strong></a> = grid_size(self)</dt><dd><tt>Return a tuple of the number of column and rows in the grid.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-slaves"><strong>slaves</strong></a> = pack_slaves(self)</dt><dd><tt>Return a list of all slaves of this widget<br>
in its packing order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-tk_bisque"><strong>tk_bisque</strong></a>(self)</dt><dd><tt>Change the color scheme to light brown as used in Tk 3.6 and before.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-tk_focusFollowsMouse"><strong>tk_focusFollowsMouse</strong></a>(self)</dt><dd><tt>The widget under mouse will get automatically focus. Can not<br>
be disabled easily.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-tk_focusNext"><strong>tk_focusNext</strong></a>(self)</dt><dd><tt>Return the next widget in the focus order which follows<br>
widget which has currently the focus.<br>
<br>
The focus order first goes to the next child, then to<br>
the children of the child recursively and then to the<br>
next sibling which is higher in the stacking order. A<br>
widget is omitted if it has the takefocus resource set<br>
to 0.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-tk_focusPrev"><strong>tk_focusPrev</strong></a>(self)</dt><dd><tt>Return previous widget in the focus order. See tk_focusNext for details.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-tk_menuBar"><strong>tk_menuBar</strong></a>(self, *args)</dt><dd><tt>Do not use. Needed in Tk 3.6 and earlier.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-tk_setPalette"><strong>tk_setPalette</strong></a>(self, *args, **kw)</dt><dd><tt>Set a new color scheme for all widget elements.<br>
<br>
A single color as argument will cause that all colors of Tk<br>
widget elements are derived from this.<br>
Alternatively several keyword parameters and its associated<br>
colors can be given. The following keywords are valid:<br>
activeBackground, foreground, selectColor,<br>
activeForeground, highlightBackground, selectBackground,<br>
background, highlightColor, selectForeground,<br>
disabledForeground, insertBackground, troughColor.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-tk_strictMotif"><strong>tk_strictMotif</strong></a>(self, boolean<font color="#909090">=None</font>)</dt><dd><tt>Set Tcl internal variable, whether the look and feel<br>
should adhere to Motif.<br>
<br>
A parameter of 1 means adhere to Motif (e.g. no color<br>
change if mouse passes over slider).<br>
Returns the set value.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-tkraise"><strong>tkraise</strong></a>(self, aboveThis<font color="#909090">=None</font>)</dt><dd><tt>Raise this widget in the stacking order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-unbind"><strong>unbind</strong></a>(self, sequence, funcid<font color="#909090">=None</font>)</dt><dd><tt>Unbind for this widget for event SEQUENCE the<br>
function identified with FUNCID.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-unbind_all"><strong>unbind_all</strong></a>(self, sequence)</dt><dd><tt>Unbind for all widgets for event SEQUENCE all functions.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-unbind_class"><strong>unbind_class</strong></a>(self, className, sequence)</dt><dd><tt>Unbind for a all widgets with bindtag CLASSNAME for event SEQUENCE<br>
all functions.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-update_idletasks"><strong>update_idletasks</strong></a>(self)</dt><dd><tt>Enter event loop until all idle callbacks have been called. This<br>
will update the display of windows but not process events caused by<br>
the user.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-wait_variable"><strong>wait_variable</strong></a>(self, name<font color="#909090">='PY_VAR'</font>)</dt><dd><tt>Wait until the variable is modified.<br>
<br>
A parameter of type IntVar, StringVar, DoubleVar or<br>
BooleanVar must be given.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-wait_visibility"><strong>wait_visibility</strong></a>(self, window<font color="#909090">=None</font>)</dt><dd><tt>Wait until the visibility of a WIDGET changes<br>
(e.g. it appears).<br>
<br>
If no parameter is given self is used.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-wait_window"><strong>wait_window</strong></a>(self, window<font color="#909090">=None</font>)</dt><dd><tt>Wait until a WIDGET is destroyed.<br>
<br>
If no parameter is given self is used.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-waitvar"><strong>waitvar</strong></a> = wait_variable(self, name<font color="#909090">='PY_VAR'</font>)</dt><dd><tt>Wait until the variable is modified.<br>
<br>
A parameter of type IntVar, StringVar, DoubleVar or<br>
BooleanVar must be given.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_atom"><strong>winfo_atom</strong></a>(self, name, displayof<font color="#909090">=0</font>)</dt><dd><tt>Return integer which represents atom NAME.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_atomname"><strong>winfo_atomname</strong></a>(self, id, displayof<font color="#909090">=0</font>)</dt><dd><tt>Return name of atom with identifier ID.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_cells"><strong>winfo_cells</strong></a>(self)</dt><dd><tt>Return number of cells in the colormap for this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_children"><strong>winfo_children</strong></a>(self)</dt><dd><tt>Return a list of all widgets which are children of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_class"><strong>winfo_class</strong></a>(self)</dt><dd><tt>Return window class name of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_colormapfull"><strong>winfo_colormapfull</strong></a>(self)</dt><dd><tt>Return true if at the last color request the colormap was full.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_containing"><strong>winfo_containing</strong></a>(self, rootX, rootY, displayof<font color="#909090">=0</font>)</dt><dd><tt>Return the widget which is at the root coordinates ROOTX, ROOTY.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_depth"><strong>winfo_depth</strong></a>(self)</dt><dd><tt>Return the number of bits per pixel.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_exists"><strong>winfo_exists</strong></a>(self)</dt><dd><tt>Return true if this widget exists.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_fpixels"><strong>winfo_fpixels</strong></a>(self, number)</dt><dd><tt>Return the number of pixels for the given distance NUMBER<br>
(e.g. "3c") as float.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_geometry"><strong>winfo_geometry</strong></a>(self)</dt><dd><tt>Return geometry string for this widget in the form "widthxheight+X+Y".</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_height"><strong>winfo_height</strong></a>(self)</dt><dd><tt>Return height of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_id"><strong>winfo_id</strong></a>(self)</dt><dd><tt>Return identifier ID for this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_interps"><strong>winfo_interps</strong></a>(self, displayof<font color="#909090">=0</font>)</dt><dd><tt>Return the name of all Tcl interpreters for this display.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_ismapped"><strong>winfo_ismapped</strong></a>(self)</dt><dd><tt>Return true if this widget is mapped.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_manager"><strong>winfo_manager</strong></a>(self)</dt><dd><tt>Return the window mananger name for this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_name"><strong>winfo_name</strong></a>(self)</dt><dd><tt>Return the name of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_parent"><strong>winfo_parent</strong></a>(self)</dt><dd><tt>Return the name of the parent of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_pathname"><strong>winfo_pathname</strong></a>(self, id, displayof<font color="#909090">=0</font>)</dt><dd><tt>Return the pathname of the widget given by ID.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_pixels"><strong>winfo_pixels</strong></a>(self, number)</dt><dd><tt>Rounded integer value of winfo_fpixels.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_pointerx"><strong>winfo_pointerx</strong></a>(self)</dt><dd><tt>Return the x coordinate of the pointer on the root window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_pointerxy"><strong>winfo_pointerxy</strong></a>(self)</dt><dd><tt>Return a tuple of x and y coordinates of the pointer on the root window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_pointery"><strong>winfo_pointery</strong></a>(self)</dt><dd><tt>Return the y coordinate of the pointer on the root window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_reqheight"><strong>winfo_reqheight</strong></a>(self)</dt><dd><tt>Return requested height of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_reqwidth"><strong>winfo_reqwidth</strong></a>(self)</dt><dd><tt>Return requested width of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_rgb"><strong>winfo_rgb</strong></a>(self, color)</dt><dd><tt>Return tuple of decimal values for red, green, blue for<br>
COLOR in this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_rootx"><strong>winfo_rootx</strong></a>(self)</dt><dd><tt>Return x coordinate of upper left corner of this widget on the<br>
root window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_rooty"><strong>winfo_rooty</strong></a>(self)</dt><dd><tt>Return y coordinate of upper left corner of this widget on the<br>
root window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_screen"><strong>winfo_screen</strong></a>(self)</dt><dd><tt>Return the screen name of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_screencells"><strong>winfo_screencells</strong></a>(self)</dt><dd><tt>Return the number of the cells in the colormap of the screen<br>
of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_screendepth"><strong>winfo_screendepth</strong></a>(self)</dt><dd><tt>Return the number of bits per pixel of the root window of the<br>
screen of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_screenheight"><strong>winfo_screenheight</strong></a>(self)</dt><dd><tt>Return the number of pixels of the height of the screen of this widget<br>
in pixel.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_screenmmheight"><strong>winfo_screenmmheight</strong></a>(self)</dt><dd><tt>Return the number of pixels of the height of the screen of<br>
this widget in mm.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_screenmmwidth"><strong>winfo_screenmmwidth</strong></a>(self)</dt><dd><tt>Return the number of pixels of the width of the screen of<br>
this widget in mm.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_screenvisual"><strong>winfo_screenvisual</strong></a>(self)</dt><dd><tt>Return one of the strings directcolor, grayscale, pseudocolor,<br>
staticcolor, staticgray, or truecolor for the default<br>
colormodel of this screen.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_screenwidth"><strong>winfo_screenwidth</strong></a>(self)</dt><dd><tt>Return the number of pixels of the width of the screen of<br>
this widget in pixel.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_server"><strong>winfo_server</strong></a>(self)</dt><dd><tt>Return information of the X-Server of the screen of this widget in<br>
the form "XmajorRminor vendor vendorVersion".</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_toplevel"><strong>winfo_toplevel</strong></a>(self)</dt><dd><tt>Return the toplevel widget of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_viewable"><strong>winfo_viewable</strong></a>(self)</dt><dd><tt>Return true if the widget and all its higher ancestors are mapped.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_visual"><strong>winfo_visual</strong></a>(self)</dt><dd><tt>Return one of the strings directcolor, grayscale, pseudocolor,<br>
staticcolor, staticgray, or truecolor for the<br>
colormodel of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_visualid"><strong>winfo_visualid</strong></a>(self)</dt><dd><tt>Return the X identifier for the visual for this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_visualsavailable"><strong>winfo_visualsavailable</strong></a>(self, includeids<font color="#909090">=0</font>)</dt><dd><tt>Return a list of all visuals available for the screen<br>
of this widget.<br>
<br>
Each item in the list consists of a visual name (see winfo_visual), a<br>
depth and if INCLUDEIDS=1 is given also the X identifier.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_vrootheight"><strong>winfo_vrootheight</strong></a>(self)</dt><dd><tt>Return the height of the virtual root window associated with this<br>
widget in pixels. If there is no virtual root window return the<br>
height of the screen.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_vrootwidth"><strong>winfo_vrootwidth</strong></a>(self)</dt><dd><tt>Return the width of the virtual root window associated with this<br>
widget in pixel. If there is no virtual root window return the<br>
width of the screen.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_vrootx"><strong>winfo_vrootx</strong></a>(self)</dt><dd><tt>Return the x offset of the virtual root relative to the root<br>
window of the screen of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_vrooty"><strong>winfo_vrooty</strong></a>(self)</dt><dd><tt>Return the y offset of the virtual root relative to the root<br>
window of the screen of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_width"><strong>winfo_width</strong></a>(self)</dt><dd><tt>Return the width of this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_x"><strong>winfo_x</strong></a>(self)</dt><dd><tt>Return the x coordinate of the upper left corner of this widget<br>
in the parent.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-winfo_y"><strong>winfo_y</strong></a>(self)</dt><dd><tt>Return the y coordinate of the upper left corner of this widget<br>
in the parent.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="Tkinter.html#Misc">Tkinter.Misc</a>:<br>
<dl><dt><strong>getdouble</strong> = <type 'float'><dd><tt>float(x) -> floating point number<br>
<br>
Convert a string or number to a floating point number, if possible.</tt></dl>
<dl><dt><strong>getint</strong> = <type 'int'><dd><tt>int(x[, base]) -> integer<br>
<br>
Convert a string or number to an integer, if possible. A floating point<br>
argument will be truncated towards zero (this does not include a string<br>
representation of a floating point number!) When converting a string, use<br>
the optional base. It is an error to supply a base when converting a<br>
non-string. If the argument is outside the integer range a long object<br>
will be returned instead.</tt></dl>
<hr>
Methods inherited from <a href="Tkinter.html#Pack">Tkinter.Pack</a>:<br>
<dl><dt><a name="NavigationToolbar2TkAgg-forget"><strong>forget</strong></a> = pack_forget(self)</dt><dd><tt>Unmap this widget and do not use it for the packing order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-info"><strong>info</strong></a> = pack_info(self)</dt><dd><tt>Return information about the packing options<br>
for this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-pack"><strong>pack</strong></a> = pack_configure(self, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Pack a widget in the parent widget. Use as options:<br>
after=widget - pack it after you have packed widget<br>
anchor=NSEW (or subset) - position widget according to<br>
given direction<br>
before=widget - pack it before you will pack widget<br>
expand=bool - expand widget if parent size grows<br>
fill=NONE or X or Y or BOTH - fill widget if widget grows<br>
in=master - use master to contain this widget<br>
ipadx=amount - add internal padding in x direction<br>
ipady=amount - add internal padding in y direction<br>
padx=amount - add padding in x direction<br>
pady=amount - add padding in y direction<br>
side=TOP or BOTTOM or LEFT or RIGHT - where to add this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-pack_configure"><strong>pack_configure</strong></a>(self, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Pack a widget in the parent widget. Use as options:<br>
after=widget - pack it after you have packed widget<br>
anchor=NSEW (or subset) - position widget according to<br>
given direction<br>
before=widget - pack it before you will pack widget<br>
expand=bool - expand widget if parent size grows<br>
fill=NONE or X or Y or BOTH - fill widget if widget grows<br>
in=master - use master to contain this widget<br>
ipadx=amount - add internal padding in x direction<br>
ipady=amount - add internal padding in y direction<br>
padx=amount - add padding in x direction<br>
pady=amount - add padding in y direction<br>
side=TOP or BOTTOM or LEFT or RIGHT - where to add this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-pack_forget"><strong>pack_forget</strong></a>(self)</dt><dd><tt>Unmap this widget and do not use it for the packing order.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-pack_info"><strong>pack_info</strong></a>(self)</dt><dd><tt>Return information about the packing options<br>
for this widget.</tt></dd></dl>
<hr>
Methods inherited from <a href="Tkinter.html#Place">Tkinter.Place</a>:<br>
<dl><dt><a name="NavigationToolbar2TkAgg-place"><strong>place</strong></a> = place_configure(self, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Place a widget in the parent widget. Use as options:<br>
in=master - master relative to which the widget is placed.<br>
x=amount - locate anchor of this widget at position x of master<br>
y=amount - locate anchor of this widget at position y of master<br>
relx=amount - locate anchor of this widget between 0.0 and 1.0<br>
relative to width of master (1.0 is right edge)<br>
rely=amount - locate anchor of this widget between 0.0 and 1.0<br>
relative to height of master (1.0 is bottom edge)<br>
anchor=NSEW (or subset) - position anchor according to given direction<br>
width=amount - width of this widget in pixel<br>
height=amount - height of this widget in pixel<br>
relwidth=amount - width of this widget between 0.0 and 1.0<br>
relative to width of master (1.0 is the same width<br>
as the master)<br>
relheight=amount - height of this widget between 0.0 and 1.0<br>
relative to height of master (1.0 is the same<br>
height as the master)<br>
bordermode="inside" or "outside" - whether to take border width of master widget<br>
into account</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-place_configure"><strong>place_configure</strong></a>(self, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Place a widget in the parent widget. Use as options:<br>
in=master - master relative to which the widget is placed.<br>
x=amount - locate anchor of this widget at position x of master<br>
y=amount - locate anchor of this widget at position y of master<br>
relx=amount - locate anchor of this widget between 0.0 and 1.0<br>
relative to width of master (1.0 is right edge)<br>
rely=amount - locate anchor of this widget between 0.0 and 1.0<br>
relative to height of master (1.0 is bottom edge)<br>
anchor=NSEW (or subset) - position anchor according to given direction<br>
width=amount - width of this widget in pixel<br>
height=amount - height of this widget in pixel<br>
relwidth=amount - width of this widget between 0.0 and 1.0<br>
relative to width of master (1.0 is the same width<br>
as the master)<br>
relheight=amount - height of this widget between 0.0 and 1.0<br>
relative to height of master (1.0 is the same<br>
height as the master)<br>
bordermode="inside" or "outside" - whether to take border width of master widget<br>
into account</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-place_forget"><strong>place_forget</strong></a>(self)</dt><dd><tt>Unmap this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-place_info"><strong>place_info</strong></a>(self)</dt><dd><tt>Return information about the placing options<br>
for this widget.</tt></dd></dl>
<hr>
Methods inherited from <a href="Tkinter.html#Grid">Tkinter.Grid</a>:<br>
<dl><dt><a name="NavigationToolbar2TkAgg-grid"><strong>grid</strong></a> = grid_configure(self, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Position a widget in the parent widget in a grid. Use as options:<br>
column=number - use cell identified with given column (starting with 0)<br>
columnspan=number - this widget will span several columns<br>
in=master - use master to contain this widget<br>
ipadx=amount - add internal padding in x direction<br>
ipady=amount - add internal padding in y direction<br>
padx=amount - add padding in x direction<br>
pady=amount - add padding in y direction<br>
row=number - use cell identified with given row (starting with 0)<br>
rowspan=number - this widget will span several rows<br>
sticky=NSEW - if cell is larger on which sides will this<br>
widget stick to the cell boundary</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-grid_configure"><strong>grid_configure</strong></a>(self, cnf<font color="#909090">={}</font>, **kw)</dt><dd><tt>Position a widget in the parent widget in a grid. Use as options:<br>
column=number - use cell identified with given column (starting with 0)<br>
columnspan=number - this widget will span several columns<br>
in=master - use master to contain this widget<br>
ipadx=amount - add internal padding in x direction<br>
ipady=amount - add internal padding in y direction<br>
padx=amount - add padding in x direction<br>
pady=amount - add padding in y direction<br>
row=number - use cell identified with given row (starting with 0)<br>
rowspan=number - this widget will span several rows<br>
sticky=NSEW - if cell is larger on which sides will this<br>
widget stick to the cell boundary</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-grid_forget"><strong>grid_forget</strong></a>(self)</dt><dd><tt>Unmap this widget.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-grid_info"><strong>grid_info</strong></a>(self)</dt><dd><tt>Return information about the options<br>
for positioning this widget in a grid.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-grid_remove"><strong>grid_remove</strong></a>(self)</dt><dd><tt>Unmap this widget but remember the grid options.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2TkAgg-location"><strong>location</strong></a> = grid_location(self, x, y)</dt><dd><tt>Return a tuple of column and row which identify the cell<br>
at which the pixel at position X and Y inside the master<br>
widget is located.</tt></dd></dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt><a name="-draw_if_interactive"><strong>draw_if_interactive</strong></a>()</dt></dl>
<dl><dt><a name="-error_msg_tkpaint"><strong>error_msg_tkpaint</strong></a>(msg, parent<font color="#909090">=None</font>)</dt></dl>
<dl><dt><a name="-new_figure_manager"><strong>new_figure_manager</strong></a>(num, *args, **kwargs)</dt><dd><tt>Create a new figure manager instance</tt></dd></dl>
<dl><dt><a name="-raise_msg_to_str"><strong>raise_msg_to_str</strong></a>(msg)</dt><dd><tt>msg is a return arg from a raise. Join with new lines</tt></dd></dl>
<dl><dt><a name="-round"><strong>round</strong></a>(x)</dt></dl>
<dl><dt><a name="-show"><strong>show</strong></a>()</dt><dd><tt>Show all the figures and enter the gtk mainloop<br>
<br>
This should be the last line of your script. This function sets<br>
interactive mode to True, as detailed on<br>
<a href="http://matplotlib.sf.net/interactive.html">http://matplotlib.sf.net/interactive.html</a></tt></dd></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
<td width="100%"><strong>PIXELS_PER_INCH</strong> = 75<br>
<strong>backend_version</strong> = 8.4000000000000004<br>
<strong>cursord</strong> = {0: 'hand2', 1: 'arrow', 2: 'tcross', 3: 'fleur'}<br>
<strong>cursors</strong> = <matplotlib.backend_bases.Cursors instance at 0x1ace5a8><br>
<strong>division</strong> = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)<br>
<strong>rcParams</strong> = {'figure.subplot.right': 0.90000000000000002, 'm...persize': 'letter', 'svg.embed_char_paths': True}<br>
<strong>verbose</strong> = <matplotlib.Verbose instance at 0x1951200></td></tr></table>
@footer@