4609 lines (3745 with data), 431.5 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_wxagg</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/lib/python2.5/site-packages/matplotlib/backends/backend_wxagg.py">/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/backends/backend_wxagg.py</a></font></td></tr></table>
<p></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="matplotlib.backends._wxagg.html">matplotlib.backends._wxagg</a><br>
</td><td width="25%" valign=top><a href="matplotlib.backends.backend_wx.html">matplotlib.backends.backend_wx</a><br>
</td><td width="25%" valign=top><a href="matplotlib.html">matplotlib</a><br>
</td><td width="25%" valign=top><a href="wx.html">wx</a><br>
</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="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_wxagg.html#FigureCanvasWxAgg">FigureCanvasWxAgg</a>(<a href="matplotlib.backends.backend_wx.html#FigureCanvasWx">matplotlib.backends.backend_wx.FigureCanvasWx</a>, <a href="matplotlib.backends.backend_agg.html#FigureCanvasAgg">matplotlib.backends.backend_agg.FigureCanvasAgg</a>)
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="matplotlib.backends.backend_wx.html#FigureCanvasWx">matplotlib.backends.backend_wx.FigureCanvasWx</a>(<a href="matplotlib.backend_bases.html#FigureCanvasBase">matplotlib.backend_bases.FigureCanvasBase</a>, <a href="wx._windows.html#Panel">wx._windows.Panel</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.backends.backend_wxagg.html#FigureCanvasWxAgg">FigureCanvasWxAgg</a>(<a href="matplotlib.backends.backend_wx.html#FigureCanvasWx">matplotlib.backends.backend_wx.FigureCanvasWx</a>, <a href="matplotlib.backends.backend_agg.html#FigureCanvasAgg">matplotlib.backends.backend_agg.FigureCanvasAgg</a>)
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="matplotlib.backends.backend_wx.html#FigureFrameWx">matplotlib.backends.backend_wx.FigureFrameWx</a>(<a href="wx._windows.html#Frame">wx._windows.Frame</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.backends.backend_wxagg.html#FigureFrameWxAgg">FigureFrameWxAgg</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="matplotlib.backends.backend_wx.html#NavigationToolbar2Wx">matplotlib.backends.backend_wx.NavigationToolbar2Wx</a>(<a href="matplotlib.backend_bases.html#NavigationToolbar2">matplotlib.backend_bases.NavigationToolbar2</a>, <a href="wx._controls.html#ToolBar">wx._controls.ToolBar</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.backends.backend_wxagg.html#NavigationToolbar2WxAgg">NavigationToolbar2WxAgg</a>
</font></dt></dl>
</dd>
</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="FigureCanvasWxAgg">class <strong>FigureCanvasWxAgg</strong></a>(<a href="matplotlib.backends.backend_wx.html#FigureCanvasWx">matplotlib.backends.backend_wx.FigureCanvasWx</a>, <a href="matplotlib.backends.backend_agg.html#FigureCanvasAgg">matplotlib.backends.backend_agg.FigureCanvasAgg</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>The FigureCanvas contains the figure and does event handling.<br>
<br>
In the wxPython backend, it is derived from wxPanel, and (usually)<br>
lives inside a frame instantiated by a FigureManagerWx. The parent<br>
window probably implements a wxSizer to control the displayed<br>
control size - but we give a hint as to our preferred minimum<br>
size.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.backends.backend_wxagg.html#FigureCanvasWxAgg">FigureCanvasWxAgg</a></dd>
<dd><a href="matplotlib.backends.backend_wx.html#FigureCanvasWx">matplotlib.backends.backend_wx.FigureCanvasWx</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>
<dd><a href="wx._windows.html#Panel">wx._windows.Panel</a></dd>
<dd><a href="wx._core.html#Window">wx._core.Window</a></dd>
<dd><a href="wx._core.html#EvtHandler">wx._core.EvtHandler</a></dd>
<dd><a href="wx._core.html#Object">wx._core.Object</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FigureCanvasWxAgg-blit"><strong>blit</strong></a>(self, bbox<font color="#909090">=None</font>)</dt><dd><tt>Transfer the region of the agg buffer defined by bbox to the display.<br>
If bbox is None, the entire buffer is transferred.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-draw"><strong>draw</strong></a>(self, repaint<font color="#909090">=True</font>)</dt><dd><tt>Render the figure using agg.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-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>, **kwargs)</dt><dd><tt>Render the figure to hardcopy</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.backends.backend_wx.html#FigureCanvasWx">matplotlib.backends.backend_wx.FigureCanvasWx</a>:<br>
<dl><dt><a name="FigureCanvasWxAgg-Copy_to_Clipboard"><strong>Copy_to_Clipboard</strong></a>(self, event<font color="#909090">=None</font>)</dt><dd><tt>copy bitmap of canvas to system clipboard</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Destroy"><strong>Destroy</strong></a>(self, *args, **kwargs)</dt></dl>
<dl><dt><a name="FigureCanvasWxAgg-Printer_Init"><strong>Printer_Init</strong></a>(self)</dt><dd><tt>initialize printer settings using wx methods</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Printer_Preview"><strong>Printer_Preview</strong></a>(self, event<font color="#909090">=None</font>)</dt><dd><tt>generate Print Preview with wx Print mechanism</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Printer_Print"><strong>Printer_Print</strong></a>(self, event<font color="#909090">=None</font>)</dt><dd><tt>Print figure using wx Print mechanism</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Printer_Setup"><strong>Printer_Setup</strong></a>(self, event<font color="#909090">=None</font>)</dt><dd><tt>set up figure for printing. The standard wx Printer<br>
Setup Dialog seems to die easily. Therefore, this setup<br>
simply asks for image width and margin for printing.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Printer_Setup2"><strong>Printer_Setup2</strong></a>(self, event<font color="#909090">=None</font>)</dt><dd><tt>set up figure for printing. Using the standard wx Printer<br>
Setup Dialog.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-__init__"><strong>__init__</strong></a>(self, parent, id, figure)</dt><dd><tt>Initialise a FigureWx instance.<br>
<br>
- Initialise the FigureCanvasBase and wxPanel parents.<br>
- Set event handlers for:<br>
EVT_SIZE (Resize event)<br>
EVT_PAINT (Paint event)</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-gui_repaint"><strong>gui_repaint</strong></a>(self, drawDC<font color="#909090">=None</font>)</dt><dd><tt>Performs update of the displayed image on the GUI canvas, using the<br>
supplied device context. If drawDC is None, a ClientDC will be used to<br>
redraw the image.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-realize"><strong>realize</strong></a>(self)</dt><dd><tt>This method will be called when the system is ready to draw,<br>
eg when a GUI window is realized</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.backends.backend_wx.html#FigureCanvasWx">matplotlib.backends.backend_wx.FigureCanvasWx</a>:<br>
<dl><dt><strong>keyvald</strong> = {306: 'shift', 307: 'alt', 308: 'control', 316: 'left', 317: 'up', 318: 'right', 319: '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="FigureCanvasWxAgg-buffer_rgba"><strong>buffer_rgba</strong></a>(self, x, y)</dt></dl>
<dl><dt><a name="FigureCanvasWxAgg-copy_from_bbox"><strong>copy_from_bbox</strong></a>(self, bbox)</dt></dl>
<dl><dt><a name="FigureCanvasWxAgg-get_renderer"><strong>get_renderer</strong></a>(self)</dt></dl>
<dl><dt><a name="FigureCanvasWxAgg-restore_region"><strong>restore_region</strong></a>(self, region)</dt></dl>
<dl><dt><a name="FigureCanvasWxAgg-tostring_argb"><strong>tostring_argb</strong></a>(self)</dt></dl>
<dl><dt><a name="FigureCanvasWxAgg-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="FigureCanvasWxAgg-button_press_event"><strong>button_press_event</strong></a>(self, x, y, button, guiEvent<font color="#909090">=None</font>)</dt><dd><tt>Backend derived classes should call this function on any mouse<br>
button press. x,y are the canvas coords: 0,0 is lower, left.<br>
button and key are as defined in MouseEvent</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-button_release_event"><strong>button_release_event</strong></a>(self, x, y, button, guiEvent<font color="#909090">=None</font>)</dt><dd><tt>Backend derived classes should call this function on any mouse<br>
button release. x,y are the canvas coords: 0,0 is lower, left.<br>
button and key are as defined in MouseEvent</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-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="FigureCanvasWxAgg-draw_event"><strong>draw_event</strong></a>(self, renderer)</dt></dl>
<dl><dt><a name="FigureCanvasWxAgg-draw_idle"><strong>draw_idle</strong></a>(self, *args, **kwargs)</dt><dd><tt>draw only if idle; defaults to draw but backends can overrride</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-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="FigureCanvasWxAgg-key_press_event"><strong>key_press_event</strong></a>(self, key, guiEvent<font color="#909090">=None</font>)</dt></dl>
<dl><dt><a name="FigureCanvasWxAgg-key_release_event"><strong>key_release_event</strong></a>(self, key, guiEvent<font color="#909090">=None</font>)</dt></dl>
<dl><dt><a name="FigureCanvasWxAgg-motion_notify_event"><strong>motion_notify_event</strong></a>(self, x, y, guiEvent<font color="#909090">=None</font>)</dt><dd><tt>Backend derived classes should call this function on any<br>
motion-notify-event. x,y are the canvas coords: 0,0 is lower, left.<br>
button and key are as defined in MouseEvent</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-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 MplEvent. The following events are recognized<br>
<br>
'resize_event',<br>
'draw_event',<br>
'key_press_event',<br>
'key_release_event',<br>
'button_press_event',<br>
'button_release_event',<br>
'motion_notify_event',<br>
'pick_event', <br>
<br>
<br>
For the three events above, if the mouse is over the axes,<br>
the variable event.inaxes will be set to the axes it is over,<br>
and additionally, the variables event.xdata and event.ydata<br>
will be defined. This is the mouse location in data coords.<br>
See backend_bases.MplEvent.<br>
<br>
return value is a connection id that can be used with<br>
mpl_disconnect</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-mpl_disconnect"><strong>mpl_disconnect</strong></a>(self, cid)</dt><dd><tt>disconnect callback id cid</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-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 PickEvent callbacks registered listeners</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-resize"><strong>resize</strong></a>(self, w, h)</dt><dd><tt>set the canvas size in pixels</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-resize_event"><strong>resize_event</strong></a>(self)</dt></dl>
<dl><dt><a name="FigureCanvasWxAgg-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', 'motion_notify_event', 'pick_event')</dl>
<hr>
Methods inherited from <a href="wx._windows.html#Panel">wx._windows.Panel</a>:<br>
<dl><dt><a name="FigureCanvasWxAgg-Create"><strong>Create</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Create">Create</a>(self, Window parent, int id=-1, Point pos=DefaultPosition, <br>
Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, <br>
String name=PanelNameStr) -> bool<br>
<br>
Create the GUI part of the Window for 2-phase creation mode.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-InitDialog"><strong>InitDialog</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-InitDialog">InitDialog</a>(self)<br>
<br>
Sends an EVT_INIT_DIALOG event, whose handler usually transfers data<br>
to the dialog via validators.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetFocus"><strong>SetFocus</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetFocus">SetFocus</a>(self)<br>
<br>
Overrides `wx.Window.SetFocus`. This method uses the (undocumented)<br>
mix-in class wxControlContainer which manages the focus and TAB logic<br>
for controls which usually have child controls. In practice, if you<br>
call this method and the panel has at least one child window, then the<br>
focus will be given to the child window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetFocusIgnoringChildren"><strong>SetFocusIgnoringChildren</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetFocusIgnoringChildren">SetFocusIgnoringChildren</a>(self)<br>
<br>
In contrast to `SetFocus` (see above) this will set the focus to the<br>
panel even of there are child windows in the panel. This is only<br>
rarely needed.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<hr>
Static methods inherited from <a href="wx._windows.html#Panel">wx._windows.Panel</a>:<br>
<dl><dt><a name="FigureCanvasWxAgg-GetClassDefaultAttributes"><strong>GetClassDefaultAttributes</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetClassDefaultAttributes">GetClassDefaultAttributes</a>(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes<br>
<br>
Get the default attributes for this class. This is useful if you want<br>
to use the same font or colour in your own control as in a standard<br>
control -- which is a much better idea than hard coding specific<br>
colours or fonts which might look completely out of place on the<br>
user's system, especially if it uses themes.<br>
<br>
The variant parameter is only relevant under Mac currently and is<br>
ignore under other platforms. Under Mac, it will change the size of<br>
the returned font. See `wx.Window.SetWindowVariant` for more about<br>
this.</tt></dd></dl>
<hr>
Methods inherited from <a href="wx._core.html#Window">wx._core.Window</a>:<br>
<dl><dt><a name="FigureCanvasWxAgg-AcceptsFocus"><strong>AcceptsFocus</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-AcceptsFocus">AcceptsFocus</a>(self) -> bool<br>
<br>
Can this window have focus?</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-AcceptsFocusFromKeyboard"><strong>AcceptsFocusFromKeyboard</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-AcceptsFocusFromKeyboard">AcceptsFocusFromKeyboard</a>(self) -> bool<br>
<br>
Can this window be given focus by keyboard navigation? if not, the<br>
only way to give it focus (provided it accepts it at all) is to click<br>
it.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-AddChild"><strong>AddChild</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-AddChild">AddChild</a>(self, Window child)<br>
<br>
Adds a child window. This is called automatically by window creation<br>
functions so should not be required by the application programmer.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-AssociateHandle"><strong>AssociateHandle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-AssociateHandle">AssociateHandle</a>(self, long handle)<br>
<br>
Associate the window with a new native handle</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-CacheBestSize"><strong>CacheBestSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-CacheBestSize">CacheBestSize</a>(self, Size size)<br>
<br>
Cache the best size so it doesn't need to be calculated again, (at least until<br>
some properties of the window change.)</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-CaptureMouse"><strong>CaptureMouse</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-CaptureMouse">CaptureMouse</a>(self)<br>
<br>
Directs all mouse input to this window. Call wx.Window.ReleaseMouse to<br>
release the capture.<br>
<br>
Note that wxWindows maintains the stack of windows having captured the<br>
mouse and when the mouse is released the capture returns to the window<br>
which had had captured it previously and it is only really released if<br>
there were no previous window. In particular, this means that you must<br>
release the mouse as many times as you capture it.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Center"><strong>Center</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Center">Center</a>(self, int direction=BOTH)<br>
<br>
Centers the window. The parameter specifies the direction for<br>
cetering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may<br>
also include wx.CENTER_ON_SCREEN flag if you want to center the window<br>
on the entire screen and not on its parent window. If it is a<br>
top-level window and has no parent then it will always be centered<br>
relative to the screen.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-CenterOnParent"><strong>CenterOnParent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-CenterOnParent">CenterOnParent</a>(self, int dir=BOTH)<br>
<br>
Center with respect to the the parent window</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-CenterOnScreen"><strong>CenterOnScreen</strong></a> = deprecatedWrapper(*args, **kwargs)</dt><dd><tt><function CenterOnScreen at 0x83b6e2c> is deprecated</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Centre"><strong>Centre</strong></a> = Center(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Center">Center</a>(self, int direction=BOTH)<br>
<br>
Centers the window. The parameter specifies the direction for<br>
cetering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may<br>
also include wx.CENTER_ON_SCREEN flag if you want to center the window<br>
on the entire screen and not on its parent window. If it is a<br>
top-level window and has no parent then it will always be centered<br>
relative to the screen.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-CentreOnParent"><strong>CentreOnParent</strong></a> = CenterOnParent(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-CenterOnParent">CenterOnParent</a>(self, int dir=BOTH)<br>
<br>
Center with respect to the the parent window</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-CentreOnScreen"><strong>CentreOnScreen</strong></a> = deprecatedWrapper(*args, **kwargs)</dt><dd><tt><function CenterOnScreen at 0x83b6e2c> is deprecated</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-ClearBackground"><strong>ClearBackground</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-ClearBackground">ClearBackground</a>(self)<br>
<br>
Clears the window by filling it with the current background<br>
colour. Does not cause an erase background event to be generated.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-ClientToScreen"><strong>ClientToScreen</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-ClientToScreen">ClientToScreen</a>(self, Point pt) -> Point<br>
<br>
Converts to screen coordinates from coordinates relative to this window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-ClientToScreenXY"><strong>ClientToScreenXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-ClientToScreenXY">ClientToScreenXY</a>(int x, int y) -> (x,y)<br>
<br>
Converts to screen coordinates from coordinates relative to this window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Close"><strong>Close</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Close">Close</a>(self, bool force=False) -> bool<br>
<br>
This function simply generates a EVT_CLOSE event whose handler usually<br>
tries to close the window. It doesn't close the window itself,<br>
however. If force is False (the default) then the window's close<br>
handler will be allowed to veto the destruction of the window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-ConvertDialogPointToPixels"><strong>ConvertDialogPointToPixels</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-ConvertDialogPointToPixels">ConvertDialogPointToPixels</a>(self, Point pt) -> Point<br>
<br>
Converts a point or size from dialog units to pixels. Dialog units<br>
are used for maintaining a dialog's proportions even if the font<br>
changes. For the x dimension, the dialog units are multiplied by the<br>
average character width and then divided by 4. For the y dimension,<br>
the dialog units are multiplied by the average character height and<br>
then divided by 8.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-ConvertDialogSizeToPixels"><strong>ConvertDialogSizeToPixels</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-ConvertDialogSizeToPixels">ConvertDialogSizeToPixels</a>(self, Size sz) -> Size<br>
<br>
Converts a point or size from dialog units to pixels. Dialog units<br>
are used for maintaining a dialog's proportions even if the font<br>
changes. For the x dimension, the dialog units are multiplied by the<br>
average character width and then divided by 4. For the y dimension,<br>
the dialog units are multiplied by the average character height and<br>
then divided by 8.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-ConvertPixelPointToDialog"><strong>ConvertPixelPointToDialog</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-ConvertPixelPointToDialog">ConvertPixelPointToDialog</a>(self, Point pt) -> Point</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-ConvertPixelSizeToDialog"><strong>ConvertPixelSizeToDialog</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-ConvertPixelSizeToDialog">ConvertPixelSizeToDialog</a>(self, Size sz) -> Size</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-DLG_PNT"><strong>DLG_PNT</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-DLG_PNT">DLG_PNT</a>(self, Point pt) -> Point<br>
<br>
Converts a point or size from dialog units to pixels. Dialog units<br>
are used for maintaining a dialog's proportions even if the font<br>
changes. For the x dimension, the dialog units are multiplied by the<br>
average character width and then divided by 4. For the y dimension,<br>
the dialog units are multiplied by the average character height and<br>
then divided by 8.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-DLG_SZE"><strong>DLG_SZE</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-DLG_SZE">DLG_SZE</a>(self, Size sz) -> Size<br>
<br>
Converts a point or size from dialog units to pixels. Dialog units<br>
are used for maintaining a dialog's proportions even if the font<br>
changes. For the x dimension, the dialog units are multiplied by the<br>
average character width and then divided by 4. For the y dimension,<br>
the dialog units are multiplied by the average character height and<br>
then divided by 8.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-DestroyChildren"><strong>DestroyChildren</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-DestroyChildren">DestroyChildren</a>(self) -> bool<br>
<br>
Destroys all children of a window. Called automatically by the<br>
destructor.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Disable"><strong>Disable</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Disable">Disable</a>(self) -> bool<br>
<br>
Disables the window, same as <a href="#FigureCanvasWxAgg-Enable">Enable</a>(false).</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-DissociateHandle"><strong>DissociateHandle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-DissociateHandle">DissociateHandle</a>(self)<br>
<br>
Dissociate the current native handle from the window</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-DragAcceptFiles"><strong>DragAcceptFiles</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-DragAcceptFiles">DragAcceptFiles</a>(self, bool accept)<br>
<br>
Enables or disables eligibility for drop file events, EVT_DROP_FILES.<br>
Only functional on Windows.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Enable"><strong>Enable</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Enable">Enable</a>(self, bool enable=True) -> bool<br>
<br>
Enable or disable the window for user input. Note that when a parent<br>
window is disabled, all of its children are disabled as well and they<br>
are reenabled again when the parent is. Returns true if the window<br>
has been enabled or disabled, false if nothing was done, i.e. if the<br>
window had already been in the specified state.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-FindWindowById"><strong>FindWindowById</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-FindWindowById">FindWindowById</a>(self, long winid) -> Window<br>
<br>
Find a chld of this window by window ID</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-FindWindowByName"><strong>FindWindowByName</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-FindWindowByName">FindWindowByName</a>(self, String name) -> Window<br>
<br>
Find a child of this window by name</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Fit"><strong>Fit</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Fit">Fit</a>(self)<br>
<br>
Sizes the window so that it fits around its subwindows. This function<br>
won't do anything if there are no subwindows and will only really work<br>
correctly if sizers are used for the subwindows layout. Also, if the<br>
window has exactly one subwindow it is better (faster and the result<br>
is more precise as Fit adds some margin to account for fuzziness of<br>
its calculations) to call window.<a href="#FigureCanvasWxAgg-SetClientSize">SetClientSize</a>(child.<a href="#FigureCanvasWxAgg-GetSize">GetSize</a>())<br>
instead of calling Fit.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-FitInside"><strong>FitInside</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-FitInside">FitInside</a>(self)<br>
<br>
Similar to Fit, but sizes the interior (virtual) size of a<br>
window. Mainly useful with scrolled windows to reset scrollbars after<br>
sizing changes that do not trigger a size event, and/or scrolled<br>
windows without an interior sizer. This function similarly won't do<br>
anything if there are no subwindows.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Freeze"><strong>Freeze</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Freeze">Freeze</a>(self)<br>
<br>
Freezes the window or, in other words, prevents any updates from<br>
taking place on screen, the window is not redrawn at all. Thaw must be<br>
called to reenable window redrawing. Calls to Freeze/Thaw may be<br>
nested, with the actual Thaw being delayed until all the nesting has<br>
been undone.<br>
<br>
This method is useful for visual appearance optimization (for example,<br>
it is a good idea to use it before inserting large amount of text into<br>
a wxTextCtrl under wxGTK) but is not implemented on all platforms nor<br>
for all controls so it is mostly just a hint to wxWindows and not a<br>
mandatory directive.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetAcceleratorTable"><strong>GetAcceleratorTable</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetAcceleratorTable">GetAcceleratorTable</a>(self) -> AcceleratorTable<br>
<br>
Gets the accelerator table for this window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetAdjustedBestSize"><strong>GetAdjustedBestSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetAdjustedBestSize">GetAdjustedBestSize</a>(self) -> Size<br>
<br>
This method is similar to GetBestSize, except in one<br>
thing. GetBestSize should return the minimum untruncated size of the<br>
window, while this method will return the largest of BestSize and any<br>
user specified minimum size. ie. it is the minimum size the window<br>
should currently be drawn at, not the minimal size it can possibly<br>
tolerate.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetAutoLayout"><strong>GetAutoLayout</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetAutoLayout">GetAutoLayout</a>(self) -> bool<br>
<br>
Returns the current autoLayout setting</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetBackgroundColour"><strong>GetBackgroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetBackgroundColour">GetBackgroundColour</a>(self) -> Colour<br>
<br>
Returns the background colour of the window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetBackgroundStyle"><strong>GetBackgroundStyle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetBackgroundStyle">GetBackgroundStyle</a>(self) -> int<br>
<br>
Returns the background style of the window.<br>
<br>
:see: `SetBackgroundStyle`</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetBestFittingSize"><strong>GetBestFittingSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetBestFittingSize">GetBestFittingSize</a>(self) -> Size<br>
<br>
This function will merge the window's best size into the window's<br>
minimum size, giving priority to the min size components, and returns<br>
the results.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetBestSize"><strong>GetBestSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetBestSize">GetBestSize</a>(self) -> Size<br>
<br>
This function returns the best acceptable minimal size for the<br>
window, if applicable. For example, for a static text control, it will<br>
be the minimal size such that the control label is not truncated. For<br>
windows containing subwindows (suzh aswx.Panel), the size returned by<br>
this function will be the same as the size the window would have had<br>
after calling Fit.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetBestSizeTuple"><strong>GetBestSizeTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetBestSizeTuple">GetBestSizeTuple</a>() -> (width, height)<br>
<br>
This function returns the best acceptable minimal size for the<br>
window, if applicable. For example, for a static text control, it will<br>
be the minimal size such that the control label is not truncated. For<br>
windows containing subwindows (suzh aswx.Panel), the size returned by<br>
this function will be the same as the size the window would have had<br>
after calling Fit.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetBestVirtualSize"><strong>GetBestVirtualSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetBestVirtualSize">GetBestVirtualSize</a>(self) -> Size<br>
<br>
Return the largest of ClientSize and BestSize (as determined by a<br>
sizer, interior children, or other means)</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetBorder"><strong>GetBorder</strong></a>(*args)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetBorder">GetBorder</a>(self, long flags) -> int<br>
<a href="#FigureCanvasWxAgg-GetBorder">GetBorder</a>(self) -> int<br>
<br>
Get border for the flags of this window</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetCaret"><strong>GetCaret</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetCaret">GetCaret</a>(self) -> Caret<br>
<br>
Returns the caret associated with the window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetCharHeight"><strong>GetCharHeight</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetCharHeight">GetCharHeight</a>(self) -> int<br>
<br>
Get the (average) character size for the current font.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetCharWidth"><strong>GetCharWidth</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetCharWidth">GetCharWidth</a>(self) -> int<br>
<br>
Get the (average) character size for the current font.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetChildren"><strong>GetChildren</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetChildren">GetChildren</a>(self) -> PyObject<br>
<br>
Returns a list of the window's children. NOTE: Currently this is a<br>
copy of the child window list maintained by the window, so the return<br>
value of this function is only valid as long as the window's children<br>
do not change.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetClientAreaOrigin"><strong>GetClientAreaOrigin</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetClientAreaOrigin">GetClientAreaOrigin</a>(self) -> Point<br>
<br>
Get the origin of the client area of the window relative to the<br>
window's top left corner (the client area may be shifted because of<br>
the borders, scrollbars, other decorations...)</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetClientRect"><strong>GetClientRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetClientRect">GetClientRect</a>(self) -> Rect<br>
<br>
Get the client area position and size as a `wx.Rect` object.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetClientSize"><strong>GetClientSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetClientSize">GetClientSize</a>(self) -> Size<br>
<br>
This gets the size of the window's 'client area' in pixels. The client<br>
area is the area which may be drawn on by the programmer, excluding<br>
title bar, border, scrollbars, etc.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetClientSizeTuple"><strong>GetClientSizeTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetClientSizeTuple">GetClientSizeTuple</a>() -> (width, height)<br>
<br>
This gets the size of the window's 'client area' in pixels. The client<br>
area is the area which may be drawn on by the programmer, excluding<br>
title bar, border, scrollbars, etc.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetConstraints"><strong>GetConstraints</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetConstraints">GetConstraints</a>(self) -> LayoutConstraints<br>
<br>
Returns a pointer to the window's layout constraints, or None if there<br>
are none.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetContainingSizer"><strong>GetContainingSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetContainingSizer">GetContainingSizer</a>(self) -> Sizer<br>
<br>
Return the sizer that this window is a member of, if any, otherwise None.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetCursor"><strong>GetCursor</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetCursor">GetCursor</a>(self) -> Cursor<br>
<br>
Return the cursor associated with this window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetDefaultAttributes"><strong>GetDefaultAttributes</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetDefaultAttributes">GetDefaultAttributes</a>(self) -> VisualAttributes<br>
<br>
Get the default attributes for an instance of this class. This is<br>
useful if you want to use the same font or colour in your own control<br>
as in a standard control -- which is a much better idea than hard<br>
coding specific colours or fonts which might look completely out of<br>
place on the user's system, especially if it uses themes.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetDefaultItem"><strong>GetDefaultItem</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetDefaultItem">GetDefaultItem</a>(self) -> Window<br>
<br>
Get the default child of this parent, i.e. the one which is activated<br>
by pressing <Enter> such as the OK button on a wx.Dialog.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetDropTarget"><strong>GetDropTarget</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetDropTarget">GetDropTarget</a>(self) -> DropTarget<br>
<br>
Returns the associated drop target, which may be None.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetEventHandler"><strong>GetEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetEventHandler">GetEventHandler</a>(self) -> EvtHandler<br>
<br>
Returns the event handler for this window. By default, the window is<br>
its own event handler.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetExtraStyle"><strong>GetExtraStyle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetExtraStyle">GetExtraStyle</a>(self) -> long<br>
<br>
Returns the extra style bits for the window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetFont"><strong>GetFont</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetFont">GetFont</a>(self) -> Font<br>
<br>
Returns the default font used for this window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetForegroundColour"><strong>GetForegroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetForegroundColour">GetForegroundColour</a>(self) -> Colour<br>
<br>
Returns the foreground colour of the window. The interpretation of<br>
foreground colour is dependent on the window class; it may be the text<br>
colour or other colour, or it may not be used at all.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetFullTextExtent"><strong>GetFullTextExtent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetFullTextExtent">GetFullTextExtent</a>(String string, Font font=None) -><br>
(width, height, descent, externalLeading)<br>
<br>
Get the width, height, decent and leading of the text using the<br>
current or specified font.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetGrandParent"><strong>GetGrandParent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetGrandParent">GetGrandParent</a>(self) -> Window<br>
<br>
Returns the parent of the parent of this window, or None if there<br>
isn't one.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetHandle"><strong>GetHandle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetHandle">GetHandle</a>(self) -> long<br>
<br>
Returns the platform-specific handle (as a long integer) of the<br>
physical window. Currently on wxMac it returns the handle of the<br>
toplevel parent of the window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetHelpText"><strong>GetHelpText</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetHelpText">GetHelpText</a>(self) -> String<br>
<br>
Gets the help text to be used as context-sensitive help for this<br>
window. Note that the text is actually stored by the current<br>
wxHelpProvider implementation, and not in the window object itself.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetId"><strong>GetId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetId">GetId</a>(self) -> int<br>
<br>
Returns the identifier of the window. Each window has an integer<br>
identifier. If the application has not provided one (or the default Id<br>
-1 is used) then an unique identifier with a negative value will be<br>
generated.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetLabel"><strong>GetLabel</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetLabel">GetLabel</a>(self) -> String<br>
<br>
Generic way of getting a label from any window, for identification<br>
purposes. The interpretation of this function differs from class to<br>
class. For frames and dialogs, the value returned is the title. For<br>
buttons or static text controls, it is the button text. This function<br>
can be useful for meta-programs such as testing tools or special-needs<br>
access programs)which need to identify windows by name.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetMaxHeight"><strong>GetMaxHeight</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetMaxHeight">GetMaxHeight</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetMaxSize"><strong>GetMaxSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetMaxSize">GetMaxSize</a>(self) -> Size</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetMaxWidth"><strong>GetMaxWidth</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetMaxWidth">GetMaxWidth</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetMinHeight"><strong>GetMinHeight</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetMinHeight">GetMinHeight</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetMinSize"><strong>GetMinSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetMinSize">GetMinSize</a>(self) -> Size</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetMinWidth"><strong>GetMinWidth</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetMinWidth">GetMinWidth</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetName"><strong>GetName</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetName">GetName</a>(self) -> String<br>
<br>
Returns the windows name. This name is not guaranteed to be unique;<br>
it is up to the programmer to supply an appropriate name in the window<br>
constructor or via wx.Window.SetName.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetParent"><strong>GetParent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetParent">GetParent</a>(self) -> Window<br>
<br>
Returns the parent window of this window, or None if there isn't one.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetPosition"><strong>GetPosition</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetPosition">GetPosition</a>(self) -> Point<br>
<br>
Get the window's position.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetPositionTuple"><strong>GetPositionTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetPositionTuple">GetPositionTuple</a>() -> (x,y)<br>
<br>
Get the window's position.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetRect"><strong>GetRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetRect">GetRect</a>(self) -> Rect<br>
<br>
Returns the size and position of the window as a wx.Rect object.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetScrollPos"><strong>GetScrollPos</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetScrollPos">GetScrollPos</a>(self, int orientation) -> int<br>
<br>
Returns the built-in scrollbar position.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetScrollRange"><strong>GetScrollRange</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetScrollRange">GetScrollRange</a>(self, int orientation) -> int<br>
<br>
Returns the built-in scrollbar range.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetScrollThumb"><strong>GetScrollThumb</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetScrollThumb">GetScrollThumb</a>(self, int orientation) -> int<br>
<br>
Returns the built-in scrollbar thumb size.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetSize"><strong>GetSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetSize">GetSize</a>(self) -> Size<br>
<br>
Get the window size.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetSizeTuple"><strong>GetSizeTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetSizeTuple">GetSizeTuple</a>() -> (width, height)<br>
<br>
Get the window size.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetSizer"><strong>GetSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetSizer">GetSizer</a>(self) -> Sizer<br>
<br>
Return the sizer associated with the window by a previous call to<br>
SetSizer or None if there isn't one.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetTextExtent"><strong>GetTextExtent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetTextExtent">GetTextExtent</a>(String string) -> (width, height)<br>
<br>
Get the width and height of the text using the current font.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetThemeEnabled"><strong>GetThemeEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetThemeEnabled">GetThemeEnabled</a>(self) -> bool<br>
<br>
Return the themeEnabled flag.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetTitle"><strong>GetTitle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetTitle">GetTitle</a>(self) -> String<br>
<br>
Gets the window's title. Applicable only to frames and dialogs.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetToolTip"><strong>GetToolTip</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetToolTip">GetToolTip</a>(self) -> ToolTip<br>
<br>
get the associated tooltip or None if none</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetUpdateClientRect"><strong>GetUpdateClientRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetUpdateClientRect">GetUpdateClientRect</a>(self) -> Rect<br>
<br>
Get the update rectangle region bounding box in client coords.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetUpdateRegion"><strong>GetUpdateRegion</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetUpdateRegion">GetUpdateRegion</a>(self) -> Region<br>
<br>
Returns the region specifying which parts of the window have been<br>
damaged. Should only be called within an EVT_PAINT handler.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetValidator"><strong>GetValidator</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetValidator">GetValidator</a>(self) -> Validator<br>
<br>
Returns a pointer to the current validator for the window, or None if<br>
there is none.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetVirtualSize"><strong>GetVirtualSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetVirtualSize">GetVirtualSize</a>(self) -> Size<br>
<br>
Get the the virtual size of the window in pixels. For most windows<br>
this is just the client area of the window, but for some like scrolled<br>
windows it is more or less independent of the screen window size.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetVirtualSizeTuple"><strong>GetVirtualSizeTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetVirtualSizeTuple">GetVirtualSizeTuple</a>() -> (width, height)<br>
<br>
Get the the virtual size of the window in pixels. For most windows<br>
this is just the client area of the window, but for some like scrolled<br>
windows it is more or less independent of the screen window size.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetWindowStyle"><strong>GetWindowStyle</strong></a> = GetWindowStyleFlag(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetWindowStyleFlag">GetWindowStyleFlag</a>(self) -> long<br>
<br>
Gets the window style that was passed to the constructor or Create<br>
method.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetWindowStyleFlag"><strong>GetWindowStyleFlag</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetWindowStyleFlag">GetWindowStyleFlag</a>(self) -> long<br>
<br>
Gets the window style that was passed to the constructor or Create<br>
method.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetWindowVariant"><strong>GetWindowVariant</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetWindowVariant">GetWindowVariant</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-HasCapture"><strong>HasCapture</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-HasCapture">HasCapture</a>(self) -> bool<br>
<br>
Returns true if this window has the current mouse capture.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-HasFlag"><strong>HasFlag</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-HasFlag">HasFlag</a>(self, int flag) -> bool<br>
<br>
Test if the given style is set for this window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-HasScrollbar"><strong>HasScrollbar</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-HasScrollbar">HasScrollbar</a>(self, int orient) -> bool<br>
<br>
Does the window have the scrollbar for this orientation?</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-HasTransparentBackground"><strong>HasTransparentBackground</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-HasTransparentBackground">HasTransparentBackground</a>(self) -> bool<br>
<br>
Returns True if this window's background is transparent (as, for<br>
example, for `wx.StaticText`) and should show the parent window's<br>
background.<br>
<br>
This method is mostly used internally by the library itself and you<br>
normally shouldn't have to call it. You may, however, have to override<br>
it in your custom control classes to ensure that background is painted<br>
correctly.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Hide"><strong>Hide</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Hide">Hide</a>(self) -> bool<br>
<br>
Equivalent to calling <a href="#FigureCanvasWxAgg-Show">Show</a>(False).</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-HitTest"><strong>HitTest</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-HitTest">HitTest</a>(self, Point pt) -> int<br>
<br>
Test where the given (in client coords) point lies</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-HitTestXY"><strong>HitTestXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-HitTestXY">HitTestXY</a>(self, int x, int y) -> int<br>
<br>
Test where the given (in client coords) point lies</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-InheritAttributes"><strong>InheritAttributes</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-InheritAttributes">InheritAttributes</a>(self)<br>
<br>
This function is (or should be, in case of custom controls) called<br>
during window creation to intelligently set up the window visual<br>
attributes, that is the font and the foreground and background<br>
colours.<br>
<br>
By 'intelligently' the following is meant: by default, all windows use<br>
their own default attributes. However if some of the parent's<br>
attributes are explicitly changed (that is, using SetFont and not<br>
SetOwnFont) and if the corresponding attribute hadn't been<br>
explicitly set for this window itself, then this window takes the same<br>
value as used by the parent. In addition, if the window overrides<br>
ShouldInheritColours to return false, the colours will not be changed<br>
no matter what and only the font might.<br>
<br>
This rather complicated logic is necessary in order to accommodate the<br>
different usage scenarios. The most common one is when all default<br>
attributes are used and in this case, nothing should be inherited as<br>
in modern GUIs different controls use different fonts (and colours)<br>
than their siblings so they can't inherit the same value from the<br>
parent. However it was also deemed desirable to allow to simply change<br>
the attributes of all children at once by just changing the font or<br>
colour of their common parent, hence in this case we do inherit the<br>
parents attributes.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-InheritsBackgroundColour"><strong>InheritsBackgroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-InheritsBackgroundColour">InheritsBackgroundColour</a>(self) -> bool</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-InvalidateBestSize"><strong>InvalidateBestSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-InvalidateBestSize">InvalidateBestSize</a>(self)<br>
<br>
Reset the cached best size value so it will be recalculated the next<br>
time it is needed.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-IsBeingDeleted"><strong>IsBeingDeleted</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-IsBeingDeleted">IsBeingDeleted</a>(self) -> bool<br>
<br>
Is the window in the process of being deleted?</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-IsEnabled"><strong>IsEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-IsEnabled">IsEnabled</a>(self) -> bool<br>
<br>
Returns true if the window is enabled for input, false otherwise.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-IsExposed"><strong>IsExposed</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-IsExposed">IsExposed</a>(self, int x, int y, int w=1, int h=1) -> bool<br>
<br>
Returns true if the given point or rectangle area has been exposed<br>
since the last repaint. Call this in an paint event handler to<br>
optimize redrawing by only redrawing those areas, which have been<br>
exposed.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-IsExposedPoint"><strong>IsExposedPoint</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-IsExposedPoint">IsExposedPoint</a>(self, Point pt) -> bool<br>
<br>
Returns true if the given point or rectangle area has been exposed<br>
since the last repaint. Call this in an paint event handler to<br>
optimize redrawing by only redrawing those areas, which have been<br>
exposed.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-IsExposedRect"><strong>IsExposedRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-IsExposedRect">IsExposedRect</a>(self, Rect rect) -> bool<br>
<br>
Returns true if the given point or rectangle area has been exposed<br>
since the last repaint. Call this in an paint event handler to<br>
optimize redrawing by only redrawing those areas, which have been<br>
exposed.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-IsRetained"><strong>IsRetained</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-IsRetained">IsRetained</a>(self) -> bool<br>
<br>
Returns true if the window is retained, false otherwise. Retained<br>
windows are only available on X platforms.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-IsShown"><strong>IsShown</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-IsShown">IsShown</a>(self) -> bool<br>
<br>
Returns true if the window is shown, false if it has been hidden.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-IsTopLevel"><strong>IsTopLevel</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-IsTopLevel">IsTopLevel</a>(self) -> bool<br>
<br>
Returns true if the given window is a top-level one. Currently all<br>
frames and dialogs are always considered to be top-level windows (even<br>
if they have a parent window).</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Layout"><strong>Layout</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Layout">Layout</a>(self) -> bool<br>
<br>
Invokes the constraint-based layout algorithm or the sizer-based<br>
algorithm for this window. See SetAutoLayout: when auto layout is on,<br>
this function gets called automatically by the default EVT_SIZE<br>
handler when the window is resized.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-LineDown"><strong>LineDown</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-LineDown">LineDown</a>(self) -> bool<br>
<br>
This is just a wrapper for <a href="#FigureCanvasWxAgg-ScrollLines">ScrollLines</a>(1).</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-LineUp"><strong>LineUp</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-LineUp">LineUp</a>(self) -> bool<br>
<br>
This is just a wrapper for <a href="#FigureCanvasWxAgg-ScrollLines">ScrollLines</a>(-1).</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Lower"><strong>Lower</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Lower">Lower</a>(self)<br>
<br>
Lowers the window to the bottom of the window hierarchy. In current<br>
version of wxWidgets this works both for manage and child windows.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-MakeModal"><strong>MakeModal</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-MakeModal">MakeModal</a>(self, bool modal=True)<br>
<br>
Disables all other windows in the application so that the user can<br>
only interact with this window. Passing False will reverse this<br>
effect.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Move"><strong>Move</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Move">Move</a>(self, Point pt, int flags=SIZE_USE_EXISTING)<br>
<br>
Moves the window to the given position.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-MoveAfterInTabOrder"><strong>MoveAfterInTabOrder</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-MoveAfterInTabOrder">MoveAfterInTabOrder</a>(self, Window win)<br>
<br>
Moves this window in the tab navigation order after the specified<br>
sibling window. This means that when the user presses the TAB key on<br>
that other window, the focus switches to this window.<br>
<br>
The default tab order is the same as creation order. This function<br>
and `MoveBeforeInTabOrder` allow to change it after creating all the<br>
windows.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-MoveBeforeInTabOrder"><strong>MoveBeforeInTabOrder</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-MoveBeforeInTabOrder">MoveBeforeInTabOrder</a>(self, Window win)<br>
<br>
Same as `MoveAfterInTabOrder` except that it inserts this window just<br>
before win instead of putting it right after it.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-MoveXY"><strong>MoveXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-MoveXY">MoveXY</a>(self, int x, int y, int flags=SIZE_USE_EXISTING)<br>
<br>
Moves the window to the given position.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Navigate"><strong>Navigate</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Navigate">Navigate</a>(self, int flags=NavigationKeyEvent.IsForward) -> bool<br>
<br>
Does keyboard navigation from this window to another, by sending a<br>
`wx.NavigationKeyEvent`.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-PageDown"><strong>PageDown</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-PageDown">PageDown</a>(self) -> bool<br>
<br>
This is just a wrapper for <a href="#FigureCanvasWxAgg-ScrollPages">ScrollPages</a>(1).</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-PageUp"><strong>PageUp</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-PageUp">PageUp</a>(self) -> bool<br>
<br>
This is just a wrapper for <a href="#FigureCanvasWxAgg-ScrollPages">ScrollPages</a>(-1).</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-PopEventHandler"><strong>PopEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-PopEventHandler">PopEventHandler</a>(self, bool deleteHandler=False) -> EvtHandler<br>
<br>
Removes and returns the top-most event handler on the event handler<br>
stack. If deleteHandler is True then the wx.EvtHandler object will be<br>
destroyed after it is popped.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-PopupMenu"><strong>PopupMenu</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-PopupMenu">PopupMenu</a>(self, Menu menu, Point pos=DefaultPosition) -> bool<br>
<br>
Pops up the given menu at the specified coordinates, relative to this window,<br>
and returns control when the user has dismissed the menu. If a menu item is<br>
selected, the corresponding menu event is generated and will be processed as<br>
usual. If the default position is given then the current position of the<br>
mouse cursor will be used.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-PopupMenuXY"><strong>PopupMenuXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-PopupMenuXY">PopupMenuXY</a>(self, Menu menu, int x=-1, int y=-1) -> bool<br>
<br>
Pops up the given menu at the specified coordinates, relative to this window,<br>
and returns control when the user has dismissed the menu. If a menu item is<br>
selected, the corresponding menu event is generated and will be processed as<br>
usual. If the default position is given then the current position of the<br>
mouse cursor will be used.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-PostCreate"><strong>PostCreate</strong></a>(self, pre)</dt><dd><tt>Phase 3 of the 2-phase create <wink!><br>
Call this method after precreating the window with the 2-phase create method.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-PrepareDC"><strong>PrepareDC</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-PrepareDC">PrepareDC</a>(self, DC dc)<br>
<br>
Call this function to prepare the device context for drawing a<br>
scrolled image. It sets the device origin according to the current<br>
scroll position.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-PushEventHandler"><strong>PushEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-PushEventHandler">PushEventHandler</a>(self, EvtHandler handler)<br>
<br>
Pushes this event handler onto the event handler stack for the window.<br>
An event handler is an object that is capable of processing the events<br>
sent to a window. By default, the window is its own event handler, but<br>
an application may wish to substitute another, for example to allow<br>
central implementation of event-handling for a variety of different<br>
window classes.<br>
<br>
wx.Window.PushEventHandler allows an application to set up a chain of<br>
event handlers, where an event not handled by one event handler is<br>
handed to the next one in the chain. Use `wx.Window.PopEventHandler` to<br>
remove the event handler.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Raise"><strong>Raise</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Raise">Raise</a>(self)<br>
<br>
Raises the window to the top of the window hierarchy. In current<br>
version of wxWidgets this works both for manage and child windows.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Refresh"><strong>Refresh</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Refresh">Refresh</a>(self, bool eraseBackground=True, Rect rect=None)<br>
<br>
Mark the specified rectangle (or the whole window) as "dirty" so it<br>
will be repainted. Causes an EVT_PAINT event to be generated and sent<br>
to the window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-RefreshRect"><strong>RefreshRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-RefreshRect">RefreshRect</a>(self, Rect rect, bool eraseBackground=True)<br>
<br>
Redraws the contents of the given rectangle: the area inside it will<br>
be repainted. This is the same as Refresh but has a nicer syntax.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-RegisterHotKey"><strong>RegisterHotKey</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-RegisterHotKey">RegisterHotKey</a>(self, int hotkeyId, int modifiers, int keycode) -> bool<br>
<br>
Registers a system wide hotkey. Every time the user presses the hotkey<br>
registered here, this window will receive a hotkey event. It will<br>
receive the event even if the application is in the background and<br>
does not have the input focus because the user is working with some<br>
other application. To bind an event handler function to this hotkey<br>
use EVT_HOTKEY with an id equal to hotkeyId. Returns True if the<br>
hotkey was registered successfully.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-ReleaseMouse"><strong>ReleaseMouse</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-ReleaseMouse">ReleaseMouse</a>(self)<br>
<br>
Releases mouse input captured with wx.Window.CaptureMouse.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-RemoveChild"><strong>RemoveChild</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-RemoveChild">RemoveChild</a>(self, Window child)<br>
<br>
Removes a child window. This is called automatically by window<br>
deletion functions so should not be required by the application<br>
programmer.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-RemoveEventHandler"><strong>RemoveEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-RemoveEventHandler">RemoveEventHandler</a>(self, EvtHandler handler) -> bool<br>
<br>
Find the given handler in the event handler chain and remove (but not<br>
delete) it from the event handler chain, return True if it was found<br>
and False otherwise (this also results in an assert failure so this<br>
function should only be called when the handler is supposed to be<br>
there.)</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Reparent"><strong>Reparent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Reparent">Reparent</a>(self, Window newParent) -> bool<br>
<br>
Reparents the window, i.e the window will be removed from its current<br>
parent window (e.g. a non-standard toolbar in a wxFrame) and then<br>
re-inserted into another. Available on Windows and GTK. Returns True<br>
if the parent was changed, False otherwise (error or newParent ==<br>
oldParent)</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-ScreenToClient"><strong>ScreenToClient</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-ScreenToClient">ScreenToClient</a>(self, Point pt) -> Point<br>
<br>
Converts from screen to client window coordinates.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-ScreenToClientXY"><strong>ScreenToClientXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-ScreenToClientXY">ScreenToClientXY</a>(int x, int y) -> (x,y)<br>
<br>
Converts from screen to client window coordinates.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-ScrollLines"><strong>ScrollLines</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-ScrollLines">ScrollLines</a>(self, int lines) -> bool<br>
<br>
If the platform and window class supports it, scrolls the window by<br>
the given number of lines down, if lines is positive, or up if lines<br>
is negative. Returns True if the window was scrolled, False if it was<br>
already on top/bottom and nothing was done.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-ScrollPages"><strong>ScrollPages</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-ScrollPages">ScrollPages</a>(self, int pages) -> bool<br>
<br>
If the platform and window class supports it, scrolls the window by<br>
the given number of pages down, if pages is positive, or up if pages<br>
is negative. Returns True if the window was scrolled, False if it was<br>
already on top/bottom and nothing was done.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-ScrollWindow"><strong>ScrollWindow</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-ScrollWindow">ScrollWindow</a>(self, int dx, int dy, Rect rect=None)<br>
<br>
Physically scrolls the pixels in the window and move child windows<br>
accordingly. Use this function to optimise your scrolling<br>
implementations, to minimise the area that must be redrawn. Note that<br>
it is rarely required to call this function from a user program.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SendSizeEvent"><strong>SendSizeEvent</strong></a>(self)</dt></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetAcceleratorTable"><strong>SetAcceleratorTable</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetAcceleratorTable">SetAcceleratorTable</a>(self, AcceleratorTable accel)<br>
<br>
Sets the accelerator table for this window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetAutoLayout"><strong>SetAutoLayout</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetAutoLayout">SetAutoLayout</a>(self, bool autoLayout)<br>
<br>
Determines whether the Layout function will be called automatically<br>
when the window is resized. It is called implicitly by SetSizer but<br>
if you use SetConstraints you should call it manually or otherwise the<br>
window layout won't be correctly updated when its size changes.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetBackgroundColour"><strong>SetBackgroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetBackgroundColour">SetBackgroundColour</a>(self, Colour colour) -> bool<br>
<br>
Sets the background colour of the window. Returns True if the colour<br>
was changed. The background colour is usually painted by the default<br>
EVT_ERASE_BACKGROUND event handler function under Windows and<br>
automatically under GTK. Using `wx.NullColour` will reset the window<br>
to the default background colour.<br>
<br>
Note that setting the background colour may not cause an immediate<br>
refresh, so you may wish to call `ClearBackground` or `Refresh` after<br>
calling this function.<br>
<br>
Using this function will disable attempts to use themes for this<br>
window, if the system supports them. Use with care since usually the<br>
themes represent the appearance chosen by the user to be used for all<br>
applications on the system.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetBackgroundStyle"><strong>SetBackgroundStyle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetBackgroundStyle">SetBackgroundStyle</a>(self, int style) -> bool<br>
<br>
Returns the background style of the window. The background style<br>
indicates how the background of the window is drawn.<br>
<br>
====================== ========================================<br>
wx.BG_STYLE_SYSTEM The background colour or pattern should<br>
be determined by the system<br>
wx.BG_STYLE_COLOUR The background should be a solid colour<br>
wx.BG_STYLE_CUSTOM The background will be implemented by the<br>
application.<br>
====================== ========================================<br>
<br>
On GTK+, use of wx.BG_STYLE_CUSTOM allows the flicker-free drawing of<br>
a custom background, such as a tiled bitmap. Currently the style has<br>
no effect on other platforms.<br>
<br>
:see: `GetBackgroundStyle`, `SetBackgroundColour`</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetBestFittingSize"><strong>SetBestFittingSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetBestFittingSize">SetBestFittingSize</a>(self, Size size=DefaultSize)<br>
<br>
A 'Smart' SetSize that will fill in default size components with the<br>
window's *best size* values. Also set's the minsize for use with sizers.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetCaret"><strong>SetCaret</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetCaret">SetCaret</a>(self, Caret caret)<br>
<br>
Sets the caret associated with the window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetClientRect"><strong>SetClientRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetClientRect">SetClientRect</a>(self, Rect rect)<br>
<br>
This sets the size of the window client area in pixels. Using this<br>
function to size a window tends to be more device-independent than<br>
wx.Window.SetSize, since the application need not worry about what<br>
dimensions the border or title bar have when trying to fit the window<br>
around panel items, for example.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetClientSize"><strong>SetClientSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetClientSize">SetClientSize</a>(self, Size size)<br>
<br>
This sets the size of the window client area in pixels. Using this<br>
function to size a window tends to be more device-independent than<br>
wx.Window.SetSize, since the application need not worry about what<br>
dimensions the border or title bar have when trying to fit the window<br>
around panel items, for example.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetClientSizeWH"><strong>SetClientSizeWH</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetClientSizeWH">SetClientSizeWH</a>(self, int width, int height)<br>
<br>
This sets the size of the window client area in pixels. Using this<br>
function to size a window tends to be more device-independent than<br>
wx.Window.SetSize, since the application need not worry about what<br>
dimensions the border or title bar have when trying to fit the window<br>
around panel items, for example.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetConstraints"><strong>SetConstraints</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetConstraints">SetConstraints</a>(self, LayoutConstraints constraints)<br>
<br>
Sets the window to have the given layout constraints. If an existing<br>
layout constraints object is already owned by the window, it will be<br>
deleted. Pass None to disassociate and delete the window's current<br>
constraints.<br>
<br>
You must call SetAutoLayout to tell a window to use the constraints<br>
automatically in its default EVT_SIZE handler; otherwise, you must<br>
handle EVT_SIZE yourself and call <a href="#FigureCanvasWxAgg-Layout">Layout</a>() explicitly. When setting<br>
both a wx.LayoutConstraints and a wx.Sizer, only the sizer will have<br>
effect.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetContainingSizer"><strong>SetContainingSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetContainingSizer">SetContainingSizer</a>(self, Sizer sizer)<br>
<br>
This normally does not need to be called by application code. It is<br>
called internally when a window is added to a sizer, and is used so<br>
the window can remove itself from the sizer when it is destroyed.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetCursor"><strong>SetCursor</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetCursor">SetCursor</a>(self, Cursor cursor) -> bool<br>
<br>
Sets the window's cursor. Notice that the window cursor also sets it<br>
for the children of the window implicitly.<br>
<br>
The cursor may be wx.NullCursor in which case the window cursor will<br>
be reset back to default.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetDefaultItem"><strong>SetDefaultItem</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetDefaultItem">SetDefaultItem</a>(self, Window child) -> Window<br>
<br>
Set this child as default, return the old default.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetDimensions"><strong>SetDimensions</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetDimensions">SetDimensions</a>(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)<br>
<br>
Sets the position and size of the window in pixels. The sizeFlags<br>
parameter indicates the interpretation of the other params if they are<br>
equal to -1.<br>
<br>
======================== ======================================<br>
wx.SIZE_AUTO A -1 indicates that a class-specific<br>
default should be used.<br>
wx.SIZE_USE_EXISTING Axisting dimensions should be used if<br>
-1 values are supplied.<br>
wxSIZE_ALLOW_MINUS_ONE Allow dimensions of -1 and less to be<br>
interpreted as real dimensions, not<br>
default values.<br>
======================== ======================================</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetDropTarget"><strong>SetDropTarget</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetDropTarget">SetDropTarget</a>(self, DropTarget dropTarget)<br>
<br>
Associates a drop target with this window. If the window already has<br>
a drop target, it is deleted.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetEventHandler"><strong>SetEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetEventHandler">SetEventHandler</a>(self, EvtHandler handler)<br>
<br>
Sets the event handler for this window. An event handler is an object<br>
that is capable of processing the events sent to a window. By default,<br>
the window is its own event handler, but an application may wish to<br>
substitute another, for example to allow central implementation of<br>
event-handling for a variety of different window classes.<br>
<br>
It is usually better to use `wx.Window.PushEventHandler` since this sets<br>
up a chain of event handlers, where an event not handled by one event<br>
handler is handed to the next one in the chain.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetExtraStyle"><strong>SetExtraStyle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetExtraStyle">SetExtraStyle</a>(self, long exStyle)<br>
<br>
Sets the extra style bits for the window. Extra styles are the less<br>
often used style bits which can't be set with the constructor or with<br>
<a href="#FigureCanvasWxAgg-SetWindowStyleFlag">SetWindowStyleFlag</a>()</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetFocusFromKbd"><strong>SetFocusFromKbd</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetFocusFromKbd">SetFocusFromKbd</a>(self)<br>
<br>
Set focus to this window as the result of a keyboard action. Normally<br>
only called internally.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetFont"><strong>SetFont</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetFont">SetFont</a>(self, Font font) -> bool<br>
<br>
Sets the font for this window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetForegroundColour"><strong>SetForegroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetForegroundColour">SetForegroundColour</a>(self, Colour colour) -> bool<br>
<br>
Sets the foreground colour of the window. Returns True is the colour<br>
was changed. The interpretation of foreground colour is dependent on<br>
the window class; it may be the text colour or other colour, or it may<br>
not be used at all.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetHelpText"><strong>SetHelpText</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetHelpText">SetHelpText</a>(self, String text)<br>
<br>
Sets the help text to be used as context-sensitive help for this<br>
window. Note that the text is actually stored by the current<br>
wxHelpProvider implementation, and not in the window object itself.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetHelpTextForId"><strong>SetHelpTextForId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetHelpTextForId">SetHelpTextForId</a>(self, String text)<br>
<br>
Associate this help text with all windows with the same id as this<br>
one.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetId"><strong>SetId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetId">SetId</a>(self, int winid)<br>
<br>
Sets the identifier of the window. Each window has an integer<br>
identifier. If the application has not provided one, an identifier<br>
will be generated. Normally, the identifier should be provided on<br>
creation and should not be modified subsequently.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetLabel"><strong>SetLabel</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetLabel">SetLabel</a>(self, String label)<br>
<br>
Set the text which the window shows in its label if applicable.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetMaxSize"><strong>SetMaxSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetMaxSize">SetMaxSize</a>(self, Size maxSize)<br>
<br>
A more convenient method than `SetSizeHints` for setting just the<br>
max size.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetMinSize"><strong>SetMinSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetMinSize">SetMinSize</a>(self, Size minSize)<br>
<br>
A more convenient method than `SetSizeHints` for setting just the<br>
min size.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetName"><strong>SetName</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetName">SetName</a>(self, String name)<br>
<br>
Sets the window's name. The window name is used for ressource setting<br>
in X, it is not the same as the window title/label</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetOwnBackgroundColour"><strong>SetOwnBackgroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetOwnBackgroundColour">SetOwnBackgroundColour</a>(self, Colour colour)</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetOwnFont"><strong>SetOwnFont</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetOwnFont">SetOwnFont</a>(self, Font font)</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetOwnForegroundColour"><strong>SetOwnForegroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetOwnForegroundColour">SetOwnForegroundColour</a>(self, Colour colour)</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetPosition"><strong>SetPosition</strong></a> = Move(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Move">Move</a>(self, Point pt, int flags=SIZE_USE_EXISTING)<br>
<br>
Moves the window to the given position.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetRect"><strong>SetRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetRect">SetRect</a>(self, Rect rect, int sizeFlags=SIZE_AUTO)<br>
<br>
Sets the position and size of the window in pixels using a wx.Rect.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetScrollPos"><strong>SetScrollPos</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetScrollPos">SetScrollPos</a>(self, int orientation, int pos, bool refresh=True)<br>
<br>
Sets the position of one of the built-in scrollbars.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetScrollbar"><strong>SetScrollbar</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetScrollbar">SetScrollbar</a>(self, int orientation, int position, int thumbSize, int range, <br>
bool refresh=True)<br>
<br>
Sets the scrollbar properties of a built-in scrollbar.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetSize"><strong>SetSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetSize">SetSize</a>(self, Size size)<br>
<br>
Sets the size of the window in pixels.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetSizeHints"><strong>SetSizeHints</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetSizeHints">SetSizeHints</a>(self, int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, <br>
int incH=-1)<br>
<br>
Allows specification of minimum and maximum window sizes, and window<br>
size increments. If a pair of values is not set (or set to -1), the<br>
default values will be used. If this function is called, the user<br>
will not be able to size the window outside the given bounds (if it is<br>
a top-level window.) Sizers will also inspect the minimum window size<br>
and will use that value if set when calculating layout.<br>
<br>
The resizing increments are only significant under Motif or Xt.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetSizeHintsSz"><strong>SetSizeHintsSz</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetSizeHintsSz">SetSizeHintsSz</a>(self, Size minSize, Size maxSize=DefaultSize, Size incSize=DefaultSize)<br>
<br>
Allows specification of minimum and maximum window sizes, and window<br>
size increments. If a pair of values is not set (or set to -1), the<br>
default values will be used. If this function is called, the user<br>
will not be able to size the window outside the given bounds (if it is<br>
a top-level window.) Sizers will also inspect the minimum window size<br>
and will use that value if set when calculating layout.<br>
<br>
The resizing increments are only significant under Motif or Xt.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetSizeWH"><strong>SetSizeWH</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetSizeWH">SetSizeWH</a>(self, int width, int height)<br>
<br>
Sets the size of the window in pixels.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetSizer"><strong>SetSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetSizer">SetSizer</a>(self, Sizer sizer, bool deleteOld=True)<br>
<br>
Sets the window to have the given layout sizer. The window will then<br>
own the object, and will take care of its deletion. If an existing<br>
layout sizer object is already owned by the window, it will be deleted<br>
if the deleteOld parameter is true. Note that this function will also<br>
call SetAutoLayout implicitly with a True parameter if the sizer is<br>
non-None, and False otherwise.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetSizerAndFit"><strong>SetSizerAndFit</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetSizerAndFit">SetSizerAndFit</a>(self, Sizer sizer, bool deleteOld=True)<br>
<br>
The same as SetSizer, except it also sets the size hints for the<br>
window based on the sizer's minimum size.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetThemeEnabled"><strong>SetThemeEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetThemeEnabled">SetThemeEnabled</a>(self, bool enableTheme)<br>
<br>
This function tells a window if it should use the system's "theme"<br>
code to draw the windows' background instead if its own background<br>
drawing code. This will only have an effect on platforms that support<br>
the notion of themes in user defined windows. One such platform is<br>
GTK+ where windows can have (very colourful) backgrounds defined by a<br>
user's selected theme.<br>
<br>
Dialogs, notebook pages and the status bar have this flag set to true<br>
by default so that the default look and feel is simulated best.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetTitle"><strong>SetTitle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetTitle">SetTitle</a>(self, String title)<br>
<br>
Sets the window's title. Applicable only to frames and dialogs.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetTmpDefaultItem"><strong>SetTmpDefaultItem</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetTmpDefaultItem">SetTmpDefaultItem</a>(self, Window win)<br>
<br>
Set this child as temporary default</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetToolTip"><strong>SetToolTip</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetToolTip">SetToolTip</a>(self, ToolTip tip)<br>
<br>
Attach a tooltip to the window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetToolTipString"><strong>SetToolTipString</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetToolTipString">SetToolTipString</a>(self, String tip)<br>
<br>
Attach a tooltip to the window.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetValidator"><strong>SetValidator</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetValidator">SetValidator</a>(self, Validator validator)<br>
<br>
Deletes the current validator (if any) and sets the window validator,<br>
having called wx.Validator.Clone to create a new validator of this<br>
type.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetVirtualSize"><strong>SetVirtualSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetVirtualSize">SetVirtualSize</a>(self, Size size)<br>
<br>
Set the the virtual size of a window in pixels. For most windows this<br>
is just the client area of the window, but for some like scrolled<br>
windows it is more or less independent of the screen window size.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetVirtualSizeHints"><strong>SetVirtualSizeHints</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetVirtualSizeHints">SetVirtualSizeHints</a>(self, int minW, int minH, int maxW=-1, int maxH=-1)<br>
<br>
Allows specification of minimum and maximum virtual window sizes. If a<br>
pair of values is not set (or set to -1), the default values will be<br>
used. If this function is called, the user will not be able to size<br>
the virtual area of the window outside the given bounds.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetVirtualSizeHintsSz"><strong>SetVirtualSizeHintsSz</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetVirtualSizeHintsSz">SetVirtualSizeHintsSz</a>(self, Size minSize, Size maxSize=DefaultSize)<br>
<br>
Allows specification of minimum and maximum virtual window sizes. If a<br>
pair of values is not set (or set to -1), the default values will be<br>
used. If this function is called, the user will not be able to size<br>
the virtual area of the window outside the given bounds.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetVirtualSizeWH"><strong>SetVirtualSizeWH</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetVirtualSizeWH">SetVirtualSizeWH</a>(self, int w, int h)<br>
<br>
Set the the virtual size of a window in pixels. For most windows this<br>
is just the client area of the window, but for some like scrolled<br>
windows it is more or less independent of the screen window size.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetWindowStyle"><strong>SetWindowStyle</strong></a> = SetWindowStyleFlag(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetWindowStyleFlag">SetWindowStyleFlag</a>(self, long style)<br>
<br>
Sets the style of the window. Please note that some styles cannot be<br>
changed after the window creation and that <a href="#FigureCanvasWxAgg-Refresh">Refresh</a>() might need to be<br>
called after changing the others for the change to take place<br>
immediately.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetWindowStyleFlag"><strong>SetWindowStyleFlag</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetWindowStyleFlag">SetWindowStyleFlag</a>(self, long style)<br>
<br>
Sets the style of the window. Please note that some styles cannot be<br>
changed after the window creation and that <a href="#FigureCanvasWxAgg-Refresh">Refresh</a>() might need to be<br>
called after changing the others for the change to take place<br>
immediately.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetWindowVariant"><strong>SetWindowVariant</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetWindowVariant">SetWindowVariant</a>(self, int variant)<br>
<br>
Sets the variant of the window/font size to use for this window, if<br>
the platform supports variants, for example, wxMac.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-ShouldInheritColours"><strong>ShouldInheritColours</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-ShouldInheritColours">ShouldInheritColours</a>(self) -> bool<br>
<br>
Return true from here to allow the colours of this window to be<br>
changed by InheritAttributes, returning false forbids inheriting them<br>
from the parent window.<br>
<br>
The base class version returns false, but this method is overridden in<br>
wxControl where it returns true.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Show"><strong>Show</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Show">Show</a>(self, bool show=True) -> bool<br>
<br>
Shows or hides the window. You may need to call Raise for a top level<br>
window if you want to bring it to top, although this is not needed if<br>
Show is called immediately after the frame creation. Returns True if<br>
the window has been shown or hidden or False if nothing was done<br>
because it already was in the requested state.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Thaw"><strong>Thaw</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Thaw">Thaw</a>(self)<br>
<br>
Reenables window updating after a previous call to Freeze. Calls to<br>
Freeze/Thaw may be nested, so Thaw must be called the same number of<br>
times that Freeze was before the window will be updated.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-TransferDataFromWindow"><strong>TransferDataFromWindow</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-TransferDataFromWindow">TransferDataFromWindow</a>(self) -> bool<br>
<br>
Transfers values from child controls to data areas specified by their<br>
validators. Returns false if a transfer failed. If the window has<br>
wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will<br>
also call <a href="#FigureCanvasWxAgg-TransferDataFromWindow">TransferDataFromWindow</a>() of all child windows.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-TransferDataToWindow"><strong>TransferDataToWindow</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-TransferDataToWindow">TransferDataToWindow</a>(self) -> bool<br>
<br>
Transfers values to child controls from data areas specified by their<br>
validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra<br>
style flag set, the method will also call <a href="#FigureCanvasWxAgg-TransferDataToWindow">TransferDataToWindow</a>() of<br>
all child windows.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-UnregisterHotKey"><strong>UnregisterHotKey</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-UnregisterHotKey">UnregisterHotKey</a>(self, int hotkeyId) -> bool<br>
<br>
Unregisters a system wide hotkey.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Update"><strong>Update</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Update">Update</a>(self)<br>
<br>
Calling this method immediately repaints the invalidated area of the<br>
window instead of waiting for the EVT_PAINT event to happen, (normally<br>
this would usually only happen when the flow of control returns to the<br>
event loop.) Notice that this function doesn't refresh the window and<br>
does nothing if the window has been already repainted. Use Refresh<br>
first if you want to immediately redraw the window (or some portion of<br>
it) unconditionally.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-UpdateWindowUI"><strong>UpdateWindowUI</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-UpdateWindowUI">UpdateWindowUI</a>(self, long flags=UPDATE_UI_NONE)<br>
<br>
This function sends EVT_UPDATE_UI events to the window. The particular<br>
implementation depends on the window; for example a wx.ToolBar will<br>
send an update UI event for each toolbar button, and a wx.Frame will<br>
send an update UI event for each menubar menu item. You can call this<br>
function from your application to ensure that your UI is up-to-date at<br>
a particular point in time (as far as your EVT_UPDATE_UI handlers are<br>
concerned). This may be necessary if you have called<br>
`wx.UpdateUIEvent.SetMode` or `wx.UpdateUIEvent.SetUpdateInterval` to<br>
limit the overhead that wxWindows incurs by sending update UI events<br>
in idle time.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-UseBgCol"><strong>UseBgCol</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-UseBgCol">UseBgCol</a>(self) -> bool</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Validate"><strong>Validate</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Validate">Validate</a>(self) -> bool<br>
<br>
Validates the current values of the child controls using their<br>
validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra<br>
style flag set, the method will also call <a href="#FigureCanvasWxAgg-Validate">Validate</a>() of all child<br>
windows. Returns false if any of the validations failed.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-WarpPointer"><strong>WarpPointer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-WarpPointer">WarpPointer</a>(self, int x, int y)<br>
<br>
Moves the pointer to the given position on the window.<br>
<br>
NOTE: This function is not supported under Mac because Apple Human<br>
Interface Guidelines forbid moving the mouse cursor programmatically.</tt></dd></dl>
<hr>
Static methods inherited from <a href="wx._core.html#Window">wx._core.Window</a>:<br>
<dl><dt><a name="FigureCanvasWxAgg-FindFocus"><strong>FindFocus</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-FindFocus">FindFocus</a>() -> Window<br>
<br>
Returns the window or control that currently has the keyboard focus,<br>
or None.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetCapture"><strong>GetCapture</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetCapture">GetCapture</a>() -> Window<br>
<br>
Returns the window which currently captures the mouse or None</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-NewControlId"><strong>NewControlId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-NewControlId">NewControlId</a>() -> int<br>
<br>
Generate a control id for the controls which were not given one.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-NextControlId"><strong>NextControlId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-NextControlId">NextControlId</a>(int winid) -> int<br>
<br>
Get the id of the control following the one with the given<br>
autogenerated) id</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-PrevControlId"><strong>PrevControlId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-PrevControlId">PrevControlId</a>(int winid) -> int<br>
<br>
Get the id of the control preceding the one with the given<br>
autogenerated) id</tt></dd></dl>
<hr>
Methods inherited from <a href="wx._core.html#EvtHandler">wx._core.EvtHandler</a>:<br>
<dl><dt><a name="FigureCanvasWxAgg-AddPendingEvent"><strong>AddPendingEvent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-AddPendingEvent">AddPendingEvent</a>(self, Event event)</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Bind"><strong>Bind</strong></a>(self, event, handler, source<font color="#909090">=None</font>, id<font color="#909090">=-1</font>, id2<font color="#909090">=-1</font>)</dt><dd><tt>Bind an event to an event handler.<br>
<br>
:param event: One of the EVT_* objects that specifies the<br>
type of event to bind,<br>
<br>
:param handler: A callable object to be invoked when the<br>
event is delivered to self. Pass None to<br>
disconnect an event handler.<br>
<br>
:param source: Sometimes the event originates from a<br>
different window than self, but you still<br>
want to catch it in self. (For example, a<br>
button event delivered to a frame.) By<br>
passing the source of the event, the event<br>
handling system is able to differentiate<br>
between the same event type from different<br>
controls.<br>
<br>
:param id: Used to spcify the event source by ID instead<br>
of instance.<br>
<br>
:param id2: Used when it is desirable to bind a handler<br>
to a range of IDs, such as with EVT_MENU_RANGE.</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Connect"><strong>Connect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Connect">Connect</a>(self, int id, int lastId, int eventType, PyObject func)</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Disconnect"><strong>Disconnect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-Disconnect">Disconnect</a>(self, int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -> bool</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetEvtHandlerEnabled"><strong>GetEvtHandlerEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetEvtHandlerEnabled">GetEvtHandlerEnabled</a>(self) -> bool</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetNextHandler"><strong>GetNextHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetNextHandler">GetNextHandler</a>(self) -> EvtHandler</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-GetPreviousHandler"><strong>GetPreviousHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetPreviousHandler">GetPreviousHandler</a>(self) -> EvtHandler</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-ProcessEvent"><strong>ProcessEvent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-ProcessEvent">ProcessEvent</a>(self, Event event) -> bool</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-ProcessPendingEvents"><strong>ProcessPendingEvents</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-ProcessPendingEvents">ProcessPendingEvents</a>(self)</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetEvtHandlerEnabled"><strong>SetEvtHandlerEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetEvtHandlerEnabled">SetEvtHandlerEnabled</a>(self, bool enabled)</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetNextHandler"><strong>SetNextHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetNextHandler">SetNextHandler</a>(self, EvtHandler handler)</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-SetPreviousHandler"><strong>SetPreviousHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-SetPreviousHandler">SetPreviousHandler</a>(self, EvtHandler handler)</tt></dd></dl>
<dl><dt><a name="FigureCanvasWxAgg-Unbind"><strong>Unbind</strong></a>(self, event, source<font color="#909090">=None</font>, id<font color="#909090">=-1</font>, id2<font color="#909090">=-1</font>)</dt><dd><tt>Disconencts the event handler binding for event from self.<br>
Returns True if successful.</tt></dd></dl>
<hr>
Methods inherited from <a href="wx._core.html#Object">wx._core.Object</a>:<br>
<dl><dt><a name="FigureCanvasWxAgg-GetClassName"><strong>GetClassName</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureCanvasWxAgg-GetClassName">GetClassName</a>(self) -> String<br>
<br>
Returns the class name of the C++ class using wxRTTI.</tt></dd></dl>
<hr>
Data descriptors inherited from <a href="wx._core.html#Object">wx._core.Object</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</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="FigureFrameWxAgg">class <strong>FigureFrameWxAgg</strong></a>(<a href="matplotlib.backends.backend_wx.html#FigureFrameWx">matplotlib.backends.backend_wx.FigureFrameWx</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_wxagg.html#FigureFrameWxAgg">FigureFrameWxAgg</a></dd>
<dd><a href="matplotlib.backends.backend_wx.html#FigureFrameWx">matplotlib.backends.backend_wx.FigureFrameWx</a></dd>
<dd><a href="wx._windows.html#Frame">wx._windows.Frame</a></dd>
<dd><a href="wx._windows.html#TopLevelWindow">wx._windows.TopLevelWindow</a></dd>
<dd><a href="wx._core.html#Window">wx._core.Window</a></dd>
<dd><a href="wx._core.html#EvtHandler">wx._core.EvtHandler</a></dd>
<dd><a href="wx._core.html#Object">wx._core.Object</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FigureFrameWxAgg-get_canvas"><strong>get_canvas</strong></a>(self, fig)</dt></dl>
<hr>
Methods inherited from <a href="matplotlib.backends.backend_wx.html#FigureFrameWx">matplotlib.backends.backend_wx.FigureFrameWx</a>:<br>
<dl><dt><a name="FigureFrameWxAgg-Destroy"><strong>Destroy</strong></a>(self, *args, **kwargs)</dt></dl>
<dl><dt><a name="FigureFrameWxAgg-GetToolBar"><strong>GetToolBar</strong></a>(self)</dt><dd><tt>Override wxFrame::GetToolBar as we don't have managed toolbar</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-__init__"><strong>__init__</strong></a>(self, num, fig)</dt></dl>
<dl><dt><a name="FigureFrameWxAgg-get_figure_manager"><strong>get_figure_manager</strong></a>(self)</dt></dl>
<hr>
Methods inherited from <a href="wx._windows.html#Frame">wx._windows.Frame</a>:<br>
<dl><dt><a name="FigureFrameWxAgg-Command"><strong>Command</strong></a> = ProcessCommand(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ProcessCommand">ProcessCommand</a>(self, int winid) -> bool</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Create"><strong>Create</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Create">Create</a>(self, Window parent, int id=-1, String title=EmptyString, <br>
Point pos=DefaultPosition, Size size=DefaultSize, <br>
long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-CreateStatusBar"><strong>CreateStatusBar</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-CreateStatusBar">CreateStatusBar</a>(self, int number=1, long style=DEFAULT_STATUSBAR_STYLE, int winid=0, <br>
String name=StatusLineNameStr) -> StatusBar</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-CreateToolBar"><strong>CreateToolBar</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-CreateToolBar">CreateToolBar</a>(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-DoGiveHelp"><strong>DoGiveHelp</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-DoGiveHelp">DoGiveHelp</a>(self, String text, bool show)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-DoMenuUpdates"><strong>DoMenuUpdates</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-DoMenuUpdates">DoMenuUpdates</a>(self, Menu menu=None)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetClientAreaOrigin"><strong>GetClientAreaOrigin</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetClientAreaOrigin">GetClientAreaOrigin</a>(self) -> Point</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetMenuBar"><strong>GetMenuBar</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetMenuBar">GetMenuBar</a>(self) -> MenuBar</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetStatusBar"><strong>GetStatusBar</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetStatusBar">GetStatusBar</a>(self) -> StatusBar</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetStatusBarPane"><strong>GetStatusBarPane</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetStatusBarPane">GetStatusBarPane</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-PopStatusText"><strong>PopStatusText</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-PopStatusText">PopStatusText</a>(self, int number=0)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ProcessCommand"><strong>ProcessCommand</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ProcessCommand">ProcessCommand</a>(self, int winid) -> bool</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-PushStatusText"><strong>PushStatusText</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-PushStatusText">PushStatusText</a>(self, String text, int number=0)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SendSizeEvent"><strong>SendSizeEvent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SendSizeEvent">SendSizeEvent</a>(self)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetMenuBar"><strong>SetMenuBar</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetMenuBar">SetMenuBar</a>(self, MenuBar menubar)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetStatusBar"><strong>SetStatusBar</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetStatusBar">SetStatusBar</a>(self, StatusBar statBar)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetStatusBarPane"><strong>SetStatusBarPane</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetStatusBarPane">SetStatusBarPane</a>(self, int n)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetStatusText"><strong>SetStatusText</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetStatusText">SetStatusText</a>(self, String text, int number=0)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetStatusWidths"><strong>SetStatusWidths</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetStatusWidths">SetStatusWidths</a>(self, int widths)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetToolBar"><strong>SetToolBar</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetToolBar">SetToolBar</a>(self, wxToolBar toolbar)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<hr>
Static methods inherited from <a href="wx._windows.html#Frame">wx._windows.Frame</a>:<br>
<dl><dt><a name="FigureFrameWxAgg-GetClassDefaultAttributes"><strong>GetClassDefaultAttributes</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetClassDefaultAttributes">GetClassDefaultAttributes</a>(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes<br>
<br>
Get the default attributes for this class. This is useful if you want<br>
to use the same font or colour in your own control as in a standard<br>
control -- which is a much better idea than hard coding specific<br>
colours or fonts which might look completely out of place on the<br>
user's system, especially if it uses themes.<br>
<br>
The variant parameter is only relevant under Mac currently and is<br>
ignore under other platforms. Under Mac, it will change the size of<br>
the returned font. See `wx.Window.SetWindowVariant` for more about<br>
this.</tt></dd></dl>
<hr>
Methods inherited from <a href="wx._windows.html#TopLevelWindow">wx._windows.TopLevelWindow</a>:<br>
<dl><dt><a name="FigureFrameWxAgg-CenterOnScreen"><strong>CenterOnScreen</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-CenterOnScreen">CenterOnScreen</a>(self, int dir=BOTH)<br>
<br>
Center the window on screen</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-CentreOnScreen"><strong>CentreOnScreen</strong></a> = CenterOnScreen(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-CenterOnScreen">CenterOnScreen</a>(self, int dir=BOTH)<br>
<br>
Center the window on screen</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetIcon"><strong>GetIcon</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetIcon">GetIcon</a>(self) -> Icon</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetTitle"><strong>GetTitle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetTitle">GetTitle</a>(self) -> String<br>
<br>
Gets the window's title. Applicable only to frames and dialogs.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Iconize"><strong>Iconize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Iconize">Iconize</a>(self, bool iconize=True)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-IsActive"><strong>IsActive</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-IsActive">IsActive</a>(self) -> bool</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-IsFullScreen"><strong>IsFullScreen</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-IsFullScreen">IsFullScreen</a>(self) -> bool</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-IsIconized"><strong>IsIconized</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-IsIconized">IsIconized</a>(self) -> bool</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-IsMaximized"><strong>IsMaximized</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-IsMaximized">IsMaximized</a>(self) -> bool</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-MacGetMetalAppearance"><strong>MacGetMetalAppearance</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-MacGetMetalAppearance">MacGetMetalAppearance</a>(self) -> bool</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-MacSetMetalAppearance"><strong>MacSetMetalAppearance</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-MacSetMetalAppearance">MacSetMetalAppearance</a>(self, bool on)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Maximize"><strong>Maximize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Maximize">Maximize</a>(self, bool maximize=True)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-RequestUserAttention"><strong>RequestUserAttention</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-RequestUserAttention">RequestUserAttention</a>(self, int flags=USER_ATTENTION_INFO)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Restore"><strong>Restore</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Restore">Restore</a>(self)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetIcon"><strong>SetIcon</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetIcon">SetIcon</a>(self, Icon icon)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetIcons"><strong>SetIcons</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetIcons">SetIcons</a>(self, wxIconBundle icons)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetShape"><strong>SetShape</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetShape">SetShape</a>(self, Region region) -> bool</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetTitle"><strong>SetTitle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetTitle">SetTitle</a>(self, String title)<br>
<br>
Sets the window's title. Applicable only to frames and dialogs.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ShowFullScreen"><strong>ShowFullScreen</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ShowFullScreen">ShowFullScreen</a>(self, bool show, long style=FULLSCREEN_ALL) -> bool</tt></dd></dl>
<hr>
Methods inherited from <a href="wx._core.html#Window">wx._core.Window</a>:<br>
<dl><dt><a name="FigureFrameWxAgg-AcceptsFocus"><strong>AcceptsFocus</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-AcceptsFocus">AcceptsFocus</a>(self) -> bool<br>
<br>
Can this window have focus?</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-AcceptsFocusFromKeyboard"><strong>AcceptsFocusFromKeyboard</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-AcceptsFocusFromKeyboard">AcceptsFocusFromKeyboard</a>(self) -> bool<br>
<br>
Can this window be given focus by keyboard navigation? if not, the<br>
only way to give it focus (provided it accepts it at all) is to click<br>
it.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-AddChild"><strong>AddChild</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-AddChild">AddChild</a>(self, Window child)<br>
<br>
Adds a child window. This is called automatically by window creation<br>
functions so should not be required by the application programmer.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-AssociateHandle"><strong>AssociateHandle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-AssociateHandle">AssociateHandle</a>(self, long handle)<br>
<br>
Associate the window with a new native handle</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-CacheBestSize"><strong>CacheBestSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-CacheBestSize">CacheBestSize</a>(self, Size size)<br>
<br>
Cache the best size so it doesn't need to be calculated again, (at least until<br>
some properties of the window change.)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-CaptureMouse"><strong>CaptureMouse</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-CaptureMouse">CaptureMouse</a>(self)<br>
<br>
Directs all mouse input to this window. Call wx.Window.ReleaseMouse to<br>
release the capture.<br>
<br>
Note that wxWindows maintains the stack of windows having captured the<br>
mouse and when the mouse is released the capture returns to the window<br>
which had had captured it previously and it is only really released if<br>
there were no previous window. In particular, this means that you must<br>
release the mouse as many times as you capture it.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Center"><strong>Center</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Center">Center</a>(self, int direction=BOTH)<br>
<br>
Centers the window. The parameter specifies the direction for<br>
cetering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may<br>
also include wx.CENTER_ON_SCREEN flag if you want to center the window<br>
on the entire screen and not on its parent window. If it is a<br>
top-level window and has no parent then it will always be centered<br>
relative to the screen.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-CenterOnParent"><strong>CenterOnParent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-CenterOnParent">CenterOnParent</a>(self, int dir=BOTH)<br>
<br>
Center with respect to the the parent window</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Centre"><strong>Centre</strong></a> = Center(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Center">Center</a>(self, int direction=BOTH)<br>
<br>
Centers the window. The parameter specifies the direction for<br>
cetering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may<br>
also include wx.CENTER_ON_SCREEN flag if you want to center the window<br>
on the entire screen and not on its parent window. If it is a<br>
top-level window and has no parent then it will always be centered<br>
relative to the screen.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-CentreOnParent"><strong>CentreOnParent</strong></a> = CenterOnParent(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-CenterOnParent">CenterOnParent</a>(self, int dir=BOTH)<br>
<br>
Center with respect to the the parent window</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ClearBackground"><strong>ClearBackground</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ClearBackground">ClearBackground</a>(self)<br>
<br>
Clears the window by filling it with the current background<br>
colour. Does not cause an erase background event to be generated.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ClientToScreen"><strong>ClientToScreen</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ClientToScreen">ClientToScreen</a>(self, Point pt) -> Point<br>
<br>
Converts to screen coordinates from coordinates relative to this window.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ClientToScreenXY"><strong>ClientToScreenXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ClientToScreenXY">ClientToScreenXY</a>(int x, int y) -> (x,y)<br>
<br>
Converts to screen coordinates from coordinates relative to this window.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Close"><strong>Close</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Close">Close</a>(self, bool force=False) -> bool<br>
<br>
This function simply generates a EVT_CLOSE event whose handler usually<br>
tries to close the window. It doesn't close the window itself,<br>
however. If force is False (the default) then the window's close<br>
handler will be allowed to veto the destruction of the window.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ConvertDialogPointToPixels"><strong>ConvertDialogPointToPixels</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ConvertDialogPointToPixels">ConvertDialogPointToPixels</a>(self, Point pt) -> Point<br>
<br>
Converts a point or size from dialog units to pixels. Dialog units<br>
are used for maintaining a dialog's proportions even if the font<br>
changes. For the x dimension, the dialog units are multiplied by the<br>
average character width and then divided by 4. For the y dimension,<br>
the dialog units are multiplied by the average character height and<br>
then divided by 8.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ConvertDialogSizeToPixels"><strong>ConvertDialogSizeToPixels</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ConvertDialogSizeToPixels">ConvertDialogSizeToPixels</a>(self, Size sz) -> Size<br>
<br>
Converts a point or size from dialog units to pixels. Dialog units<br>
are used for maintaining a dialog's proportions even if the font<br>
changes. For the x dimension, the dialog units are multiplied by the<br>
average character width and then divided by 4. For the y dimension,<br>
the dialog units are multiplied by the average character height and<br>
then divided by 8.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ConvertPixelPointToDialog"><strong>ConvertPixelPointToDialog</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ConvertPixelPointToDialog">ConvertPixelPointToDialog</a>(self, Point pt) -> Point</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ConvertPixelSizeToDialog"><strong>ConvertPixelSizeToDialog</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ConvertPixelSizeToDialog">ConvertPixelSizeToDialog</a>(self, Size sz) -> Size</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-DLG_PNT"><strong>DLG_PNT</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-DLG_PNT">DLG_PNT</a>(self, Point pt) -> Point<br>
<br>
Converts a point or size from dialog units to pixels. Dialog units<br>
are used for maintaining a dialog's proportions even if the font<br>
changes. For the x dimension, the dialog units are multiplied by the<br>
average character width and then divided by 4. For the y dimension,<br>
the dialog units are multiplied by the average character height and<br>
then divided by 8.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-DLG_SZE"><strong>DLG_SZE</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-DLG_SZE">DLG_SZE</a>(self, Size sz) -> Size<br>
<br>
Converts a point or size from dialog units to pixels. Dialog units<br>
are used for maintaining a dialog's proportions even if the font<br>
changes. For the x dimension, the dialog units are multiplied by the<br>
average character width and then divided by 4. For the y dimension,<br>
the dialog units are multiplied by the average character height and<br>
then divided by 8.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-DestroyChildren"><strong>DestroyChildren</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-DestroyChildren">DestroyChildren</a>(self) -> bool<br>
<br>
Destroys all children of a window. Called automatically by the<br>
destructor.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Disable"><strong>Disable</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Disable">Disable</a>(self) -> bool<br>
<br>
Disables the window, same as <a href="#FigureFrameWxAgg-Enable">Enable</a>(false).</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-DissociateHandle"><strong>DissociateHandle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-DissociateHandle">DissociateHandle</a>(self)<br>
<br>
Dissociate the current native handle from the window</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-DragAcceptFiles"><strong>DragAcceptFiles</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-DragAcceptFiles">DragAcceptFiles</a>(self, bool accept)<br>
<br>
Enables or disables eligibility for drop file events, EVT_DROP_FILES.<br>
Only functional on Windows.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Enable"><strong>Enable</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Enable">Enable</a>(self, bool enable=True) -> bool<br>
<br>
Enable or disable the window for user input. Note that when a parent<br>
window is disabled, all of its children are disabled as well and they<br>
are reenabled again when the parent is. Returns true if the window<br>
has been enabled or disabled, false if nothing was done, i.e. if the<br>
window had already been in the specified state.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-FindWindowById"><strong>FindWindowById</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-FindWindowById">FindWindowById</a>(self, long winid) -> Window<br>
<br>
Find a chld of this window by window ID</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-FindWindowByName"><strong>FindWindowByName</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-FindWindowByName">FindWindowByName</a>(self, String name) -> Window<br>
<br>
Find a child of this window by name</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Fit"><strong>Fit</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Fit">Fit</a>(self)<br>
<br>
Sizes the window so that it fits around its subwindows. This function<br>
won't do anything if there are no subwindows and will only really work<br>
correctly if sizers are used for the subwindows layout. Also, if the<br>
window has exactly one subwindow it is better (faster and the result<br>
is more precise as Fit adds some margin to account for fuzziness of<br>
its calculations) to call window.<a href="#FigureFrameWxAgg-SetClientSize">SetClientSize</a>(child.<a href="#FigureFrameWxAgg-GetSize">GetSize</a>())<br>
instead of calling Fit.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-FitInside"><strong>FitInside</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-FitInside">FitInside</a>(self)<br>
<br>
Similar to Fit, but sizes the interior (virtual) size of a<br>
window. Mainly useful with scrolled windows to reset scrollbars after<br>
sizing changes that do not trigger a size event, and/or scrolled<br>
windows without an interior sizer. This function similarly won't do<br>
anything if there are no subwindows.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Freeze"><strong>Freeze</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Freeze">Freeze</a>(self)<br>
<br>
Freezes the window or, in other words, prevents any updates from<br>
taking place on screen, the window is not redrawn at all. Thaw must be<br>
called to reenable window redrawing. Calls to Freeze/Thaw may be<br>
nested, with the actual Thaw being delayed until all the nesting has<br>
been undone.<br>
<br>
This method is useful for visual appearance optimization (for example,<br>
it is a good idea to use it before inserting large amount of text into<br>
a wxTextCtrl under wxGTK) but is not implemented on all platforms nor<br>
for all controls so it is mostly just a hint to wxWindows and not a<br>
mandatory directive.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetAcceleratorTable"><strong>GetAcceleratorTable</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetAcceleratorTable">GetAcceleratorTable</a>(self) -> AcceleratorTable<br>
<br>
Gets the accelerator table for this window.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetAdjustedBestSize"><strong>GetAdjustedBestSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetAdjustedBestSize">GetAdjustedBestSize</a>(self) -> Size<br>
<br>
This method is similar to GetBestSize, except in one<br>
thing. GetBestSize should return the minimum untruncated size of the<br>
window, while this method will return the largest of BestSize and any<br>
user specified minimum size. ie. it is the minimum size the window<br>
should currently be drawn at, not the minimal size it can possibly<br>
tolerate.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetAutoLayout"><strong>GetAutoLayout</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetAutoLayout">GetAutoLayout</a>(self) -> bool<br>
<br>
Returns the current autoLayout setting</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetBackgroundColour"><strong>GetBackgroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetBackgroundColour">GetBackgroundColour</a>(self) -> Colour<br>
<br>
Returns the background colour of the window.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetBackgroundStyle"><strong>GetBackgroundStyle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetBackgroundStyle">GetBackgroundStyle</a>(self) -> int<br>
<br>
Returns the background style of the window.<br>
<br>
:see: `SetBackgroundStyle`</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetBestFittingSize"><strong>GetBestFittingSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetBestFittingSize">GetBestFittingSize</a>(self) -> Size<br>
<br>
This function will merge the window's best size into the window's<br>
minimum size, giving priority to the min size components, and returns<br>
the results.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetBestSize"><strong>GetBestSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetBestSize">GetBestSize</a>(self) -> Size<br>
<br>
This function returns the best acceptable minimal size for the<br>
window, if applicable. For example, for a static text control, it will<br>
be the minimal size such that the control label is not truncated. For<br>
windows containing subwindows (suzh aswx.Panel), the size returned by<br>
this function will be the same as the size the window would have had<br>
after calling Fit.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetBestSizeTuple"><strong>GetBestSizeTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetBestSizeTuple">GetBestSizeTuple</a>() -> (width, height)<br>
<br>
This function returns the best acceptable minimal size for the<br>
window, if applicable. For example, for a static text control, it will<br>
be the minimal size such that the control label is not truncated. For<br>
windows containing subwindows (suzh aswx.Panel), the size returned by<br>
this function will be the same as the size the window would have had<br>
after calling Fit.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetBestVirtualSize"><strong>GetBestVirtualSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetBestVirtualSize">GetBestVirtualSize</a>(self) -> Size<br>
<br>
Return the largest of ClientSize and BestSize (as determined by a<br>
sizer, interior children, or other means)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetBorder"><strong>GetBorder</strong></a>(*args)</dt><dd><tt><a href="#FigureFrameWxAgg-GetBorder">GetBorder</a>(self, long flags) -> int<br>
<a href="#FigureFrameWxAgg-GetBorder">GetBorder</a>(self) -> int<br>
<br>
Get border for the flags of this window</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetCaret"><strong>GetCaret</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetCaret">GetCaret</a>(self) -> Caret<br>
<br>
Returns the caret associated with the window.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetCharHeight"><strong>GetCharHeight</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetCharHeight">GetCharHeight</a>(self) -> int<br>
<br>
Get the (average) character size for the current font.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetCharWidth"><strong>GetCharWidth</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetCharWidth">GetCharWidth</a>(self) -> int<br>
<br>
Get the (average) character size for the current font.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetChildren"><strong>GetChildren</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetChildren">GetChildren</a>(self) -> PyObject<br>
<br>
Returns a list of the window's children. NOTE: Currently this is a<br>
copy of the child window list maintained by the window, so the return<br>
value of this function is only valid as long as the window's children<br>
do not change.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetClientRect"><strong>GetClientRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetClientRect">GetClientRect</a>(self) -> Rect<br>
<br>
Get the client area position and size as a `wx.Rect` object.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetClientSize"><strong>GetClientSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetClientSize">GetClientSize</a>(self) -> Size<br>
<br>
This gets the size of the window's 'client area' in pixels. The client<br>
area is the area which may be drawn on by the programmer, excluding<br>
title bar, border, scrollbars, etc.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetClientSizeTuple"><strong>GetClientSizeTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetClientSizeTuple">GetClientSizeTuple</a>() -> (width, height)<br>
<br>
This gets the size of the window's 'client area' in pixels. The client<br>
area is the area which may be drawn on by the programmer, excluding<br>
title bar, border, scrollbars, etc.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetConstraints"><strong>GetConstraints</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetConstraints">GetConstraints</a>(self) -> LayoutConstraints<br>
<br>
Returns a pointer to the window's layout constraints, or None if there<br>
are none.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetContainingSizer"><strong>GetContainingSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetContainingSizer">GetContainingSizer</a>(self) -> Sizer<br>
<br>
Return the sizer that this window is a member of, if any, otherwise None.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetCursor"><strong>GetCursor</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetCursor">GetCursor</a>(self) -> Cursor<br>
<br>
Return the cursor associated with this window.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetDefaultAttributes"><strong>GetDefaultAttributes</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetDefaultAttributes">GetDefaultAttributes</a>(self) -> VisualAttributes<br>
<br>
Get the default attributes for an instance of this class. This is<br>
useful if you want to use the same font or colour in your own control<br>
as in a standard control -- which is a much better idea than hard<br>
coding specific colours or fonts which might look completely out of<br>
place on the user's system, especially if it uses themes.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetDefaultItem"><strong>GetDefaultItem</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetDefaultItem">GetDefaultItem</a>(self) -> Window<br>
<br>
Get the default child of this parent, i.e. the one which is activated<br>
by pressing <Enter> such as the OK button on a wx.Dialog.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetDropTarget"><strong>GetDropTarget</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetDropTarget">GetDropTarget</a>(self) -> DropTarget<br>
<br>
Returns the associated drop target, which may be None.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetEventHandler"><strong>GetEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetEventHandler">GetEventHandler</a>(self) -> EvtHandler<br>
<br>
Returns the event handler for this window. By default, the window is<br>
its own event handler.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetExtraStyle"><strong>GetExtraStyle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetExtraStyle">GetExtraStyle</a>(self) -> long<br>
<br>
Returns the extra style bits for the window.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetFont"><strong>GetFont</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetFont">GetFont</a>(self) -> Font<br>
<br>
Returns the default font used for this window.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetForegroundColour"><strong>GetForegroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetForegroundColour">GetForegroundColour</a>(self) -> Colour<br>
<br>
Returns the foreground colour of the window. The interpretation of<br>
foreground colour is dependent on the window class; it may be the text<br>
colour or other colour, or it may not be used at all.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetFullTextExtent"><strong>GetFullTextExtent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetFullTextExtent">GetFullTextExtent</a>(String string, Font font=None) -><br>
(width, height, descent, externalLeading)<br>
<br>
Get the width, height, decent and leading of the text using the<br>
current or specified font.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetGrandParent"><strong>GetGrandParent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetGrandParent">GetGrandParent</a>(self) -> Window<br>
<br>
Returns the parent of the parent of this window, or None if there<br>
isn't one.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetHandle"><strong>GetHandle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetHandle">GetHandle</a>(self) -> long<br>
<br>
Returns the platform-specific handle (as a long integer) of the<br>
physical window. Currently on wxMac it returns the handle of the<br>
toplevel parent of the window.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetHelpText"><strong>GetHelpText</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetHelpText">GetHelpText</a>(self) -> String<br>
<br>
Gets the help text to be used as context-sensitive help for this<br>
window. Note that the text is actually stored by the current<br>
wxHelpProvider implementation, and not in the window object itself.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetId"><strong>GetId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetId">GetId</a>(self) -> int<br>
<br>
Returns the identifier of the window. Each window has an integer<br>
identifier. If the application has not provided one (or the default Id<br>
-1 is used) then an unique identifier with a negative value will be<br>
generated.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetLabel"><strong>GetLabel</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetLabel">GetLabel</a>(self) -> String<br>
<br>
Generic way of getting a label from any window, for identification<br>
purposes. The interpretation of this function differs from class to<br>
class. For frames and dialogs, the value returned is the title. For<br>
buttons or static text controls, it is the button text. This function<br>
can be useful for meta-programs such as testing tools or special-needs<br>
access programs)which need to identify windows by name.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetMaxHeight"><strong>GetMaxHeight</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetMaxHeight">GetMaxHeight</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetMaxSize"><strong>GetMaxSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetMaxSize">GetMaxSize</a>(self) -> Size</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetMaxWidth"><strong>GetMaxWidth</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetMaxWidth">GetMaxWidth</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetMinHeight"><strong>GetMinHeight</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetMinHeight">GetMinHeight</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetMinSize"><strong>GetMinSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetMinSize">GetMinSize</a>(self) -> Size</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetMinWidth"><strong>GetMinWidth</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetMinWidth">GetMinWidth</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetName"><strong>GetName</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetName">GetName</a>(self) -> String<br>
<br>
Returns the windows name. This name is not guaranteed to be unique;<br>
it is up to the programmer to supply an appropriate name in the window<br>
constructor or via wx.Window.SetName.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetParent"><strong>GetParent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetParent">GetParent</a>(self) -> Window<br>
<br>
Returns the parent window of this window, or None if there isn't one.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetPosition"><strong>GetPosition</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetPosition">GetPosition</a>(self) -> Point<br>
<br>
Get the window's position.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetPositionTuple"><strong>GetPositionTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetPositionTuple">GetPositionTuple</a>() -> (x,y)<br>
<br>
Get the window's position.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetRect"><strong>GetRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetRect">GetRect</a>(self) -> Rect<br>
<br>
Returns the size and position of the window as a wx.Rect object.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetScrollPos"><strong>GetScrollPos</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetScrollPos">GetScrollPos</a>(self, int orientation) -> int<br>
<br>
Returns the built-in scrollbar position.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetScrollRange"><strong>GetScrollRange</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetScrollRange">GetScrollRange</a>(self, int orientation) -> int<br>
<br>
Returns the built-in scrollbar range.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetScrollThumb"><strong>GetScrollThumb</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetScrollThumb">GetScrollThumb</a>(self, int orientation) -> int<br>
<br>
Returns the built-in scrollbar thumb size.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetSize"><strong>GetSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetSize">GetSize</a>(self) -> Size<br>
<br>
Get the window size.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetSizeTuple"><strong>GetSizeTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetSizeTuple">GetSizeTuple</a>() -> (width, height)<br>
<br>
Get the window size.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetSizer"><strong>GetSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetSizer">GetSizer</a>(self) -> Sizer<br>
<br>
Return the sizer associated with the window by a previous call to<br>
SetSizer or None if there isn't one.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetTextExtent"><strong>GetTextExtent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetTextExtent">GetTextExtent</a>(String string) -> (width, height)<br>
<br>
Get the width and height of the text using the current font.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetThemeEnabled"><strong>GetThemeEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetThemeEnabled">GetThemeEnabled</a>(self) -> bool<br>
<br>
Return the themeEnabled flag.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetToolTip"><strong>GetToolTip</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetToolTip">GetToolTip</a>(self) -> ToolTip<br>
<br>
get the associated tooltip or None if none</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetUpdateClientRect"><strong>GetUpdateClientRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetUpdateClientRect">GetUpdateClientRect</a>(self) -> Rect<br>
<br>
Get the update rectangle region bounding box in client coords.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetUpdateRegion"><strong>GetUpdateRegion</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetUpdateRegion">GetUpdateRegion</a>(self) -> Region<br>
<br>
Returns the region specifying which parts of the window have been<br>
damaged. Should only be called within an EVT_PAINT handler.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetValidator"><strong>GetValidator</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetValidator">GetValidator</a>(self) -> Validator<br>
<br>
Returns a pointer to the current validator for the window, or None if<br>
there is none.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetVirtualSize"><strong>GetVirtualSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetVirtualSize">GetVirtualSize</a>(self) -> Size<br>
<br>
Get the the virtual size of the window in pixels. For most windows<br>
this is just the client area of the window, but for some like scrolled<br>
windows it is more or less independent of the screen window size.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetVirtualSizeTuple"><strong>GetVirtualSizeTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetVirtualSizeTuple">GetVirtualSizeTuple</a>() -> (width, height)<br>
<br>
Get the the virtual size of the window in pixels. For most windows<br>
this is just the client area of the window, but for some like scrolled<br>
windows it is more or less independent of the screen window size.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetWindowStyle"><strong>GetWindowStyle</strong></a> = GetWindowStyleFlag(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetWindowStyleFlag">GetWindowStyleFlag</a>(self) -> long<br>
<br>
Gets the window style that was passed to the constructor or Create<br>
method.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetWindowStyleFlag"><strong>GetWindowStyleFlag</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetWindowStyleFlag">GetWindowStyleFlag</a>(self) -> long<br>
<br>
Gets the window style that was passed to the constructor or Create<br>
method.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetWindowVariant"><strong>GetWindowVariant</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetWindowVariant">GetWindowVariant</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-HasCapture"><strong>HasCapture</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-HasCapture">HasCapture</a>(self) -> bool<br>
<br>
Returns true if this window has the current mouse capture.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-HasFlag"><strong>HasFlag</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-HasFlag">HasFlag</a>(self, int flag) -> bool<br>
<br>
Test if the given style is set for this window.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-HasScrollbar"><strong>HasScrollbar</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-HasScrollbar">HasScrollbar</a>(self, int orient) -> bool<br>
<br>
Does the window have the scrollbar for this orientation?</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-HasTransparentBackground"><strong>HasTransparentBackground</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-HasTransparentBackground">HasTransparentBackground</a>(self) -> bool<br>
<br>
Returns True if this window's background is transparent (as, for<br>
example, for `wx.StaticText`) and should show the parent window's<br>
background.<br>
<br>
This method is mostly used internally by the library itself and you<br>
normally shouldn't have to call it. You may, however, have to override<br>
it in your custom control classes to ensure that background is painted<br>
correctly.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Hide"><strong>Hide</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Hide">Hide</a>(self) -> bool<br>
<br>
Equivalent to calling <a href="#FigureFrameWxAgg-Show">Show</a>(False).</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-HitTest"><strong>HitTest</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-HitTest">HitTest</a>(self, Point pt) -> int<br>
<br>
Test where the given (in client coords) point lies</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-HitTestXY"><strong>HitTestXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-HitTestXY">HitTestXY</a>(self, int x, int y) -> int<br>
<br>
Test where the given (in client coords) point lies</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-InheritAttributes"><strong>InheritAttributes</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-InheritAttributes">InheritAttributes</a>(self)<br>
<br>
This function is (or should be, in case of custom controls) called<br>
during window creation to intelligently set up the window visual<br>
attributes, that is the font and the foreground and background<br>
colours.<br>
<br>
By 'intelligently' the following is meant: by default, all windows use<br>
their own default attributes. However if some of the parent's<br>
attributes are explicitly changed (that is, using SetFont and not<br>
SetOwnFont) and if the corresponding attribute hadn't been<br>
explicitly set for this window itself, then this window takes the same<br>
value as used by the parent. In addition, if the window overrides<br>
ShouldInheritColours to return false, the colours will not be changed<br>
no matter what and only the font might.<br>
<br>
This rather complicated logic is necessary in order to accommodate the<br>
different usage scenarios. The most common one is when all default<br>
attributes are used and in this case, nothing should be inherited as<br>
in modern GUIs different controls use different fonts (and colours)<br>
than their siblings so they can't inherit the same value from the<br>
parent. However it was also deemed desirable to allow to simply change<br>
the attributes of all children at once by just changing the font or<br>
colour of their common parent, hence in this case we do inherit the<br>
parents attributes.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-InheritsBackgroundColour"><strong>InheritsBackgroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-InheritsBackgroundColour">InheritsBackgroundColour</a>(self) -> bool</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-InitDialog"><strong>InitDialog</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-InitDialog">InitDialog</a>(self)<br>
<br>
Sends an EVT_INIT_DIALOG event, whose handler usually transfers data<br>
to the dialog via validators.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-InvalidateBestSize"><strong>InvalidateBestSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-InvalidateBestSize">InvalidateBestSize</a>(self)<br>
<br>
Reset the cached best size value so it will be recalculated the next<br>
time it is needed.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-IsBeingDeleted"><strong>IsBeingDeleted</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-IsBeingDeleted">IsBeingDeleted</a>(self) -> bool<br>
<br>
Is the window in the process of being deleted?</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-IsEnabled"><strong>IsEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-IsEnabled">IsEnabled</a>(self) -> bool<br>
<br>
Returns true if the window is enabled for input, false otherwise.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-IsExposed"><strong>IsExposed</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-IsExposed">IsExposed</a>(self, int x, int y, int w=1, int h=1) -> bool<br>
<br>
Returns true if the given point or rectangle area has been exposed<br>
since the last repaint. Call this in an paint event handler to<br>
optimize redrawing by only redrawing those areas, which have been<br>
exposed.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-IsExposedPoint"><strong>IsExposedPoint</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-IsExposedPoint">IsExposedPoint</a>(self, Point pt) -> bool<br>
<br>
Returns true if the given point or rectangle area has been exposed<br>
since the last repaint. Call this in an paint event handler to<br>
optimize redrawing by only redrawing those areas, which have been<br>
exposed.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-IsExposedRect"><strong>IsExposedRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-IsExposedRect">IsExposedRect</a>(self, Rect rect) -> bool<br>
<br>
Returns true if the given point or rectangle area has been exposed<br>
since the last repaint. Call this in an paint event handler to<br>
optimize redrawing by only redrawing those areas, which have been<br>
exposed.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-IsRetained"><strong>IsRetained</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-IsRetained">IsRetained</a>(self) -> bool<br>
<br>
Returns true if the window is retained, false otherwise. Retained<br>
windows are only available on X platforms.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-IsShown"><strong>IsShown</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-IsShown">IsShown</a>(self) -> bool<br>
<br>
Returns true if the window is shown, false if it has been hidden.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-IsTopLevel"><strong>IsTopLevel</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-IsTopLevel">IsTopLevel</a>(self) -> bool<br>
<br>
Returns true if the given window is a top-level one. Currently all<br>
frames and dialogs are always considered to be top-level windows (even<br>
if they have a parent window).</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Layout"><strong>Layout</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Layout">Layout</a>(self) -> bool<br>
<br>
Invokes the constraint-based layout algorithm or the sizer-based<br>
algorithm for this window. See SetAutoLayout: when auto layout is on,<br>
this function gets called automatically by the default EVT_SIZE<br>
handler when the window is resized.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-LineDown"><strong>LineDown</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-LineDown">LineDown</a>(self) -> bool<br>
<br>
This is just a wrapper for <a href="#FigureFrameWxAgg-ScrollLines">ScrollLines</a>(1).</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-LineUp"><strong>LineUp</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-LineUp">LineUp</a>(self) -> bool<br>
<br>
This is just a wrapper for <a href="#FigureFrameWxAgg-ScrollLines">ScrollLines</a>(-1).</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Lower"><strong>Lower</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Lower">Lower</a>(self)<br>
<br>
Lowers the window to the bottom of the window hierarchy. In current<br>
version of wxWidgets this works both for manage and child windows.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-MakeModal"><strong>MakeModal</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-MakeModal">MakeModal</a>(self, bool modal=True)<br>
<br>
Disables all other windows in the application so that the user can<br>
only interact with this window. Passing False will reverse this<br>
effect.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Move"><strong>Move</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Move">Move</a>(self, Point pt, int flags=SIZE_USE_EXISTING)<br>
<br>
Moves the window to the given position.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-MoveAfterInTabOrder"><strong>MoveAfterInTabOrder</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-MoveAfterInTabOrder">MoveAfterInTabOrder</a>(self, Window win)<br>
<br>
Moves this window in the tab navigation order after the specified<br>
sibling window. This means that when the user presses the TAB key on<br>
that other window, the focus switches to this window.<br>
<br>
The default tab order is the same as creation order. This function<br>
and `MoveBeforeInTabOrder` allow to change it after creating all the<br>
windows.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-MoveBeforeInTabOrder"><strong>MoveBeforeInTabOrder</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-MoveBeforeInTabOrder">MoveBeforeInTabOrder</a>(self, Window win)<br>
<br>
Same as `MoveAfterInTabOrder` except that it inserts this window just<br>
before win instead of putting it right after it.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-MoveXY"><strong>MoveXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-MoveXY">MoveXY</a>(self, int x, int y, int flags=SIZE_USE_EXISTING)<br>
<br>
Moves the window to the given position.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Navigate"><strong>Navigate</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Navigate">Navigate</a>(self, int flags=NavigationKeyEvent.IsForward) -> bool<br>
<br>
Does keyboard navigation from this window to another, by sending a<br>
`wx.NavigationKeyEvent`.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-PageDown"><strong>PageDown</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-PageDown">PageDown</a>(self) -> bool<br>
<br>
This is just a wrapper for <a href="#FigureFrameWxAgg-ScrollPages">ScrollPages</a>(1).</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-PageUp"><strong>PageUp</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-PageUp">PageUp</a>(self) -> bool<br>
<br>
This is just a wrapper for <a href="#FigureFrameWxAgg-ScrollPages">ScrollPages</a>(-1).</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-PopEventHandler"><strong>PopEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-PopEventHandler">PopEventHandler</a>(self, bool deleteHandler=False) -> EvtHandler<br>
<br>
Removes and returns the top-most event handler on the event handler<br>
stack. If deleteHandler is True then the wx.EvtHandler object will be<br>
destroyed after it is popped.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-PopupMenu"><strong>PopupMenu</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-PopupMenu">PopupMenu</a>(self, Menu menu, Point pos=DefaultPosition) -> bool<br>
<br>
Pops up the given menu at the specified coordinates, relative to this window,<br>
and returns control when the user has dismissed the menu. If a menu item is<br>
selected, the corresponding menu event is generated and will be processed as<br>
usual. If the default position is given then the current position of the<br>
mouse cursor will be used.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-PopupMenuXY"><strong>PopupMenuXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-PopupMenuXY">PopupMenuXY</a>(self, Menu menu, int x=-1, int y=-1) -> bool<br>
<br>
Pops up the given menu at the specified coordinates, relative to this window,<br>
and returns control when the user has dismissed the menu. If a menu item is<br>
selected, the corresponding menu event is generated and will be processed as<br>
usual. If the default position is given then the current position of the<br>
mouse cursor will be used.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-PostCreate"><strong>PostCreate</strong></a>(self, pre)</dt><dd><tt>Phase 3 of the 2-phase create <wink!><br>
Call this method after precreating the window with the 2-phase create method.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-PrepareDC"><strong>PrepareDC</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-PrepareDC">PrepareDC</a>(self, DC dc)<br>
<br>
Call this function to prepare the device context for drawing a<br>
scrolled image. It sets the device origin according to the current<br>
scroll position.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-PushEventHandler"><strong>PushEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-PushEventHandler">PushEventHandler</a>(self, EvtHandler handler)<br>
<br>
Pushes this event handler onto the event handler stack for the window.<br>
An event handler is an object that is capable of processing the events<br>
sent to a window. By default, the window is its own event handler, but<br>
an application may wish to substitute another, for example to allow<br>
central implementation of event-handling for a variety of different<br>
window classes.<br>
<br>
wx.Window.PushEventHandler allows an application to set up a chain of<br>
event handlers, where an event not handled by one event handler is<br>
handed to the next one in the chain. Use `wx.Window.PopEventHandler` to<br>
remove the event handler.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Raise"><strong>Raise</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Raise">Raise</a>(self)<br>
<br>
Raises the window to the top of the window hierarchy. In current<br>
version of wxWidgets this works both for manage and child windows.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Refresh"><strong>Refresh</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Refresh">Refresh</a>(self, bool eraseBackground=True, Rect rect=None)<br>
<br>
Mark the specified rectangle (or the whole window) as "dirty" so it<br>
will be repainted. Causes an EVT_PAINT event to be generated and sent<br>
to the window.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-RefreshRect"><strong>RefreshRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-RefreshRect">RefreshRect</a>(self, Rect rect, bool eraseBackground=True)<br>
<br>
Redraws the contents of the given rectangle: the area inside it will<br>
be repainted. This is the same as Refresh but has a nicer syntax.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-RegisterHotKey"><strong>RegisterHotKey</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-RegisterHotKey">RegisterHotKey</a>(self, int hotkeyId, int modifiers, int keycode) -> bool<br>
<br>
Registers a system wide hotkey. Every time the user presses the hotkey<br>
registered here, this window will receive a hotkey event. It will<br>
receive the event even if the application is in the background and<br>
does not have the input focus because the user is working with some<br>
other application. To bind an event handler function to this hotkey<br>
use EVT_HOTKEY with an id equal to hotkeyId. Returns True if the<br>
hotkey was registered successfully.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ReleaseMouse"><strong>ReleaseMouse</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ReleaseMouse">ReleaseMouse</a>(self)<br>
<br>
Releases mouse input captured with wx.Window.CaptureMouse.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-RemoveChild"><strong>RemoveChild</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-RemoveChild">RemoveChild</a>(self, Window child)<br>
<br>
Removes a child window. This is called automatically by window<br>
deletion functions so should not be required by the application<br>
programmer.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-RemoveEventHandler"><strong>RemoveEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-RemoveEventHandler">RemoveEventHandler</a>(self, EvtHandler handler) -> bool<br>
<br>
Find the given handler in the event handler chain and remove (but not<br>
delete) it from the event handler chain, return True if it was found<br>
and False otherwise (this also results in an assert failure so this<br>
function should only be called when the handler is supposed to be<br>
there.)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Reparent"><strong>Reparent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Reparent">Reparent</a>(self, Window newParent) -> bool<br>
<br>
Reparents the window, i.e the window will be removed from its current<br>
parent window (e.g. a non-standard toolbar in a wxFrame) and then<br>
re-inserted into another. Available on Windows and GTK. Returns True<br>
if the parent was changed, False otherwise (error or newParent ==<br>
oldParent)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ScreenToClient"><strong>ScreenToClient</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ScreenToClient">ScreenToClient</a>(self, Point pt) -> Point<br>
<br>
Converts from screen to client window coordinates.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ScreenToClientXY"><strong>ScreenToClientXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ScreenToClientXY">ScreenToClientXY</a>(int x, int y) -> (x,y)<br>
<br>
Converts from screen to client window coordinates.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ScrollLines"><strong>ScrollLines</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ScrollLines">ScrollLines</a>(self, int lines) -> bool<br>
<br>
If the platform and window class supports it, scrolls the window by<br>
the given number of lines down, if lines is positive, or up if lines<br>
is negative. Returns True if the window was scrolled, False if it was<br>
already on top/bottom and nothing was done.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ScrollPages"><strong>ScrollPages</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ScrollPages">ScrollPages</a>(self, int pages) -> bool<br>
<br>
If the platform and window class supports it, scrolls the window by<br>
the given number of pages down, if pages is positive, or up if pages<br>
is negative. Returns True if the window was scrolled, False if it was<br>
already on top/bottom and nothing was done.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ScrollWindow"><strong>ScrollWindow</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ScrollWindow">ScrollWindow</a>(self, int dx, int dy, Rect rect=None)<br>
<br>
Physically scrolls the pixels in the window and move child windows<br>
accordingly. Use this function to optimise your scrolling<br>
implementations, to minimise the area that must be redrawn. Note that<br>
it is rarely required to call this function from a user program.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetAcceleratorTable"><strong>SetAcceleratorTable</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetAcceleratorTable">SetAcceleratorTable</a>(self, AcceleratorTable accel)<br>
<br>
Sets the accelerator table for this window.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetAutoLayout"><strong>SetAutoLayout</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetAutoLayout">SetAutoLayout</a>(self, bool autoLayout)<br>
<br>
Determines whether the Layout function will be called automatically<br>
when the window is resized. It is called implicitly by SetSizer but<br>
if you use SetConstraints you should call it manually or otherwise the<br>
window layout won't be correctly updated when its size changes.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetBackgroundColour"><strong>SetBackgroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetBackgroundColour">SetBackgroundColour</a>(self, Colour colour) -> bool<br>
<br>
Sets the background colour of the window. Returns True if the colour<br>
was changed. The background colour is usually painted by the default<br>
EVT_ERASE_BACKGROUND event handler function under Windows and<br>
automatically under GTK. Using `wx.NullColour` will reset the window<br>
to the default background colour.<br>
<br>
Note that setting the background colour may not cause an immediate<br>
refresh, so you may wish to call `ClearBackground` or `Refresh` after<br>
calling this function.<br>
<br>
Using this function will disable attempts to use themes for this<br>
window, if the system supports them. Use with care since usually the<br>
themes represent the appearance chosen by the user to be used for all<br>
applications on the system.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetBackgroundStyle"><strong>SetBackgroundStyle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetBackgroundStyle">SetBackgroundStyle</a>(self, int style) -> bool<br>
<br>
Returns the background style of the window. The background style<br>
indicates how the background of the window is drawn.<br>
<br>
====================== ========================================<br>
wx.BG_STYLE_SYSTEM The background colour or pattern should<br>
be determined by the system<br>
wx.BG_STYLE_COLOUR The background should be a solid colour<br>
wx.BG_STYLE_CUSTOM The background will be implemented by the<br>
application.<br>
====================== ========================================<br>
<br>
On GTK+, use of wx.BG_STYLE_CUSTOM allows the flicker-free drawing of<br>
a custom background, such as a tiled bitmap. Currently the style has<br>
no effect on other platforms.<br>
<br>
:see: `GetBackgroundStyle`, `SetBackgroundColour`</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetBestFittingSize"><strong>SetBestFittingSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetBestFittingSize">SetBestFittingSize</a>(self, Size size=DefaultSize)<br>
<br>
A 'Smart' SetSize that will fill in default size components with the<br>
window's *best size* values. Also set's the minsize for use with sizers.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetCaret"><strong>SetCaret</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetCaret">SetCaret</a>(self, Caret caret)<br>
<br>
Sets the caret associated with the window.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetClientRect"><strong>SetClientRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetClientRect">SetClientRect</a>(self, Rect rect)<br>
<br>
This sets the size of the window client area in pixels. Using this<br>
function to size a window tends to be more device-independent than<br>
wx.Window.SetSize, since the application need not worry about what<br>
dimensions the border or title bar have when trying to fit the window<br>
around panel items, for example.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetClientSize"><strong>SetClientSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetClientSize">SetClientSize</a>(self, Size size)<br>
<br>
This sets the size of the window client area in pixels. Using this<br>
function to size a window tends to be more device-independent than<br>
wx.Window.SetSize, since the application need not worry about what<br>
dimensions the border or title bar have when trying to fit the window<br>
around panel items, for example.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetClientSizeWH"><strong>SetClientSizeWH</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetClientSizeWH">SetClientSizeWH</a>(self, int width, int height)<br>
<br>
This sets the size of the window client area in pixels. Using this<br>
function to size a window tends to be more device-independent than<br>
wx.Window.SetSize, since the application need not worry about what<br>
dimensions the border or title bar have when trying to fit the window<br>
around panel items, for example.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetConstraints"><strong>SetConstraints</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetConstraints">SetConstraints</a>(self, LayoutConstraints constraints)<br>
<br>
Sets the window to have the given layout constraints. If an existing<br>
layout constraints object is already owned by the window, it will be<br>
deleted. Pass None to disassociate and delete the window's current<br>
constraints.<br>
<br>
You must call SetAutoLayout to tell a window to use the constraints<br>
automatically in its default EVT_SIZE handler; otherwise, you must<br>
handle EVT_SIZE yourself and call <a href="#FigureFrameWxAgg-Layout">Layout</a>() explicitly. When setting<br>
both a wx.LayoutConstraints and a wx.Sizer, only the sizer will have<br>
effect.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetContainingSizer"><strong>SetContainingSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetContainingSizer">SetContainingSizer</a>(self, Sizer sizer)<br>
<br>
This normally does not need to be called by application code. It is<br>
called internally when a window is added to a sizer, and is used so<br>
the window can remove itself from the sizer when it is destroyed.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetCursor"><strong>SetCursor</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetCursor">SetCursor</a>(self, Cursor cursor) -> bool<br>
<br>
Sets the window's cursor. Notice that the window cursor also sets it<br>
for the children of the window implicitly.<br>
<br>
The cursor may be wx.NullCursor in which case the window cursor will<br>
be reset back to default.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetDefaultItem"><strong>SetDefaultItem</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetDefaultItem">SetDefaultItem</a>(self, Window child) -> Window<br>
<br>
Set this child as default, return the old default.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetDimensions"><strong>SetDimensions</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetDimensions">SetDimensions</a>(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)<br>
<br>
Sets the position and size of the window in pixels. The sizeFlags<br>
parameter indicates the interpretation of the other params if they are<br>
equal to -1.<br>
<br>
======================== ======================================<br>
wx.SIZE_AUTO A -1 indicates that a class-specific<br>
default should be used.<br>
wx.SIZE_USE_EXISTING Axisting dimensions should be used if<br>
-1 values are supplied.<br>
wxSIZE_ALLOW_MINUS_ONE Allow dimensions of -1 and less to be<br>
interpreted as real dimensions, not<br>
default values.<br>
======================== ======================================</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetDropTarget"><strong>SetDropTarget</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetDropTarget">SetDropTarget</a>(self, DropTarget dropTarget)<br>
<br>
Associates a drop target with this window. If the window already has<br>
a drop target, it is deleted.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetEventHandler"><strong>SetEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetEventHandler">SetEventHandler</a>(self, EvtHandler handler)<br>
<br>
Sets the event handler for this window. An event handler is an object<br>
that is capable of processing the events sent to a window. By default,<br>
the window is its own event handler, but an application may wish to<br>
substitute another, for example to allow central implementation of<br>
event-handling for a variety of different window classes.<br>
<br>
It is usually better to use `wx.Window.PushEventHandler` since this sets<br>
up a chain of event handlers, where an event not handled by one event<br>
handler is handed to the next one in the chain.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetExtraStyle"><strong>SetExtraStyle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetExtraStyle">SetExtraStyle</a>(self, long exStyle)<br>
<br>
Sets the extra style bits for the window. Extra styles are the less<br>
often used style bits which can't be set with the constructor or with<br>
<a href="#FigureFrameWxAgg-SetWindowStyleFlag">SetWindowStyleFlag</a>()</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetFocus"><strong>SetFocus</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetFocus">SetFocus</a>(self)<br>
<br>
Set's the focus to this window, allowing it to receive keyboard input.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetFocusFromKbd"><strong>SetFocusFromKbd</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetFocusFromKbd">SetFocusFromKbd</a>(self)<br>
<br>
Set focus to this window as the result of a keyboard action. Normally<br>
only called internally.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetFont"><strong>SetFont</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetFont">SetFont</a>(self, Font font) -> bool<br>
<br>
Sets the font for this window.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetForegroundColour"><strong>SetForegroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetForegroundColour">SetForegroundColour</a>(self, Colour colour) -> bool<br>
<br>
Sets the foreground colour of the window. Returns True is the colour<br>
was changed. The interpretation of foreground colour is dependent on<br>
the window class; it may be the text colour or other colour, or it may<br>
not be used at all.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetHelpText"><strong>SetHelpText</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetHelpText">SetHelpText</a>(self, String text)<br>
<br>
Sets the help text to be used as context-sensitive help for this<br>
window. Note that the text is actually stored by the current<br>
wxHelpProvider implementation, and not in the window object itself.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetHelpTextForId"><strong>SetHelpTextForId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetHelpTextForId">SetHelpTextForId</a>(self, String text)<br>
<br>
Associate this help text with all windows with the same id as this<br>
one.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetId"><strong>SetId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetId">SetId</a>(self, int winid)<br>
<br>
Sets the identifier of the window. Each window has an integer<br>
identifier. If the application has not provided one, an identifier<br>
will be generated. Normally, the identifier should be provided on<br>
creation and should not be modified subsequently.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetLabel"><strong>SetLabel</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetLabel">SetLabel</a>(self, String label)<br>
<br>
Set the text which the window shows in its label if applicable.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetMaxSize"><strong>SetMaxSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetMaxSize">SetMaxSize</a>(self, Size maxSize)<br>
<br>
A more convenient method than `SetSizeHints` for setting just the<br>
max size.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetMinSize"><strong>SetMinSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetMinSize">SetMinSize</a>(self, Size minSize)<br>
<br>
A more convenient method than `SetSizeHints` for setting just the<br>
min size.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetName"><strong>SetName</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetName">SetName</a>(self, String name)<br>
<br>
Sets the window's name. The window name is used for ressource setting<br>
in X, it is not the same as the window title/label</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetOwnBackgroundColour"><strong>SetOwnBackgroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetOwnBackgroundColour">SetOwnBackgroundColour</a>(self, Colour colour)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetOwnFont"><strong>SetOwnFont</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetOwnFont">SetOwnFont</a>(self, Font font)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetOwnForegroundColour"><strong>SetOwnForegroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetOwnForegroundColour">SetOwnForegroundColour</a>(self, Colour colour)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetPosition"><strong>SetPosition</strong></a> = Move(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Move">Move</a>(self, Point pt, int flags=SIZE_USE_EXISTING)<br>
<br>
Moves the window to the given position.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetRect"><strong>SetRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetRect">SetRect</a>(self, Rect rect, int sizeFlags=SIZE_AUTO)<br>
<br>
Sets the position and size of the window in pixels using a wx.Rect.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetScrollPos"><strong>SetScrollPos</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetScrollPos">SetScrollPos</a>(self, int orientation, int pos, bool refresh=True)<br>
<br>
Sets the position of one of the built-in scrollbars.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetScrollbar"><strong>SetScrollbar</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetScrollbar">SetScrollbar</a>(self, int orientation, int position, int thumbSize, int range, <br>
bool refresh=True)<br>
<br>
Sets the scrollbar properties of a built-in scrollbar.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetSize"><strong>SetSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetSize">SetSize</a>(self, Size size)<br>
<br>
Sets the size of the window in pixels.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetSizeHints"><strong>SetSizeHints</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetSizeHints">SetSizeHints</a>(self, int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, <br>
int incH=-1)<br>
<br>
Allows specification of minimum and maximum window sizes, and window<br>
size increments. If a pair of values is not set (or set to -1), the<br>
default values will be used. If this function is called, the user<br>
will not be able to size the window outside the given bounds (if it is<br>
a top-level window.) Sizers will also inspect the minimum window size<br>
and will use that value if set when calculating layout.<br>
<br>
The resizing increments are only significant under Motif or Xt.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetSizeHintsSz"><strong>SetSizeHintsSz</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetSizeHintsSz">SetSizeHintsSz</a>(self, Size minSize, Size maxSize=DefaultSize, Size incSize=DefaultSize)<br>
<br>
Allows specification of minimum and maximum window sizes, and window<br>
size increments. If a pair of values is not set (or set to -1), the<br>
default values will be used. If this function is called, the user<br>
will not be able to size the window outside the given bounds (if it is<br>
a top-level window.) Sizers will also inspect the minimum window size<br>
and will use that value if set when calculating layout.<br>
<br>
The resizing increments are only significant under Motif or Xt.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetSizeWH"><strong>SetSizeWH</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetSizeWH">SetSizeWH</a>(self, int width, int height)<br>
<br>
Sets the size of the window in pixels.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetSizer"><strong>SetSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetSizer">SetSizer</a>(self, Sizer sizer, bool deleteOld=True)<br>
<br>
Sets the window to have the given layout sizer. The window will then<br>
own the object, and will take care of its deletion. If an existing<br>
layout sizer object is already owned by the window, it will be deleted<br>
if the deleteOld parameter is true. Note that this function will also<br>
call SetAutoLayout implicitly with a True parameter if the sizer is<br>
non-None, and False otherwise.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetSizerAndFit"><strong>SetSizerAndFit</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetSizerAndFit">SetSizerAndFit</a>(self, Sizer sizer, bool deleteOld=True)<br>
<br>
The same as SetSizer, except it also sets the size hints for the<br>
window based on the sizer's minimum size.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetThemeEnabled"><strong>SetThemeEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetThemeEnabled">SetThemeEnabled</a>(self, bool enableTheme)<br>
<br>
This function tells a window if it should use the system's "theme"<br>
code to draw the windows' background instead if its own background<br>
drawing code. This will only have an effect on platforms that support<br>
the notion of themes in user defined windows. One such platform is<br>
GTK+ where windows can have (very colourful) backgrounds defined by a<br>
user's selected theme.<br>
<br>
Dialogs, notebook pages and the status bar have this flag set to true<br>
by default so that the default look and feel is simulated best.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetTmpDefaultItem"><strong>SetTmpDefaultItem</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetTmpDefaultItem">SetTmpDefaultItem</a>(self, Window win)<br>
<br>
Set this child as temporary default</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetToolTip"><strong>SetToolTip</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetToolTip">SetToolTip</a>(self, ToolTip tip)<br>
<br>
Attach a tooltip to the window.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetToolTipString"><strong>SetToolTipString</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetToolTipString">SetToolTipString</a>(self, String tip)<br>
<br>
Attach a tooltip to the window.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetValidator"><strong>SetValidator</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetValidator">SetValidator</a>(self, Validator validator)<br>
<br>
Deletes the current validator (if any) and sets the window validator,<br>
having called wx.Validator.Clone to create a new validator of this<br>
type.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetVirtualSize"><strong>SetVirtualSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetVirtualSize">SetVirtualSize</a>(self, Size size)<br>
<br>
Set the the virtual size of a window in pixels. For most windows this<br>
is just the client area of the window, but for some like scrolled<br>
windows it is more or less independent of the screen window size.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetVirtualSizeHints"><strong>SetVirtualSizeHints</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetVirtualSizeHints">SetVirtualSizeHints</a>(self, int minW, int minH, int maxW=-1, int maxH=-1)<br>
<br>
Allows specification of minimum and maximum virtual window sizes. If a<br>
pair of values is not set (or set to -1), the default values will be<br>
used. If this function is called, the user will not be able to size<br>
the virtual area of the window outside the given bounds.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetVirtualSizeHintsSz"><strong>SetVirtualSizeHintsSz</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetVirtualSizeHintsSz">SetVirtualSizeHintsSz</a>(self, Size minSize, Size maxSize=DefaultSize)<br>
<br>
Allows specification of minimum and maximum virtual window sizes. If a<br>
pair of values is not set (or set to -1), the default values will be<br>
used. If this function is called, the user will not be able to size<br>
the virtual area of the window outside the given bounds.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetVirtualSizeWH"><strong>SetVirtualSizeWH</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetVirtualSizeWH">SetVirtualSizeWH</a>(self, int w, int h)<br>
<br>
Set the the virtual size of a window in pixels. For most windows this<br>
is just the client area of the window, but for some like scrolled<br>
windows it is more or less independent of the screen window size.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetWindowStyle"><strong>SetWindowStyle</strong></a> = SetWindowStyleFlag(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetWindowStyleFlag">SetWindowStyleFlag</a>(self, long style)<br>
<br>
Sets the style of the window. Please note that some styles cannot be<br>
changed after the window creation and that <a href="#FigureFrameWxAgg-Refresh">Refresh</a>() might need to be<br>
called after changing the others for the change to take place<br>
immediately.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetWindowStyleFlag"><strong>SetWindowStyleFlag</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetWindowStyleFlag">SetWindowStyleFlag</a>(self, long style)<br>
<br>
Sets the style of the window. Please note that some styles cannot be<br>
changed after the window creation and that <a href="#FigureFrameWxAgg-Refresh">Refresh</a>() might need to be<br>
called after changing the others for the change to take place<br>
immediately.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetWindowVariant"><strong>SetWindowVariant</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetWindowVariant">SetWindowVariant</a>(self, int variant)<br>
<br>
Sets the variant of the window/font size to use for this window, if<br>
the platform supports variants, for example, wxMac.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ShouldInheritColours"><strong>ShouldInheritColours</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ShouldInheritColours">ShouldInheritColours</a>(self) -> bool<br>
<br>
Return true from here to allow the colours of this window to be<br>
changed by InheritAttributes, returning false forbids inheriting them<br>
from the parent window.<br>
<br>
The base class version returns false, but this method is overridden in<br>
wxControl where it returns true.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Show"><strong>Show</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Show">Show</a>(self, bool show=True) -> bool<br>
<br>
Shows or hides the window. You may need to call Raise for a top level<br>
window if you want to bring it to top, although this is not needed if<br>
Show is called immediately after the frame creation. Returns True if<br>
the window has been shown or hidden or False if nothing was done<br>
because it already was in the requested state.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Thaw"><strong>Thaw</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Thaw">Thaw</a>(self)<br>
<br>
Reenables window updating after a previous call to Freeze. Calls to<br>
Freeze/Thaw may be nested, so Thaw must be called the same number of<br>
times that Freeze was before the window will be updated.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-TransferDataFromWindow"><strong>TransferDataFromWindow</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-TransferDataFromWindow">TransferDataFromWindow</a>(self) -> bool<br>
<br>
Transfers values from child controls to data areas specified by their<br>
validators. Returns false if a transfer failed. If the window has<br>
wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will<br>
also call <a href="#FigureFrameWxAgg-TransferDataFromWindow">TransferDataFromWindow</a>() of all child windows.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-TransferDataToWindow"><strong>TransferDataToWindow</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-TransferDataToWindow">TransferDataToWindow</a>(self) -> bool<br>
<br>
Transfers values to child controls from data areas specified by their<br>
validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra<br>
style flag set, the method will also call <a href="#FigureFrameWxAgg-TransferDataToWindow">TransferDataToWindow</a>() of<br>
all child windows.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-UnregisterHotKey"><strong>UnregisterHotKey</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-UnregisterHotKey">UnregisterHotKey</a>(self, int hotkeyId) -> bool<br>
<br>
Unregisters a system wide hotkey.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Update"><strong>Update</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Update">Update</a>(self)<br>
<br>
Calling this method immediately repaints the invalidated area of the<br>
window instead of waiting for the EVT_PAINT event to happen, (normally<br>
this would usually only happen when the flow of control returns to the<br>
event loop.) Notice that this function doesn't refresh the window and<br>
does nothing if the window has been already repainted. Use Refresh<br>
first if you want to immediately redraw the window (or some portion of<br>
it) unconditionally.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-UpdateWindowUI"><strong>UpdateWindowUI</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-UpdateWindowUI">UpdateWindowUI</a>(self, long flags=UPDATE_UI_NONE)<br>
<br>
This function sends EVT_UPDATE_UI events to the window. The particular<br>
implementation depends on the window; for example a wx.ToolBar will<br>
send an update UI event for each toolbar button, and a wx.Frame will<br>
send an update UI event for each menubar menu item. You can call this<br>
function from your application to ensure that your UI is up-to-date at<br>
a particular point in time (as far as your EVT_UPDATE_UI handlers are<br>
concerned). This may be necessary if you have called<br>
`wx.UpdateUIEvent.SetMode` or `wx.UpdateUIEvent.SetUpdateInterval` to<br>
limit the overhead that wxWindows incurs by sending update UI events<br>
in idle time.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-UseBgCol"><strong>UseBgCol</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-UseBgCol">UseBgCol</a>(self) -> bool</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Validate"><strong>Validate</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Validate">Validate</a>(self) -> bool<br>
<br>
Validates the current values of the child controls using their<br>
validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra<br>
style flag set, the method will also call <a href="#FigureFrameWxAgg-Validate">Validate</a>() of all child<br>
windows. Returns false if any of the validations failed.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-WarpPointer"><strong>WarpPointer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-WarpPointer">WarpPointer</a>(self, int x, int y)<br>
<br>
Moves the pointer to the given position on the window.<br>
<br>
NOTE: This function is not supported under Mac because Apple Human<br>
Interface Guidelines forbid moving the mouse cursor programmatically.</tt></dd></dl>
<hr>
Static methods inherited from <a href="wx._core.html#Window">wx._core.Window</a>:<br>
<dl><dt><a name="FigureFrameWxAgg-FindFocus"><strong>FindFocus</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-FindFocus">FindFocus</a>() -> Window<br>
<br>
Returns the window or control that currently has the keyboard focus,<br>
or None.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetCapture"><strong>GetCapture</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetCapture">GetCapture</a>() -> Window<br>
<br>
Returns the window which currently captures the mouse or None</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-NewControlId"><strong>NewControlId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-NewControlId">NewControlId</a>() -> int<br>
<br>
Generate a control id for the controls which were not given one.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-NextControlId"><strong>NextControlId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-NextControlId">NextControlId</a>(int winid) -> int<br>
<br>
Get the id of the control following the one with the given<br>
autogenerated) id</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-PrevControlId"><strong>PrevControlId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-PrevControlId">PrevControlId</a>(int winid) -> int<br>
<br>
Get the id of the control preceding the one with the given<br>
autogenerated) id</tt></dd></dl>
<hr>
Methods inherited from <a href="wx._core.html#EvtHandler">wx._core.EvtHandler</a>:<br>
<dl><dt><a name="FigureFrameWxAgg-AddPendingEvent"><strong>AddPendingEvent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-AddPendingEvent">AddPendingEvent</a>(self, Event event)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Bind"><strong>Bind</strong></a>(self, event, handler, source<font color="#909090">=None</font>, id<font color="#909090">=-1</font>, id2<font color="#909090">=-1</font>)</dt><dd><tt>Bind an event to an event handler.<br>
<br>
:param event: One of the EVT_* objects that specifies the<br>
type of event to bind,<br>
<br>
:param handler: A callable object to be invoked when the<br>
event is delivered to self. Pass None to<br>
disconnect an event handler.<br>
<br>
:param source: Sometimes the event originates from a<br>
different window than self, but you still<br>
want to catch it in self. (For example, a<br>
button event delivered to a frame.) By<br>
passing the source of the event, the event<br>
handling system is able to differentiate<br>
between the same event type from different<br>
controls.<br>
<br>
:param id: Used to spcify the event source by ID instead<br>
of instance.<br>
<br>
:param id2: Used when it is desirable to bind a handler<br>
to a range of IDs, such as with EVT_MENU_RANGE.</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Connect"><strong>Connect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Connect">Connect</a>(self, int id, int lastId, int eventType, PyObject func)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Disconnect"><strong>Disconnect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-Disconnect">Disconnect</a>(self, int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -> bool</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetEvtHandlerEnabled"><strong>GetEvtHandlerEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetEvtHandlerEnabled">GetEvtHandlerEnabled</a>(self) -> bool</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetNextHandler"><strong>GetNextHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetNextHandler">GetNextHandler</a>(self) -> EvtHandler</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-GetPreviousHandler"><strong>GetPreviousHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetPreviousHandler">GetPreviousHandler</a>(self) -> EvtHandler</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ProcessEvent"><strong>ProcessEvent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ProcessEvent">ProcessEvent</a>(self, Event event) -> bool</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-ProcessPendingEvents"><strong>ProcessPendingEvents</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-ProcessPendingEvents">ProcessPendingEvents</a>(self)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetEvtHandlerEnabled"><strong>SetEvtHandlerEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetEvtHandlerEnabled">SetEvtHandlerEnabled</a>(self, bool enabled)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetNextHandler"><strong>SetNextHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetNextHandler">SetNextHandler</a>(self, EvtHandler handler)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-SetPreviousHandler"><strong>SetPreviousHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-SetPreviousHandler">SetPreviousHandler</a>(self, EvtHandler handler)</tt></dd></dl>
<dl><dt><a name="FigureFrameWxAgg-Unbind"><strong>Unbind</strong></a>(self, event, source<font color="#909090">=None</font>, id<font color="#909090">=-1</font>, id2<font color="#909090">=-1</font>)</dt><dd><tt>Disconencts the event handler binding for event from self.<br>
Returns True if successful.</tt></dd></dl>
<hr>
Methods inherited from <a href="wx._core.html#Object">wx._core.Object</a>:<br>
<dl><dt><a name="FigureFrameWxAgg-GetClassName"><strong>GetClassName</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#FigureFrameWxAgg-GetClassName">GetClassName</a>(self) -> String<br>
<br>
Returns the class name of the C++ class using wxRTTI.</tt></dd></dl>
<hr>
Data descriptors inherited from <a href="wx._core.html#Object">wx._core.Object</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</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="NavigationToolbar2WxAgg">class <strong>NavigationToolbar2WxAgg</strong></a>(<a href="matplotlib.backends.backend_wx.html#NavigationToolbar2Wx">matplotlib.backends.backend_wx.NavigationToolbar2Wx</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_wxagg.html#NavigationToolbar2WxAgg">NavigationToolbar2WxAgg</a></dd>
<dd><a href="matplotlib.backends.backend_wx.html#NavigationToolbar2Wx">matplotlib.backends.backend_wx.NavigationToolbar2Wx</a></dd>
<dd><a href="matplotlib.backend_bases.html#NavigationToolbar2">matplotlib.backend_bases.NavigationToolbar2</a></dd>
<dd><a href="wx._controls.html#ToolBar">wx._controls.ToolBar</a></dd>
<dd><a href="wx._controls.html#ToolBarBase">wx._controls.ToolBarBase</a></dd>
<dd><a href="wx._core.html#Control">wx._core.Control</a></dd>
<dd><a href="wx._core.html#Window">wx._core.Window</a></dd>
<dd><a href="wx._core.html#EvtHandler">wx._core.EvtHandler</a></dd>
<dd><a href="wx._core.html#Object">wx._core.Object</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="NavigationToolbar2WxAgg-get_canvas"><strong>get_canvas</strong></a>(self, frame, fig)</dt></dl>
<hr>
Methods inherited from <a href="matplotlib.backends.backend_wx.html#NavigationToolbar2Wx">matplotlib.backends.backend_wx.NavigationToolbar2Wx</a>:<br>
<dl><dt><a name="NavigationToolbar2WxAgg-__init__"><strong>__init__</strong></a>(self, canvas)</dt></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-configure_subplot"><strong>configure_subplot</strong></a>(self, evt)</dt></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-draw_rubberband"><strong>draw_rubberband</strong></a>(self, event, x0, y0, x1, y1)</dt><dd><tt>adapted from <a href="http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/189744">http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/189744</a></tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-dynamic_update"><strong>dynamic_update</strong></a>(self)</dt></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-pan"><strong>pan</strong></a>(self, *args)</dt></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-release"><strong>release</strong></a>(self, event)</dt></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-save"><strong>save</strong></a>(self, evt)</dt></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-set_cursor"><strong>set_cursor</strong></a>(self, cursor)</dt></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-set_history_buttons"><strong>set_history_buttons</strong></a>(self)</dt></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-set_message"><strong>set_message</strong></a>(self, s)</dt></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-set_status_bar"><strong>set_status_bar</strong></a>(self, statbar)</dt></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-zoom"><strong>zoom</strong></a>(self, *args)</dt></dl>
<hr>
Methods inherited from <a href="matplotlib.backend_bases.html#NavigationToolbar2">matplotlib.backend_bases.NavigationToolbar2</a>:<br>
<dl><dt><a name="NavigationToolbar2WxAgg-back"><strong>back</strong></a>(self, *args)</dt><dd><tt>move back up the view lim stack</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-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="NavigationToolbar2WxAgg-draw"><strong>draw</strong></a>(self)</dt><dd><tt>redraw the canvases, update the locators</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-forward"><strong>forward</strong></a>(self, *args)</dt><dd><tt>move forward in the view lim stack</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-home"><strong>home</strong></a>(self, *args)</dt><dd><tt>restore the original view</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-mouse_move"><strong>mouse_move</strong></a>(self, event)</dt></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-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="NavigationToolbar2WxAgg-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="NavigationToolbar2WxAgg-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="NavigationToolbar2WxAgg-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="NavigationToolbar2WxAgg-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="NavigationToolbar2WxAgg-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="NavigationToolbar2WxAgg-save_figure"><strong>save_figure</strong></a>(self, *args)</dt><dd><tt>save the current figure</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-update"><strong>update</strong></a>(self)</dt><dd><tt>reset the axes stack</tt></dd></dl>
<hr>
Methods inherited from <a href="wx._controls.html#ToolBar">wx._controls.ToolBar</a>:<br>
<dl><dt><a name="NavigationToolbar2WxAgg-Create"><strong>Create</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Create">Create</a>(self, Window parent, int id=-1, Point pos=DefaultPosition, <br>
Size size=DefaultSize, long style=wxNO_BORDER|wxTB_HORIZONTAL, <br>
String name=wxPyToolBarNameStr) -> bool</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-FindToolForPosition"><strong>FindToolForPosition</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-FindToolForPosition">FindToolForPosition</a>(self, int x, int y) -> ToolBarToolBase</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<hr>
Static methods inherited from <a href="wx._controls.html#ToolBar">wx._controls.ToolBar</a>:<br>
<dl><dt><a name="NavigationToolbar2WxAgg-GetClassDefaultAttributes"><strong>GetClassDefaultAttributes</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetClassDefaultAttributes">GetClassDefaultAttributes</a>(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes<br>
<br>
Get the default attributes for this class. This is useful if you want<br>
to use the same font or colour in your own control as in a standard<br>
control -- which is a much better idea than hard coding specific<br>
colours or fonts which might look completely out of place on the<br>
user's system, especially if it uses themes.<br>
<br>
The variant parameter is only relevant under Mac currently and is<br>
ignore under other platforms. Under Mac, it will change the size of<br>
the returned font. See `wx.Window.SetWindowVariant` for more about<br>
this.</tt></dd></dl>
<hr>
Methods inherited from <a href="wx._controls.html#ToolBarBase">wx._controls.ToolBarBase</a>:<br>
<dl><dt><a name="NavigationToolbar2WxAgg-AddCheckLabelTool"><strong>AddCheckLabelTool</strong></a>(self, id, label, bitmap, bmpDisabled<font color="#909090">=wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.)</font>, shortHelp<font color="#909090">=''</font>, longHelp<font color="#909090">=''</font>, clientData<font color="#909090">=None</font>)</dt><dd><tt>Add a check tool, i.e. a tool which can be toggled</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-AddCheckTool"><strong>AddCheckTool</strong></a>(self, id, bitmap, bmpDisabled<font color="#909090">=wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.)</font>, shortHelp<font color="#909090">=''</font>, longHelp<font color="#909090">=''</font>, clientData<font color="#909090">=None</font>)</dt><dd><tt>Add a check tool, i.e. a tool which can be toggled</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-AddControl"><strong>AddControl</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-AddControl">AddControl</a>(self, Control control) -> ToolBarToolBase</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-AddLabelTool"><strong>AddLabelTool</strong></a>(self, id, label, bitmap, bmpDisabled<font color="#909090">=wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.)</font>, kind<font color="#909090">=0</font>, shortHelp<font color="#909090">=''</font>, longHelp<font color="#909090">=''</font>, clientData<font color="#909090">=None</font>)</dt><dd><tt>The full <a href="#NavigationToolbar2WxAgg-AddTool">AddTool</a>() function.<br>
<br>
If bmpDisabled is wx.NullBitmap, a shadowed version of the normal bitmap<br>
is created and used as the disabled image.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-AddRadioLabelTool"><strong>AddRadioLabelTool</strong></a>(self, id, label, bitmap, bmpDisabled<font color="#909090">=wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.)</font>, shortHelp<font color="#909090">=''</font>, longHelp<font color="#909090">=''</font>, clientData<font color="#909090">=None</font>)</dt><dd><tt>Add a radio tool, i.e. a tool which can be toggled and releases any<br>
other toggled radio tools in the same group when it happens</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-AddRadioTool"><strong>AddRadioTool</strong></a>(self, id, bitmap, bmpDisabled<font color="#909090">=wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.)</font>, shortHelp<font color="#909090">=''</font>, longHelp<font color="#909090">=''</font>, clientData<font color="#909090">=None</font>)</dt><dd><tt>Add a radio tool, i.e. a tool which can be toggled and releases any<br>
other toggled radio tools in the same group when it happens</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-AddSeparator"><strong>AddSeparator</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-AddSeparator">AddSeparator</a>(self) -> ToolBarToolBase</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-AddSimpleTool"><strong>AddSimpleTool</strong></a>(self, id, bitmap, shortHelpString<font color="#909090">=''</font>, longHelpString<font color="#909090">=''</font>, isToggle<font color="#909090">=0</font>)</dt><dd><tt>Old style method to add a tool to the toolbar.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-AddTool"><strong>AddTool</strong></a>(self, id, bitmap, pushedBitmap<font color="#909090">=wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.)</font>, isToggle<font color="#909090">=0</font>, clientData<font color="#909090">=None</font>, shortHelpString<font color="#909090">=''</font>, longHelpString<font color="#909090">=''</font>)</dt><dd><tt>Old style method to add a tool to the toolbar.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-AddToolItem"><strong>AddToolItem</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-AddToolItem">AddToolItem</a>(self, ToolBarToolBase tool) -> ToolBarToolBase</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ClearTools"><strong>ClearTools</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ClearTools">ClearTools</a>(self)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-DeleteTool"><strong>DeleteTool</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-DeleteTool">DeleteTool</a>(self, int id) -> bool</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-DeleteToolByPos"><strong>DeleteToolByPos</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-DeleteToolByPos">DeleteToolByPos</a>(self, size_t pos) -> bool</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-DoAddTool"><strong>DoAddTool</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-DoAddTool">DoAddTool</a>(self, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap, <br>
int kind=ITEM_NORMAL, String shortHelp=EmptyString, <br>
String longHelp=EmptyString, <br>
PyObject clientData=None) -> ToolBarToolBase</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-DoInsertTool"><strong>DoInsertTool</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-DoInsertTool">DoInsertTool</a>(self, size_t pos, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap, <br>
int kind=ITEM_NORMAL, <br>
String shortHelp=EmptyString, String longHelp=EmptyString, <br>
PyObject clientData=None) -> ToolBarToolBase</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-EnableTool"><strong>EnableTool</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-EnableTool">EnableTool</a>(self, int id, bool enable)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-FindById"><strong>FindById</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-FindById">FindById</a>(self, int toolid) -> ToolBarToolBase</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-FindControl"><strong>FindControl</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-FindControl">FindControl</a>(self, int id) -> Control</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetMargins"><strong>GetMargins</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetMargins">GetMargins</a>(self) -> Size</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetMaxCols"><strong>GetMaxCols</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetMaxCols">GetMaxCols</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetMaxRows"><strong>GetMaxRows</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetMaxRows">GetMaxRows</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetToolBitmapSize"><strong>GetToolBitmapSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetToolBitmapSize">GetToolBitmapSize</a>(self) -> Size</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetToolClientData"><strong>GetToolClientData</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetToolClientData">GetToolClientData</a>(self, int id) -> PyObject</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetToolEnabled"><strong>GetToolEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetToolEnabled">GetToolEnabled</a>(self, int id) -> bool</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetToolLongHelp"><strong>GetToolLongHelp</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetToolLongHelp">GetToolLongHelp</a>(self, int id) -> String</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetToolMargins"><strong>GetToolMargins</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetToolMargins">GetToolMargins</a>(self) -> Size</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetToolPacking"><strong>GetToolPacking</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetToolPacking">GetToolPacking</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetToolPos"><strong>GetToolPos</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetToolPos">GetToolPos</a>(self, int id) -> int</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetToolSeparation"><strong>GetToolSeparation</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetToolSeparation">GetToolSeparation</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetToolShortHelp"><strong>GetToolShortHelp</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetToolShortHelp">GetToolShortHelp</a>(self, int id) -> String</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetToolSize"><strong>GetToolSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetToolSize">GetToolSize</a>(self) -> Size</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetToolState"><strong>GetToolState</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetToolState">GetToolState</a>(self, int id) -> bool</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetToolsCount"><strong>GetToolsCount</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetToolsCount">GetToolsCount</a>(self) -> size_t</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-InsertControl"><strong>InsertControl</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-InsertControl">InsertControl</a>(self, size_t pos, Control control) -> ToolBarToolBase</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-InsertLabelTool"><strong>InsertLabelTool</strong></a>(self, pos, id, label, bitmap, bmpDisabled<font color="#909090">=wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.)</font>, kind<font color="#909090">=0</font>, shortHelp<font color="#909090">=''</font>, longHelp<font color="#909090">=''</font>, clientData<font color="#909090">=None</font>)</dt><dd><tt>Insert the new tool at the given position, if pos == <a href="#NavigationToolbar2WxAgg-GetToolsCount">GetToolsCount</a>(), it<br>
is equivalent to <a href="#NavigationToolbar2WxAgg-AddTool">AddTool</a>()</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-InsertSeparator"><strong>InsertSeparator</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-InsertSeparator">InsertSeparator</a>(self, size_t pos) -> ToolBarToolBase</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-InsertSimpleTool"><strong>InsertSimpleTool</strong></a>(self, pos, id, bitmap, shortHelpString<font color="#909090">=''</font>, longHelpString<font color="#909090">=''</font>, isToggle<font color="#909090">=0</font>)</dt><dd><tt>Old style method to insert a tool in the toolbar.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-InsertTool"><strong>InsertTool</strong></a>(self, pos, id, bitmap, pushedBitmap<font color="#909090">=wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.)</font>, isToggle<font color="#909090">=0</font>, clientData<font color="#909090">=None</font>, shortHelpString<font color="#909090">=''</font>, longHelpString<font color="#909090">=''</font>)</dt><dd><tt>Old style method to insert a tool in the toolbar.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-InsertToolItem"><strong>InsertToolItem</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-InsertToolItem">InsertToolItem</a>(self, size_t pos, ToolBarToolBase tool) -> ToolBarToolBase</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-IsVertical"><strong>IsVertical</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-IsVertical">IsVertical</a>(self) -> bool</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Realize"><strong>Realize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Realize">Realize</a>(self) -> bool</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-RemoveTool"><strong>RemoveTool</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-RemoveTool">RemoveTool</a>(self, int id) -> ToolBarToolBase</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetMargins"><strong>SetMargins</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetMargins">SetMargins</a>(self, Size size)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetMarginsXY"><strong>SetMarginsXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetMarginsXY">SetMarginsXY</a>(self, int x, int y)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetMaxRowsCols"><strong>SetMaxRowsCols</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetMaxRowsCols">SetMaxRowsCols</a>(self, int rows, int cols)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetRows"><strong>SetRows</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetRows">SetRows</a>(self, int nRows)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetToggle"><strong>SetToggle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetToggle">SetToggle</a>(self, int id, bool toggle)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetToolBitmapSize"><strong>SetToolBitmapSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetToolBitmapSize">SetToolBitmapSize</a>(self, Size size)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetToolClientData"><strong>SetToolClientData</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetToolClientData">SetToolClientData</a>(self, int id, PyObject clientData)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetToolLongHelp"><strong>SetToolLongHelp</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetToolLongHelp">SetToolLongHelp</a>(self, int id, String helpString)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetToolPacking"><strong>SetToolPacking</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetToolPacking">SetToolPacking</a>(self, int packing)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetToolSeparation"><strong>SetToolSeparation</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetToolSeparation">SetToolSeparation</a>(self, int separation)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetToolShortHelp"><strong>SetToolShortHelp</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetToolShortHelp">SetToolShortHelp</a>(self, int id, String helpString)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ToggleTool"><strong>ToggleTool</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ToggleTool">ToggleTool</a>(self, int id, bool toggle)</tt></dd></dl>
<hr>
Methods inherited from <a href="wx._core.html#Control">wx._core.Control</a>:<br>
<dl><dt><a name="NavigationToolbar2WxAgg-Command"><strong>Command</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Command">Command</a>(self, CommandEvent event)<br>
<br>
Simulates the effect of the user issuing a command to the item.<br>
<br>
:see: `wx.CommandEvent`</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetLabel"><strong>GetLabel</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetLabel">GetLabel</a>(self) -> String<br>
<br>
Return a control's text.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetLabel"><strong>SetLabel</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetLabel">SetLabel</a>(self, String label)<br>
<br>
Sets the item's text.</tt></dd></dl>
<hr>
Methods inherited from <a href="wx._core.html#Window">wx._core.Window</a>:<br>
<dl><dt><a name="NavigationToolbar2WxAgg-AcceptsFocus"><strong>AcceptsFocus</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-AcceptsFocus">AcceptsFocus</a>(self) -> bool<br>
<br>
Can this window have focus?</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-AcceptsFocusFromKeyboard"><strong>AcceptsFocusFromKeyboard</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-AcceptsFocusFromKeyboard">AcceptsFocusFromKeyboard</a>(self) -> bool<br>
<br>
Can this window be given focus by keyboard navigation? if not, the<br>
only way to give it focus (provided it accepts it at all) is to click<br>
it.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-AddChild"><strong>AddChild</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-AddChild">AddChild</a>(self, Window child)<br>
<br>
Adds a child window. This is called automatically by window creation<br>
functions so should not be required by the application programmer.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-AssociateHandle"><strong>AssociateHandle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-AssociateHandle">AssociateHandle</a>(self, long handle)<br>
<br>
Associate the window with a new native handle</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-CacheBestSize"><strong>CacheBestSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-CacheBestSize">CacheBestSize</a>(self, Size size)<br>
<br>
Cache the best size so it doesn't need to be calculated again, (at least until<br>
some properties of the window change.)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-CaptureMouse"><strong>CaptureMouse</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-CaptureMouse">CaptureMouse</a>(self)<br>
<br>
Directs all mouse input to this window. Call wx.Window.ReleaseMouse to<br>
release the capture.<br>
<br>
Note that wxWindows maintains the stack of windows having captured the<br>
mouse and when the mouse is released the capture returns to the window<br>
which had had captured it previously and it is only really released if<br>
there were no previous window. In particular, this means that you must<br>
release the mouse as many times as you capture it.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Center"><strong>Center</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Center">Center</a>(self, int direction=BOTH)<br>
<br>
Centers the window. The parameter specifies the direction for<br>
cetering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may<br>
also include wx.CENTER_ON_SCREEN flag if you want to center the window<br>
on the entire screen and not on its parent window. If it is a<br>
top-level window and has no parent then it will always be centered<br>
relative to the screen.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-CenterOnParent"><strong>CenterOnParent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-CenterOnParent">CenterOnParent</a>(self, int dir=BOTH)<br>
<br>
Center with respect to the the parent window</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-CenterOnScreen"><strong>CenterOnScreen</strong></a> = deprecatedWrapper(*args, **kwargs)</dt><dd><tt><function CenterOnScreen at 0x83b6e2c> is deprecated</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Centre"><strong>Centre</strong></a> = Center(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Center">Center</a>(self, int direction=BOTH)<br>
<br>
Centers the window. The parameter specifies the direction for<br>
cetering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may<br>
also include wx.CENTER_ON_SCREEN flag if you want to center the window<br>
on the entire screen and not on its parent window. If it is a<br>
top-level window and has no parent then it will always be centered<br>
relative to the screen.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-CentreOnParent"><strong>CentreOnParent</strong></a> = CenterOnParent(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-CenterOnParent">CenterOnParent</a>(self, int dir=BOTH)<br>
<br>
Center with respect to the the parent window</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-CentreOnScreen"><strong>CentreOnScreen</strong></a> = deprecatedWrapper(*args, **kwargs)</dt><dd><tt><function CenterOnScreen at 0x83b6e2c> is deprecated</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ClearBackground"><strong>ClearBackground</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ClearBackground">ClearBackground</a>(self)<br>
<br>
Clears the window by filling it with the current background<br>
colour. Does not cause an erase background event to be generated.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ClientToScreen"><strong>ClientToScreen</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ClientToScreen">ClientToScreen</a>(self, Point pt) -> Point<br>
<br>
Converts to screen coordinates from coordinates relative to this window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ClientToScreenXY"><strong>ClientToScreenXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ClientToScreenXY">ClientToScreenXY</a>(int x, int y) -> (x,y)<br>
<br>
Converts to screen coordinates from coordinates relative to this window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Close"><strong>Close</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Close">Close</a>(self, bool force=False) -> bool<br>
<br>
This function simply generates a EVT_CLOSE event whose handler usually<br>
tries to close the window. It doesn't close the window itself,<br>
however. If force is False (the default) then the window's close<br>
handler will be allowed to veto the destruction of the window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ConvertDialogPointToPixels"><strong>ConvertDialogPointToPixels</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ConvertDialogPointToPixels">ConvertDialogPointToPixels</a>(self, Point pt) -> Point<br>
<br>
Converts a point or size from dialog units to pixels. Dialog units<br>
are used for maintaining a dialog's proportions even if the font<br>
changes. For the x dimension, the dialog units are multiplied by the<br>
average character width and then divided by 4. For the y dimension,<br>
the dialog units are multiplied by the average character height and<br>
then divided by 8.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ConvertDialogSizeToPixels"><strong>ConvertDialogSizeToPixels</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ConvertDialogSizeToPixels">ConvertDialogSizeToPixels</a>(self, Size sz) -> Size<br>
<br>
Converts a point or size from dialog units to pixels. Dialog units<br>
are used for maintaining a dialog's proportions even if the font<br>
changes. For the x dimension, the dialog units are multiplied by the<br>
average character width and then divided by 4. For the y dimension,<br>
the dialog units are multiplied by the average character height and<br>
then divided by 8.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ConvertPixelPointToDialog"><strong>ConvertPixelPointToDialog</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ConvertPixelPointToDialog">ConvertPixelPointToDialog</a>(self, Point pt) -> Point</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ConvertPixelSizeToDialog"><strong>ConvertPixelSizeToDialog</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ConvertPixelSizeToDialog">ConvertPixelSizeToDialog</a>(self, Size sz) -> Size</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-DLG_PNT"><strong>DLG_PNT</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-DLG_PNT">DLG_PNT</a>(self, Point pt) -> Point<br>
<br>
Converts a point or size from dialog units to pixels. Dialog units<br>
are used for maintaining a dialog's proportions even if the font<br>
changes. For the x dimension, the dialog units are multiplied by the<br>
average character width and then divided by 4. For the y dimension,<br>
the dialog units are multiplied by the average character height and<br>
then divided by 8.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-DLG_SZE"><strong>DLG_SZE</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-DLG_SZE">DLG_SZE</a>(self, Size sz) -> Size<br>
<br>
Converts a point or size from dialog units to pixels. Dialog units<br>
are used for maintaining a dialog's proportions even if the font<br>
changes. For the x dimension, the dialog units are multiplied by the<br>
average character width and then divided by 4. For the y dimension,<br>
the dialog units are multiplied by the average character height and<br>
then divided by 8.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Destroy"><strong>Destroy</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Destroy">Destroy</a>(self) -> bool<br>
<br>
Destroys the window safely. Frames and dialogs are not destroyed<br>
immediately when this function is called -- they are added to a list<br>
of windows to be deleted on idle time, when all the window's events<br>
have been processed. This prevents problems with events being sent to<br>
non-existent windows.<br>
<br>
Returns True if the window has either been successfully deleted, or it<br>
has been added to the list of windows pending real deletion.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-DestroyChildren"><strong>DestroyChildren</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-DestroyChildren">DestroyChildren</a>(self) -> bool<br>
<br>
Destroys all children of a window. Called automatically by the<br>
destructor.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Disable"><strong>Disable</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Disable">Disable</a>(self) -> bool<br>
<br>
Disables the window, same as <a href="#NavigationToolbar2WxAgg-Enable">Enable</a>(false).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-DissociateHandle"><strong>DissociateHandle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-DissociateHandle">DissociateHandle</a>(self)<br>
<br>
Dissociate the current native handle from the window</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-DragAcceptFiles"><strong>DragAcceptFiles</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-DragAcceptFiles">DragAcceptFiles</a>(self, bool accept)<br>
<br>
Enables or disables eligibility for drop file events, EVT_DROP_FILES.<br>
Only functional on Windows.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Enable"><strong>Enable</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Enable">Enable</a>(self, bool enable=True) -> bool<br>
<br>
Enable or disable the window for user input. Note that when a parent<br>
window is disabled, all of its children are disabled as well and they<br>
are reenabled again when the parent is. Returns true if the window<br>
has been enabled or disabled, false if nothing was done, i.e. if the<br>
window had already been in the specified state.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-FindWindowById"><strong>FindWindowById</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-FindWindowById">FindWindowById</a>(self, long winid) -> Window<br>
<br>
Find a chld of this window by window ID</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-FindWindowByName"><strong>FindWindowByName</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-FindWindowByName">FindWindowByName</a>(self, String name) -> Window<br>
<br>
Find a child of this window by name</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Fit"><strong>Fit</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Fit">Fit</a>(self)<br>
<br>
Sizes the window so that it fits around its subwindows. This function<br>
won't do anything if there are no subwindows and will only really work<br>
correctly if sizers are used for the subwindows layout. Also, if the<br>
window has exactly one subwindow it is better (faster and the result<br>
is more precise as Fit adds some margin to account for fuzziness of<br>
its calculations) to call window.<a href="#NavigationToolbar2WxAgg-SetClientSize">SetClientSize</a>(child.<a href="#NavigationToolbar2WxAgg-GetSize">GetSize</a>())<br>
instead of calling Fit.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-FitInside"><strong>FitInside</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-FitInside">FitInside</a>(self)<br>
<br>
Similar to Fit, but sizes the interior (virtual) size of a<br>
window. Mainly useful with scrolled windows to reset scrollbars after<br>
sizing changes that do not trigger a size event, and/or scrolled<br>
windows without an interior sizer. This function similarly won't do<br>
anything if there are no subwindows.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Freeze"><strong>Freeze</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Freeze">Freeze</a>(self)<br>
<br>
Freezes the window or, in other words, prevents any updates from<br>
taking place on screen, the window is not redrawn at all. Thaw must be<br>
called to reenable window redrawing. Calls to Freeze/Thaw may be<br>
nested, with the actual Thaw being delayed until all the nesting has<br>
been undone.<br>
<br>
This method is useful for visual appearance optimization (for example,<br>
it is a good idea to use it before inserting large amount of text into<br>
a wxTextCtrl under wxGTK) but is not implemented on all platforms nor<br>
for all controls so it is mostly just a hint to wxWindows and not a<br>
mandatory directive.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetAcceleratorTable"><strong>GetAcceleratorTable</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetAcceleratorTable">GetAcceleratorTable</a>(self) -> AcceleratorTable<br>
<br>
Gets the accelerator table for this window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetAdjustedBestSize"><strong>GetAdjustedBestSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetAdjustedBestSize">GetAdjustedBestSize</a>(self) -> Size<br>
<br>
This method is similar to GetBestSize, except in one<br>
thing. GetBestSize should return the minimum untruncated size of the<br>
window, while this method will return the largest of BestSize and any<br>
user specified minimum size. ie. it is the minimum size the window<br>
should currently be drawn at, not the minimal size it can possibly<br>
tolerate.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetAutoLayout"><strong>GetAutoLayout</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetAutoLayout">GetAutoLayout</a>(self) -> bool<br>
<br>
Returns the current autoLayout setting</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetBackgroundColour"><strong>GetBackgroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetBackgroundColour">GetBackgroundColour</a>(self) -> Colour<br>
<br>
Returns the background colour of the window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetBackgroundStyle"><strong>GetBackgroundStyle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetBackgroundStyle">GetBackgroundStyle</a>(self) -> int<br>
<br>
Returns the background style of the window.<br>
<br>
:see: `SetBackgroundStyle`</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetBestFittingSize"><strong>GetBestFittingSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetBestFittingSize">GetBestFittingSize</a>(self) -> Size<br>
<br>
This function will merge the window's best size into the window's<br>
minimum size, giving priority to the min size components, and returns<br>
the results.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetBestSize"><strong>GetBestSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetBestSize">GetBestSize</a>(self) -> Size<br>
<br>
This function returns the best acceptable minimal size for the<br>
window, if applicable. For example, for a static text control, it will<br>
be the minimal size such that the control label is not truncated. For<br>
windows containing subwindows (suzh aswx.Panel), the size returned by<br>
this function will be the same as the size the window would have had<br>
after calling Fit.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetBestSizeTuple"><strong>GetBestSizeTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetBestSizeTuple">GetBestSizeTuple</a>() -> (width, height)<br>
<br>
This function returns the best acceptable minimal size for the<br>
window, if applicable. For example, for a static text control, it will<br>
be the minimal size such that the control label is not truncated. For<br>
windows containing subwindows (suzh aswx.Panel), the size returned by<br>
this function will be the same as the size the window would have had<br>
after calling Fit.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetBestVirtualSize"><strong>GetBestVirtualSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetBestVirtualSize">GetBestVirtualSize</a>(self) -> Size<br>
<br>
Return the largest of ClientSize and BestSize (as determined by a<br>
sizer, interior children, or other means)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetBorder"><strong>GetBorder</strong></a>(*args)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetBorder">GetBorder</a>(self, long flags) -> int<br>
<a href="#NavigationToolbar2WxAgg-GetBorder">GetBorder</a>(self) -> int<br>
<br>
Get border for the flags of this window</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetCaret"><strong>GetCaret</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetCaret">GetCaret</a>(self) -> Caret<br>
<br>
Returns the caret associated with the window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetCharHeight"><strong>GetCharHeight</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetCharHeight">GetCharHeight</a>(self) -> int<br>
<br>
Get the (average) character size for the current font.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetCharWidth"><strong>GetCharWidth</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetCharWidth">GetCharWidth</a>(self) -> int<br>
<br>
Get the (average) character size for the current font.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetChildren"><strong>GetChildren</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetChildren">GetChildren</a>(self) -> PyObject<br>
<br>
Returns a list of the window's children. NOTE: Currently this is a<br>
copy of the child window list maintained by the window, so the return<br>
value of this function is only valid as long as the window's children<br>
do not change.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetClientAreaOrigin"><strong>GetClientAreaOrigin</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetClientAreaOrigin">GetClientAreaOrigin</a>(self) -> Point<br>
<br>
Get the origin of the client area of the window relative to the<br>
window's top left corner (the client area may be shifted because of<br>
the borders, scrollbars, other decorations...)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetClientRect"><strong>GetClientRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetClientRect">GetClientRect</a>(self) -> Rect<br>
<br>
Get the client area position and size as a `wx.Rect` object.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetClientSize"><strong>GetClientSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetClientSize">GetClientSize</a>(self) -> Size<br>
<br>
This gets the size of the window's 'client area' in pixels. The client<br>
area is the area which may be drawn on by the programmer, excluding<br>
title bar, border, scrollbars, etc.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetClientSizeTuple"><strong>GetClientSizeTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetClientSizeTuple">GetClientSizeTuple</a>() -> (width, height)<br>
<br>
This gets the size of the window's 'client area' in pixels. The client<br>
area is the area which may be drawn on by the programmer, excluding<br>
title bar, border, scrollbars, etc.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetConstraints"><strong>GetConstraints</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetConstraints">GetConstraints</a>(self) -> LayoutConstraints<br>
<br>
Returns a pointer to the window's layout constraints, or None if there<br>
are none.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetContainingSizer"><strong>GetContainingSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetContainingSizer">GetContainingSizer</a>(self) -> Sizer<br>
<br>
Return the sizer that this window is a member of, if any, otherwise None.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetCursor"><strong>GetCursor</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetCursor">GetCursor</a>(self) -> Cursor<br>
<br>
Return the cursor associated with this window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetDefaultAttributes"><strong>GetDefaultAttributes</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetDefaultAttributes">GetDefaultAttributes</a>(self) -> VisualAttributes<br>
<br>
Get the default attributes for an instance of this class. This is<br>
useful if you want to use the same font or colour in your own control<br>
as in a standard control -- which is a much better idea than hard<br>
coding specific colours or fonts which might look completely out of<br>
place on the user's system, especially if it uses themes.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetDefaultItem"><strong>GetDefaultItem</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetDefaultItem">GetDefaultItem</a>(self) -> Window<br>
<br>
Get the default child of this parent, i.e. the one which is activated<br>
by pressing <Enter> such as the OK button on a wx.Dialog.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetDropTarget"><strong>GetDropTarget</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetDropTarget">GetDropTarget</a>(self) -> DropTarget<br>
<br>
Returns the associated drop target, which may be None.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetEventHandler"><strong>GetEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetEventHandler">GetEventHandler</a>(self) -> EvtHandler<br>
<br>
Returns the event handler for this window. By default, the window is<br>
its own event handler.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetExtraStyle"><strong>GetExtraStyle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetExtraStyle">GetExtraStyle</a>(self) -> long<br>
<br>
Returns the extra style bits for the window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetFont"><strong>GetFont</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetFont">GetFont</a>(self) -> Font<br>
<br>
Returns the default font used for this window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetForegroundColour"><strong>GetForegroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetForegroundColour">GetForegroundColour</a>(self) -> Colour<br>
<br>
Returns the foreground colour of the window. The interpretation of<br>
foreground colour is dependent on the window class; it may be the text<br>
colour or other colour, or it may not be used at all.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetFullTextExtent"><strong>GetFullTextExtent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetFullTextExtent">GetFullTextExtent</a>(String string, Font font=None) -><br>
(width, height, descent, externalLeading)<br>
<br>
Get the width, height, decent and leading of the text using the<br>
current or specified font.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetGrandParent"><strong>GetGrandParent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetGrandParent">GetGrandParent</a>(self) -> Window<br>
<br>
Returns the parent of the parent of this window, or None if there<br>
isn't one.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetHandle"><strong>GetHandle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetHandle">GetHandle</a>(self) -> long<br>
<br>
Returns the platform-specific handle (as a long integer) of the<br>
physical window. Currently on wxMac it returns the handle of the<br>
toplevel parent of the window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetHelpText"><strong>GetHelpText</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetHelpText">GetHelpText</a>(self) -> String<br>
<br>
Gets the help text to be used as context-sensitive help for this<br>
window. Note that the text is actually stored by the current<br>
wxHelpProvider implementation, and not in the window object itself.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetId"><strong>GetId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetId">GetId</a>(self) -> int<br>
<br>
Returns the identifier of the window. Each window has an integer<br>
identifier. If the application has not provided one (or the default Id<br>
-1 is used) then an unique identifier with a negative value will be<br>
generated.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetMaxHeight"><strong>GetMaxHeight</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetMaxHeight">GetMaxHeight</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetMaxSize"><strong>GetMaxSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetMaxSize">GetMaxSize</a>(self) -> Size</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetMaxWidth"><strong>GetMaxWidth</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetMaxWidth">GetMaxWidth</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetMinHeight"><strong>GetMinHeight</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetMinHeight">GetMinHeight</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetMinSize"><strong>GetMinSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetMinSize">GetMinSize</a>(self) -> Size</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetMinWidth"><strong>GetMinWidth</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetMinWidth">GetMinWidth</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetName"><strong>GetName</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetName">GetName</a>(self) -> String<br>
<br>
Returns the windows name. This name is not guaranteed to be unique;<br>
it is up to the programmer to supply an appropriate name in the window<br>
constructor or via wx.Window.SetName.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetParent"><strong>GetParent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetParent">GetParent</a>(self) -> Window<br>
<br>
Returns the parent window of this window, or None if there isn't one.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetPosition"><strong>GetPosition</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetPosition">GetPosition</a>(self) -> Point<br>
<br>
Get the window's position.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetPositionTuple"><strong>GetPositionTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetPositionTuple">GetPositionTuple</a>() -> (x,y)<br>
<br>
Get the window's position.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetRect"><strong>GetRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetRect">GetRect</a>(self) -> Rect<br>
<br>
Returns the size and position of the window as a wx.Rect object.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetScrollPos"><strong>GetScrollPos</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetScrollPos">GetScrollPos</a>(self, int orientation) -> int<br>
<br>
Returns the built-in scrollbar position.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetScrollRange"><strong>GetScrollRange</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetScrollRange">GetScrollRange</a>(self, int orientation) -> int<br>
<br>
Returns the built-in scrollbar range.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetScrollThumb"><strong>GetScrollThumb</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetScrollThumb">GetScrollThumb</a>(self, int orientation) -> int<br>
<br>
Returns the built-in scrollbar thumb size.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetSize"><strong>GetSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetSize">GetSize</a>(self) -> Size<br>
<br>
Get the window size.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetSizeTuple"><strong>GetSizeTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetSizeTuple">GetSizeTuple</a>() -> (width, height)<br>
<br>
Get the window size.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetSizer"><strong>GetSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetSizer">GetSizer</a>(self) -> Sizer<br>
<br>
Return the sizer associated with the window by a previous call to<br>
SetSizer or None if there isn't one.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetTextExtent"><strong>GetTextExtent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetTextExtent">GetTextExtent</a>(String string) -> (width, height)<br>
<br>
Get the width and height of the text using the current font.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetThemeEnabled"><strong>GetThemeEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetThemeEnabled">GetThemeEnabled</a>(self) -> bool<br>
<br>
Return the themeEnabled flag.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetTitle"><strong>GetTitle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetTitle">GetTitle</a>(self) -> String<br>
<br>
Gets the window's title. Applicable only to frames and dialogs.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetToolTip"><strong>GetToolTip</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetToolTip">GetToolTip</a>(self) -> ToolTip<br>
<br>
get the associated tooltip or None if none</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetUpdateClientRect"><strong>GetUpdateClientRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetUpdateClientRect">GetUpdateClientRect</a>(self) -> Rect<br>
<br>
Get the update rectangle region bounding box in client coords.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetUpdateRegion"><strong>GetUpdateRegion</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetUpdateRegion">GetUpdateRegion</a>(self) -> Region<br>
<br>
Returns the region specifying which parts of the window have been<br>
damaged. Should only be called within an EVT_PAINT handler.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetValidator"><strong>GetValidator</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetValidator">GetValidator</a>(self) -> Validator<br>
<br>
Returns a pointer to the current validator for the window, or None if<br>
there is none.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetVirtualSize"><strong>GetVirtualSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetVirtualSize">GetVirtualSize</a>(self) -> Size<br>
<br>
Get the the virtual size of the window in pixels. For most windows<br>
this is just the client area of the window, but for some like scrolled<br>
windows it is more or less independent of the screen window size.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetVirtualSizeTuple"><strong>GetVirtualSizeTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetVirtualSizeTuple">GetVirtualSizeTuple</a>() -> (width, height)<br>
<br>
Get the the virtual size of the window in pixels. For most windows<br>
this is just the client area of the window, but for some like scrolled<br>
windows it is more or less independent of the screen window size.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetWindowStyle"><strong>GetWindowStyle</strong></a> = GetWindowStyleFlag(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetWindowStyleFlag">GetWindowStyleFlag</a>(self) -> long<br>
<br>
Gets the window style that was passed to the constructor or Create<br>
method.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetWindowStyleFlag"><strong>GetWindowStyleFlag</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetWindowStyleFlag">GetWindowStyleFlag</a>(self) -> long<br>
<br>
Gets the window style that was passed to the constructor or Create<br>
method.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetWindowVariant"><strong>GetWindowVariant</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetWindowVariant">GetWindowVariant</a>(self) -> int</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-HasCapture"><strong>HasCapture</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-HasCapture">HasCapture</a>(self) -> bool<br>
<br>
Returns true if this window has the current mouse capture.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-HasFlag"><strong>HasFlag</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-HasFlag">HasFlag</a>(self, int flag) -> bool<br>
<br>
Test if the given style is set for this window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-HasScrollbar"><strong>HasScrollbar</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-HasScrollbar">HasScrollbar</a>(self, int orient) -> bool<br>
<br>
Does the window have the scrollbar for this orientation?</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-HasTransparentBackground"><strong>HasTransparentBackground</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-HasTransparentBackground">HasTransparentBackground</a>(self) -> bool<br>
<br>
Returns True if this window's background is transparent (as, for<br>
example, for `wx.StaticText`) and should show the parent window's<br>
background.<br>
<br>
This method is mostly used internally by the library itself and you<br>
normally shouldn't have to call it. You may, however, have to override<br>
it in your custom control classes to ensure that background is painted<br>
correctly.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Hide"><strong>Hide</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Hide">Hide</a>(self) -> bool<br>
<br>
Equivalent to calling <a href="#NavigationToolbar2WxAgg-Show">Show</a>(False).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-HitTest"><strong>HitTest</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-HitTest">HitTest</a>(self, Point pt) -> int<br>
<br>
Test where the given (in client coords) point lies</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-HitTestXY"><strong>HitTestXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-HitTestXY">HitTestXY</a>(self, int x, int y) -> int<br>
<br>
Test where the given (in client coords) point lies</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-InheritAttributes"><strong>InheritAttributes</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-InheritAttributes">InheritAttributes</a>(self)<br>
<br>
This function is (or should be, in case of custom controls) called<br>
during window creation to intelligently set up the window visual<br>
attributes, that is the font and the foreground and background<br>
colours.<br>
<br>
By 'intelligently' the following is meant: by default, all windows use<br>
their own default attributes. However if some of the parent's<br>
attributes are explicitly changed (that is, using SetFont and not<br>
SetOwnFont) and if the corresponding attribute hadn't been<br>
explicitly set for this window itself, then this window takes the same<br>
value as used by the parent. In addition, if the window overrides<br>
ShouldInheritColours to return false, the colours will not be changed<br>
no matter what and only the font might.<br>
<br>
This rather complicated logic is necessary in order to accommodate the<br>
different usage scenarios. The most common one is when all default<br>
attributes are used and in this case, nothing should be inherited as<br>
in modern GUIs different controls use different fonts (and colours)<br>
than their siblings so they can't inherit the same value from the<br>
parent. However it was also deemed desirable to allow to simply change<br>
the attributes of all children at once by just changing the font or<br>
colour of their common parent, hence in this case we do inherit the<br>
parents attributes.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-InheritsBackgroundColour"><strong>InheritsBackgroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-InheritsBackgroundColour">InheritsBackgroundColour</a>(self) -> bool</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-InitDialog"><strong>InitDialog</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-InitDialog">InitDialog</a>(self)<br>
<br>
Sends an EVT_INIT_DIALOG event, whose handler usually transfers data<br>
to the dialog via validators.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-InvalidateBestSize"><strong>InvalidateBestSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-InvalidateBestSize">InvalidateBestSize</a>(self)<br>
<br>
Reset the cached best size value so it will be recalculated the next<br>
time it is needed.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-IsBeingDeleted"><strong>IsBeingDeleted</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-IsBeingDeleted">IsBeingDeleted</a>(self) -> bool<br>
<br>
Is the window in the process of being deleted?</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-IsEnabled"><strong>IsEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-IsEnabled">IsEnabled</a>(self) -> bool<br>
<br>
Returns true if the window is enabled for input, false otherwise.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-IsExposed"><strong>IsExposed</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-IsExposed">IsExposed</a>(self, int x, int y, int w=1, int h=1) -> bool<br>
<br>
Returns true if the given point or rectangle area has been exposed<br>
since the last repaint. Call this in an paint event handler to<br>
optimize redrawing by only redrawing those areas, which have been<br>
exposed.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-IsExposedPoint"><strong>IsExposedPoint</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-IsExposedPoint">IsExposedPoint</a>(self, Point pt) -> bool<br>
<br>
Returns true if the given point or rectangle area has been exposed<br>
since the last repaint. Call this in an paint event handler to<br>
optimize redrawing by only redrawing those areas, which have been<br>
exposed.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-IsExposedRect"><strong>IsExposedRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-IsExposedRect">IsExposedRect</a>(self, Rect rect) -> bool<br>
<br>
Returns true if the given point or rectangle area has been exposed<br>
since the last repaint. Call this in an paint event handler to<br>
optimize redrawing by only redrawing those areas, which have been<br>
exposed.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-IsRetained"><strong>IsRetained</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-IsRetained">IsRetained</a>(self) -> bool<br>
<br>
Returns true if the window is retained, false otherwise. Retained<br>
windows are only available on X platforms.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-IsShown"><strong>IsShown</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-IsShown">IsShown</a>(self) -> bool<br>
<br>
Returns true if the window is shown, false if it has been hidden.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-IsTopLevel"><strong>IsTopLevel</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-IsTopLevel">IsTopLevel</a>(self) -> bool<br>
<br>
Returns true if the given window is a top-level one. Currently all<br>
frames and dialogs are always considered to be top-level windows (even<br>
if they have a parent window).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Layout"><strong>Layout</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Layout">Layout</a>(self) -> bool<br>
<br>
Invokes the constraint-based layout algorithm or the sizer-based<br>
algorithm for this window. See SetAutoLayout: when auto layout is on,<br>
this function gets called automatically by the default EVT_SIZE<br>
handler when the window is resized.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-LineDown"><strong>LineDown</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-LineDown">LineDown</a>(self) -> bool<br>
<br>
This is just a wrapper for <a href="#NavigationToolbar2WxAgg-ScrollLines">ScrollLines</a>(1).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-LineUp"><strong>LineUp</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-LineUp">LineUp</a>(self) -> bool<br>
<br>
This is just a wrapper for <a href="#NavigationToolbar2WxAgg-ScrollLines">ScrollLines</a>(-1).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Lower"><strong>Lower</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Lower">Lower</a>(self)<br>
<br>
Lowers the window to the bottom of the window hierarchy. In current<br>
version of wxWidgets this works both for manage and child windows.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-MakeModal"><strong>MakeModal</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-MakeModal">MakeModal</a>(self, bool modal=True)<br>
<br>
Disables all other windows in the application so that the user can<br>
only interact with this window. Passing False will reverse this<br>
effect.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Move"><strong>Move</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Move">Move</a>(self, Point pt, int flags=SIZE_USE_EXISTING)<br>
<br>
Moves the window to the given position.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-MoveAfterInTabOrder"><strong>MoveAfterInTabOrder</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-MoveAfterInTabOrder">MoveAfterInTabOrder</a>(self, Window win)<br>
<br>
Moves this window in the tab navigation order after the specified<br>
sibling window. This means that when the user presses the TAB key on<br>
that other window, the focus switches to this window.<br>
<br>
The default tab order is the same as creation order. This function<br>
and `MoveBeforeInTabOrder` allow to change it after creating all the<br>
windows.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-MoveBeforeInTabOrder"><strong>MoveBeforeInTabOrder</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-MoveBeforeInTabOrder">MoveBeforeInTabOrder</a>(self, Window win)<br>
<br>
Same as `MoveAfterInTabOrder` except that it inserts this window just<br>
before win instead of putting it right after it.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-MoveXY"><strong>MoveXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-MoveXY">MoveXY</a>(self, int x, int y, int flags=SIZE_USE_EXISTING)<br>
<br>
Moves the window to the given position.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Navigate"><strong>Navigate</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Navigate">Navigate</a>(self, int flags=NavigationKeyEvent.IsForward) -> bool<br>
<br>
Does keyboard navigation from this window to another, by sending a<br>
`wx.NavigationKeyEvent`.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-PageDown"><strong>PageDown</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-PageDown">PageDown</a>(self) -> bool<br>
<br>
This is just a wrapper for <a href="#NavigationToolbar2WxAgg-ScrollPages">ScrollPages</a>(1).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-PageUp"><strong>PageUp</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-PageUp">PageUp</a>(self) -> bool<br>
<br>
This is just a wrapper for <a href="#NavigationToolbar2WxAgg-ScrollPages">ScrollPages</a>(-1).</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-PopEventHandler"><strong>PopEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-PopEventHandler">PopEventHandler</a>(self, bool deleteHandler=False) -> EvtHandler<br>
<br>
Removes and returns the top-most event handler on the event handler<br>
stack. If deleteHandler is True then the wx.EvtHandler object will be<br>
destroyed after it is popped.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-PopupMenu"><strong>PopupMenu</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-PopupMenu">PopupMenu</a>(self, Menu menu, Point pos=DefaultPosition) -> bool<br>
<br>
Pops up the given menu at the specified coordinates, relative to this window,<br>
and returns control when the user has dismissed the menu. If a menu item is<br>
selected, the corresponding menu event is generated and will be processed as<br>
usual. If the default position is given then the current position of the<br>
mouse cursor will be used.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-PopupMenuXY"><strong>PopupMenuXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-PopupMenuXY">PopupMenuXY</a>(self, Menu menu, int x=-1, int y=-1) -> bool<br>
<br>
Pops up the given menu at the specified coordinates, relative to this window,<br>
and returns control when the user has dismissed the menu. If a menu item is<br>
selected, the corresponding menu event is generated and will be processed as<br>
usual. If the default position is given then the current position of the<br>
mouse cursor will be used.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-PostCreate"><strong>PostCreate</strong></a>(self, pre)</dt><dd><tt>Phase 3 of the 2-phase create <wink!><br>
Call this method after precreating the window with the 2-phase create method.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-PrepareDC"><strong>PrepareDC</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-PrepareDC">PrepareDC</a>(self, DC dc)<br>
<br>
Call this function to prepare the device context for drawing a<br>
scrolled image. It sets the device origin according to the current<br>
scroll position.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-PushEventHandler"><strong>PushEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-PushEventHandler">PushEventHandler</a>(self, EvtHandler handler)<br>
<br>
Pushes this event handler onto the event handler stack for the window.<br>
An event handler is an object that is capable of processing the events<br>
sent to a window. By default, the window is its own event handler, but<br>
an application may wish to substitute another, for example to allow<br>
central implementation of event-handling for a variety of different<br>
window classes.<br>
<br>
wx.Window.PushEventHandler allows an application to set up a chain of<br>
event handlers, where an event not handled by one event handler is<br>
handed to the next one in the chain. Use `wx.Window.PopEventHandler` to<br>
remove the event handler.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Raise"><strong>Raise</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Raise">Raise</a>(self)<br>
<br>
Raises the window to the top of the window hierarchy. In current<br>
version of wxWidgets this works both for manage and child windows.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Refresh"><strong>Refresh</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Refresh">Refresh</a>(self, bool eraseBackground=True, Rect rect=None)<br>
<br>
Mark the specified rectangle (or the whole window) as "dirty" so it<br>
will be repainted. Causes an EVT_PAINT event to be generated and sent<br>
to the window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-RefreshRect"><strong>RefreshRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-RefreshRect">RefreshRect</a>(self, Rect rect, bool eraseBackground=True)<br>
<br>
Redraws the contents of the given rectangle: the area inside it will<br>
be repainted. This is the same as Refresh but has a nicer syntax.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-RegisterHotKey"><strong>RegisterHotKey</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-RegisterHotKey">RegisterHotKey</a>(self, int hotkeyId, int modifiers, int keycode) -> bool<br>
<br>
Registers a system wide hotkey. Every time the user presses the hotkey<br>
registered here, this window will receive a hotkey event. It will<br>
receive the event even if the application is in the background and<br>
does not have the input focus because the user is working with some<br>
other application. To bind an event handler function to this hotkey<br>
use EVT_HOTKEY with an id equal to hotkeyId. Returns True if the<br>
hotkey was registered successfully.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ReleaseMouse"><strong>ReleaseMouse</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ReleaseMouse">ReleaseMouse</a>(self)<br>
<br>
Releases mouse input captured with wx.Window.CaptureMouse.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-RemoveChild"><strong>RemoveChild</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-RemoveChild">RemoveChild</a>(self, Window child)<br>
<br>
Removes a child window. This is called automatically by window<br>
deletion functions so should not be required by the application<br>
programmer.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-RemoveEventHandler"><strong>RemoveEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-RemoveEventHandler">RemoveEventHandler</a>(self, EvtHandler handler) -> bool<br>
<br>
Find the given handler in the event handler chain and remove (but not<br>
delete) it from the event handler chain, return True if it was found<br>
and False otherwise (this also results in an assert failure so this<br>
function should only be called when the handler is supposed to be<br>
there.)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Reparent"><strong>Reparent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Reparent">Reparent</a>(self, Window newParent) -> bool<br>
<br>
Reparents the window, i.e the window will be removed from its current<br>
parent window (e.g. a non-standard toolbar in a wxFrame) and then<br>
re-inserted into another. Available on Windows and GTK. Returns True<br>
if the parent was changed, False otherwise (error or newParent ==<br>
oldParent)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ScreenToClient"><strong>ScreenToClient</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ScreenToClient">ScreenToClient</a>(self, Point pt) -> Point<br>
<br>
Converts from screen to client window coordinates.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ScreenToClientXY"><strong>ScreenToClientXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ScreenToClientXY">ScreenToClientXY</a>(int x, int y) -> (x,y)<br>
<br>
Converts from screen to client window coordinates.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ScrollLines"><strong>ScrollLines</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ScrollLines">ScrollLines</a>(self, int lines) -> bool<br>
<br>
If the platform and window class supports it, scrolls the window by<br>
the given number of lines down, if lines is positive, or up if lines<br>
is negative. Returns True if the window was scrolled, False if it was<br>
already on top/bottom and nothing was done.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ScrollPages"><strong>ScrollPages</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ScrollPages">ScrollPages</a>(self, int pages) -> bool<br>
<br>
If the platform and window class supports it, scrolls the window by<br>
the given number of pages down, if pages is positive, or up if pages<br>
is negative. Returns True if the window was scrolled, False if it was<br>
already on top/bottom and nothing was done.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ScrollWindow"><strong>ScrollWindow</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ScrollWindow">ScrollWindow</a>(self, int dx, int dy, Rect rect=None)<br>
<br>
Physically scrolls the pixels in the window and move child windows<br>
accordingly. Use this function to optimise your scrolling<br>
implementations, to minimise the area that must be redrawn. Note that<br>
it is rarely required to call this function from a user program.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SendSizeEvent"><strong>SendSizeEvent</strong></a>(self)</dt></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetAcceleratorTable"><strong>SetAcceleratorTable</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetAcceleratorTable">SetAcceleratorTable</a>(self, AcceleratorTable accel)<br>
<br>
Sets the accelerator table for this window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetAutoLayout"><strong>SetAutoLayout</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetAutoLayout">SetAutoLayout</a>(self, bool autoLayout)<br>
<br>
Determines whether the Layout function will be called automatically<br>
when the window is resized. It is called implicitly by SetSizer but<br>
if you use SetConstraints you should call it manually or otherwise the<br>
window layout won't be correctly updated when its size changes.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetBackgroundColour"><strong>SetBackgroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetBackgroundColour">SetBackgroundColour</a>(self, Colour colour) -> bool<br>
<br>
Sets the background colour of the window. Returns True if the colour<br>
was changed. The background colour is usually painted by the default<br>
EVT_ERASE_BACKGROUND event handler function under Windows and<br>
automatically under GTK. Using `wx.NullColour` will reset the window<br>
to the default background colour.<br>
<br>
Note that setting the background colour may not cause an immediate<br>
refresh, so you may wish to call `ClearBackground` or `Refresh` after<br>
calling this function.<br>
<br>
Using this function will disable attempts to use themes for this<br>
window, if the system supports them. Use with care since usually the<br>
themes represent the appearance chosen by the user to be used for all<br>
applications on the system.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetBackgroundStyle"><strong>SetBackgroundStyle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetBackgroundStyle">SetBackgroundStyle</a>(self, int style) -> bool<br>
<br>
Returns the background style of the window. The background style<br>
indicates how the background of the window is drawn.<br>
<br>
====================== ========================================<br>
wx.BG_STYLE_SYSTEM The background colour or pattern should<br>
be determined by the system<br>
wx.BG_STYLE_COLOUR The background should be a solid colour<br>
wx.BG_STYLE_CUSTOM The background will be implemented by the<br>
application.<br>
====================== ========================================<br>
<br>
On GTK+, use of wx.BG_STYLE_CUSTOM allows the flicker-free drawing of<br>
a custom background, such as a tiled bitmap. Currently the style has<br>
no effect on other platforms.<br>
<br>
:see: `GetBackgroundStyle`, `SetBackgroundColour`</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetBestFittingSize"><strong>SetBestFittingSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetBestFittingSize">SetBestFittingSize</a>(self, Size size=DefaultSize)<br>
<br>
A 'Smart' SetSize that will fill in default size components with the<br>
window's *best size* values. Also set's the minsize for use with sizers.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetCaret"><strong>SetCaret</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetCaret">SetCaret</a>(self, Caret caret)<br>
<br>
Sets the caret associated with the window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetClientRect"><strong>SetClientRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetClientRect">SetClientRect</a>(self, Rect rect)<br>
<br>
This sets the size of the window client area in pixels. Using this<br>
function to size a window tends to be more device-independent than<br>
wx.Window.SetSize, since the application need not worry about what<br>
dimensions the border or title bar have when trying to fit the window<br>
around panel items, for example.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetClientSize"><strong>SetClientSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetClientSize">SetClientSize</a>(self, Size size)<br>
<br>
This sets the size of the window client area in pixels. Using this<br>
function to size a window tends to be more device-independent than<br>
wx.Window.SetSize, since the application need not worry about what<br>
dimensions the border or title bar have when trying to fit the window<br>
around panel items, for example.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetClientSizeWH"><strong>SetClientSizeWH</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetClientSizeWH">SetClientSizeWH</a>(self, int width, int height)<br>
<br>
This sets the size of the window client area in pixels. Using this<br>
function to size a window tends to be more device-independent than<br>
wx.Window.SetSize, since the application need not worry about what<br>
dimensions the border or title bar have when trying to fit the window<br>
around panel items, for example.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetConstraints"><strong>SetConstraints</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetConstraints">SetConstraints</a>(self, LayoutConstraints constraints)<br>
<br>
Sets the window to have the given layout constraints. If an existing<br>
layout constraints object is already owned by the window, it will be<br>
deleted. Pass None to disassociate and delete the window's current<br>
constraints.<br>
<br>
You must call SetAutoLayout to tell a window to use the constraints<br>
automatically in its default EVT_SIZE handler; otherwise, you must<br>
handle EVT_SIZE yourself and call <a href="#NavigationToolbar2WxAgg-Layout">Layout</a>() explicitly. When setting<br>
both a wx.LayoutConstraints and a wx.Sizer, only the sizer will have<br>
effect.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetContainingSizer"><strong>SetContainingSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetContainingSizer">SetContainingSizer</a>(self, Sizer sizer)<br>
<br>
This normally does not need to be called by application code. It is<br>
called internally when a window is added to a sizer, and is used so<br>
the window can remove itself from the sizer when it is destroyed.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetCursor"><strong>SetCursor</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetCursor">SetCursor</a>(self, Cursor cursor) -> bool<br>
<br>
Sets the window's cursor. Notice that the window cursor also sets it<br>
for the children of the window implicitly.<br>
<br>
The cursor may be wx.NullCursor in which case the window cursor will<br>
be reset back to default.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetDefaultItem"><strong>SetDefaultItem</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetDefaultItem">SetDefaultItem</a>(self, Window child) -> Window<br>
<br>
Set this child as default, return the old default.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetDimensions"><strong>SetDimensions</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetDimensions">SetDimensions</a>(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)<br>
<br>
Sets the position and size of the window in pixels. The sizeFlags<br>
parameter indicates the interpretation of the other params if they are<br>
equal to -1.<br>
<br>
======================== ======================================<br>
wx.SIZE_AUTO A -1 indicates that a class-specific<br>
default should be used.<br>
wx.SIZE_USE_EXISTING Axisting dimensions should be used if<br>
-1 values are supplied.<br>
wxSIZE_ALLOW_MINUS_ONE Allow dimensions of -1 and less to be<br>
interpreted as real dimensions, not<br>
default values.<br>
======================== ======================================</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetDropTarget"><strong>SetDropTarget</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetDropTarget">SetDropTarget</a>(self, DropTarget dropTarget)<br>
<br>
Associates a drop target with this window. If the window already has<br>
a drop target, it is deleted.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetEventHandler"><strong>SetEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetEventHandler">SetEventHandler</a>(self, EvtHandler handler)<br>
<br>
Sets the event handler for this window. An event handler is an object<br>
that is capable of processing the events sent to a window. By default,<br>
the window is its own event handler, but an application may wish to<br>
substitute another, for example to allow central implementation of<br>
event-handling for a variety of different window classes.<br>
<br>
It is usually better to use `wx.Window.PushEventHandler` since this sets<br>
up a chain of event handlers, where an event not handled by one event<br>
handler is handed to the next one in the chain.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetExtraStyle"><strong>SetExtraStyle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetExtraStyle">SetExtraStyle</a>(self, long exStyle)<br>
<br>
Sets the extra style bits for the window. Extra styles are the less<br>
often used style bits which can't be set with the constructor or with<br>
<a href="#NavigationToolbar2WxAgg-SetWindowStyleFlag">SetWindowStyleFlag</a>()</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetFocus"><strong>SetFocus</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetFocus">SetFocus</a>(self)<br>
<br>
Set's the focus to this window, allowing it to receive keyboard input.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetFocusFromKbd"><strong>SetFocusFromKbd</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetFocusFromKbd">SetFocusFromKbd</a>(self)<br>
<br>
Set focus to this window as the result of a keyboard action. Normally<br>
only called internally.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetFont"><strong>SetFont</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetFont">SetFont</a>(self, Font font) -> bool<br>
<br>
Sets the font for this window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetForegroundColour"><strong>SetForegroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetForegroundColour">SetForegroundColour</a>(self, Colour colour) -> bool<br>
<br>
Sets the foreground colour of the window. Returns True is the colour<br>
was changed. The interpretation of foreground colour is dependent on<br>
the window class; it may be the text colour or other colour, or it may<br>
not be used at all.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetHelpText"><strong>SetHelpText</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetHelpText">SetHelpText</a>(self, String text)<br>
<br>
Sets the help text to be used as context-sensitive help for this<br>
window. Note that the text is actually stored by the current<br>
wxHelpProvider implementation, and not in the window object itself.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetHelpTextForId"><strong>SetHelpTextForId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetHelpTextForId">SetHelpTextForId</a>(self, String text)<br>
<br>
Associate this help text with all windows with the same id as this<br>
one.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetId"><strong>SetId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetId">SetId</a>(self, int winid)<br>
<br>
Sets the identifier of the window. Each window has an integer<br>
identifier. If the application has not provided one, an identifier<br>
will be generated. Normally, the identifier should be provided on<br>
creation and should not be modified subsequently.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetMaxSize"><strong>SetMaxSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetMaxSize">SetMaxSize</a>(self, Size maxSize)<br>
<br>
A more convenient method than `SetSizeHints` for setting just the<br>
max size.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetMinSize"><strong>SetMinSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetMinSize">SetMinSize</a>(self, Size minSize)<br>
<br>
A more convenient method than `SetSizeHints` for setting just the<br>
min size.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetName"><strong>SetName</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetName">SetName</a>(self, String name)<br>
<br>
Sets the window's name. The window name is used for ressource setting<br>
in X, it is not the same as the window title/label</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetOwnBackgroundColour"><strong>SetOwnBackgroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetOwnBackgroundColour">SetOwnBackgroundColour</a>(self, Colour colour)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetOwnFont"><strong>SetOwnFont</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetOwnFont">SetOwnFont</a>(self, Font font)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetOwnForegroundColour"><strong>SetOwnForegroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetOwnForegroundColour">SetOwnForegroundColour</a>(self, Colour colour)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetPosition"><strong>SetPosition</strong></a> = Move(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Move">Move</a>(self, Point pt, int flags=SIZE_USE_EXISTING)<br>
<br>
Moves the window to the given position.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetRect"><strong>SetRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetRect">SetRect</a>(self, Rect rect, int sizeFlags=SIZE_AUTO)<br>
<br>
Sets the position and size of the window in pixels using a wx.Rect.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetScrollPos"><strong>SetScrollPos</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetScrollPos">SetScrollPos</a>(self, int orientation, int pos, bool refresh=True)<br>
<br>
Sets the position of one of the built-in scrollbars.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetScrollbar"><strong>SetScrollbar</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetScrollbar">SetScrollbar</a>(self, int orientation, int position, int thumbSize, int range, <br>
bool refresh=True)<br>
<br>
Sets the scrollbar properties of a built-in scrollbar.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetSize"><strong>SetSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetSize">SetSize</a>(self, Size size)<br>
<br>
Sets the size of the window in pixels.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetSizeHints"><strong>SetSizeHints</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetSizeHints">SetSizeHints</a>(self, int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, <br>
int incH=-1)<br>
<br>
Allows specification of minimum and maximum window sizes, and window<br>
size increments. If a pair of values is not set (or set to -1), the<br>
default values will be used. If this function is called, the user<br>
will not be able to size the window outside the given bounds (if it is<br>
a top-level window.) Sizers will also inspect the minimum window size<br>
and will use that value if set when calculating layout.<br>
<br>
The resizing increments are only significant under Motif or Xt.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetSizeHintsSz"><strong>SetSizeHintsSz</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetSizeHintsSz">SetSizeHintsSz</a>(self, Size minSize, Size maxSize=DefaultSize, Size incSize=DefaultSize)<br>
<br>
Allows specification of minimum and maximum window sizes, and window<br>
size increments. If a pair of values is not set (or set to -1), the<br>
default values will be used. If this function is called, the user<br>
will not be able to size the window outside the given bounds (if it is<br>
a top-level window.) Sizers will also inspect the minimum window size<br>
and will use that value if set when calculating layout.<br>
<br>
The resizing increments are only significant under Motif or Xt.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetSizeWH"><strong>SetSizeWH</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetSizeWH">SetSizeWH</a>(self, int width, int height)<br>
<br>
Sets the size of the window in pixels.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetSizer"><strong>SetSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetSizer">SetSizer</a>(self, Sizer sizer, bool deleteOld=True)<br>
<br>
Sets the window to have the given layout sizer. The window will then<br>
own the object, and will take care of its deletion. If an existing<br>
layout sizer object is already owned by the window, it will be deleted<br>
if the deleteOld parameter is true. Note that this function will also<br>
call SetAutoLayout implicitly with a True parameter if the sizer is<br>
non-None, and False otherwise.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetSizerAndFit"><strong>SetSizerAndFit</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetSizerAndFit">SetSizerAndFit</a>(self, Sizer sizer, bool deleteOld=True)<br>
<br>
The same as SetSizer, except it also sets the size hints for the<br>
window based on the sizer's minimum size.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetThemeEnabled"><strong>SetThemeEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetThemeEnabled">SetThemeEnabled</a>(self, bool enableTheme)<br>
<br>
This function tells a window if it should use the system's "theme"<br>
code to draw the windows' background instead if its own background<br>
drawing code. This will only have an effect on platforms that support<br>
the notion of themes in user defined windows. One such platform is<br>
GTK+ where windows can have (very colourful) backgrounds defined by a<br>
user's selected theme.<br>
<br>
Dialogs, notebook pages and the status bar have this flag set to true<br>
by default so that the default look and feel is simulated best.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetTitle"><strong>SetTitle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetTitle">SetTitle</a>(self, String title)<br>
<br>
Sets the window's title. Applicable only to frames and dialogs.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetTmpDefaultItem"><strong>SetTmpDefaultItem</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetTmpDefaultItem">SetTmpDefaultItem</a>(self, Window win)<br>
<br>
Set this child as temporary default</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetToolTip"><strong>SetToolTip</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetToolTip">SetToolTip</a>(self, ToolTip tip)<br>
<br>
Attach a tooltip to the window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetToolTipString"><strong>SetToolTipString</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetToolTipString">SetToolTipString</a>(self, String tip)<br>
<br>
Attach a tooltip to the window.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetValidator"><strong>SetValidator</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetValidator">SetValidator</a>(self, Validator validator)<br>
<br>
Deletes the current validator (if any) and sets the window validator,<br>
having called wx.Validator.Clone to create a new validator of this<br>
type.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetVirtualSize"><strong>SetVirtualSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetVirtualSize">SetVirtualSize</a>(self, Size size)<br>
<br>
Set the the virtual size of a window in pixels. For most windows this<br>
is just the client area of the window, but for some like scrolled<br>
windows it is more or less independent of the screen window size.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetVirtualSizeHints"><strong>SetVirtualSizeHints</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetVirtualSizeHints">SetVirtualSizeHints</a>(self, int minW, int minH, int maxW=-1, int maxH=-1)<br>
<br>
Allows specification of minimum and maximum virtual window sizes. If a<br>
pair of values is not set (or set to -1), the default values will be<br>
used. If this function is called, the user will not be able to size<br>
the virtual area of the window outside the given bounds.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetVirtualSizeHintsSz"><strong>SetVirtualSizeHintsSz</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetVirtualSizeHintsSz">SetVirtualSizeHintsSz</a>(self, Size minSize, Size maxSize=DefaultSize)<br>
<br>
Allows specification of minimum and maximum virtual window sizes. If a<br>
pair of values is not set (or set to -1), the default values will be<br>
used. If this function is called, the user will not be able to size<br>
the virtual area of the window outside the given bounds.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetVirtualSizeWH"><strong>SetVirtualSizeWH</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetVirtualSizeWH">SetVirtualSizeWH</a>(self, int w, int h)<br>
<br>
Set the the virtual size of a window in pixels. For most windows this<br>
is just the client area of the window, but for some like scrolled<br>
windows it is more or less independent of the screen window size.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetWindowStyle"><strong>SetWindowStyle</strong></a> = SetWindowStyleFlag(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetWindowStyleFlag">SetWindowStyleFlag</a>(self, long style)<br>
<br>
Sets the style of the window. Please note that some styles cannot be<br>
changed after the window creation and that <a href="#NavigationToolbar2WxAgg-Refresh">Refresh</a>() might need to be<br>
called after changing the others for the change to take place<br>
immediately.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetWindowStyleFlag"><strong>SetWindowStyleFlag</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetWindowStyleFlag">SetWindowStyleFlag</a>(self, long style)<br>
<br>
Sets the style of the window. Please note that some styles cannot be<br>
changed after the window creation and that <a href="#NavigationToolbar2WxAgg-Refresh">Refresh</a>() might need to be<br>
called after changing the others for the change to take place<br>
immediately.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetWindowVariant"><strong>SetWindowVariant</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetWindowVariant">SetWindowVariant</a>(self, int variant)<br>
<br>
Sets the variant of the window/font size to use for this window, if<br>
the platform supports variants, for example, wxMac.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ShouldInheritColours"><strong>ShouldInheritColours</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ShouldInheritColours">ShouldInheritColours</a>(self) -> bool<br>
<br>
Return true from here to allow the colours of this window to be<br>
changed by InheritAttributes, returning false forbids inheriting them<br>
from the parent window.<br>
<br>
The base class version returns false, but this method is overridden in<br>
wxControl where it returns true.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Show"><strong>Show</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Show">Show</a>(self, bool show=True) -> bool<br>
<br>
Shows or hides the window. You may need to call Raise for a top level<br>
window if you want to bring it to top, although this is not needed if<br>
Show is called immediately after the frame creation. Returns True if<br>
the window has been shown or hidden or False if nothing was done<br>
because it already was in the requested state.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Thaw"><strong>Thaw</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Thaw">Thaw</a>(self)<br>
<br>
Reenables window updating after a previous call to Freeze. Calls to<br>
Freeze/Thaw may be nested, so Thaw must be called the same number of<br>
times that Freeze was before the window will be updated.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-TransferDataFromWindow"><strong>TransferDataFromWindow</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-TransferDataFromWindow">TransferDataFromWindow</a>(self) -> bool<br>
<br>
Transfers values from child controls to data areas specified by their<br>
validators. Returns false if a transfer failed. If the window has<br>
wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will<br>
also call <a href="#NavigationToolbar2WxAgg-TransferDataFromWindow">TransferDataFromWindow</a>() of all child windows.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-TransferDataToWindow"><strong>TransferDataToWindow</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-TransferDataToWindow">TransferDataToWindow</a>(self) -> bool<br>
<br>
Transfers values to child controls from data areas specified by their<br>
validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra<br>
style flag set, the method will also call <a href="#NavigationToolbar2WxAgg-TransferDataToWindow">TransferDataToWindow</a>() of<br>
all child windows.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-UnregisterHotKey"><strong>UnregisterHotKey</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-UnregisterHotKey">UnregisterHotKey</a>(self, int hotkeyId) -> bool<br>
<br>
Unregisters a system wide hotkey.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Update"><strong>Update</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Update">Update</a>(self)<br>
<br>
Calling this method immediately repaints the invalidated area of the<br>
window instead of waiting for the EVT_PAINT event to happen, (normally<br>
this would usually only happen when the flow of control returns to the<br>
event loop.) Notice that this function doesn't refresh the window and<br>
does nothing if the window has been already repainted. Use Refresh<br>
first if you want to immediately redraw the window (or some portion of<br>
it) unconditionally.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-UpdateWindowUI"><strong>UpdateWindowUI</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-UpdateWindowUI">UpdateWindowUI</a>(self, long flags=UPDATE_UI_NONE)<br>
<br>
This function sends EVT_UPDATE_UI events to the window. The particular<br>
implementation depends on the window; for example a wx.ToolBar will<br>
send an update UI event for each toolbar button, and a wx.Frame will<br>
send an update UI event for each menubar menu item. You can call this<br>
function from your application to ensure that your UI is up-to-date at<br>
a particular point in time (as far as your EVT_UPDATE_UI handlers are<br>
concerned). This may be necessary if you have called<br>
`wx.UpdateUIEvent.SetMode` or `wx.UpdateUIEvent.SetUpdateInterval` to<br>
limit the overhead that wxWindows incurs by sending update UI events<br>
in idle time.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-UseBgCol"><strong>UseBgCol</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-UseBgCol">UseBgCol</a>(self) -> bool</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Validate"><strong>Validate</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Validate">Validate</a>(self) -> bool<br>
<br>
Validates the current values of the child controls using their<br>
validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra<br>
style flag set, the method will also call <a href="#NavigationToolbar2WxAgg-Validate">Validate</a>() of all child<br>
windows. Returns false if any of the validations failed.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-WarpPointer"><strong>WarpPointer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-WarpPointer">WarpPointer</a>(self, int x, int y)<br>
<br>
Moves the pointer to the given position on the window.<br>
<br>
NOTE: This function is not supported under Mac because Apple Human<br>
Interface Guidelines forbid moving the mouse cursor programmatically.</tt></dd></dl>
<hr>
Static methods inherited from <a href="wx._core.html#Window">wx._core.Window</a>:<br>
<dl><dt><a name="NavigationToolbar2WxAgg-FindFocus"><strong>FindFocus</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-FindFocus">FindFocus</a>() -> Window<br>
<br>
Returns the window or control that currently has the keyboard focus,<br>
or None.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetCapture"><strong>GetCapture</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetCapture">GetCapture</a>() -> Window<br>
<br>
Returns the window which currently captures the mouse or None</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-NewControlId"><strong>NewControlId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-NewControlId">NewControlId</a>() -> int<br>
<br>
Generate a control id for the controls which were not given one.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-NextControlId"><strong>NextControlId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-NextControlId">NextControlId</a>(int winid) -> int<br>
<br>
Get the id of the control following the one with the given<br>
autogenerated) id</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-PrevControlId"><strong>PrevControlId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-PrevControlId">PrevControlId</a>(int winid) -> int<br>
<br>
Get the id of the control preceding the one with the given<br>
autogenerated) id</tt></dd></dl>
<hr>
Methods inherited from <a href="wx._core.html#EvtHandler">wx._core.EvtHandler</a>:<br>
<dl><dt><a name="NavigationToolbar2WxAgg-AddPendingEvent"><strong>AddPendingEvent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-AddPendingEvent">AddPendingEvent</a>(self, Event event)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Bind"><strong>Bind</strong></a>(self, event, handler, source<font color="#909090">=None</font>, id<font color="#909090">=-1</font>, id2<font color="#909090">=-1</font>)</dt><dd><tt>Bind an event to an event handler.<br>
<br>
:param event: One of the EVT_* objects that specifies the<br>
type of event to bind,<br>
<br>
:param handler: A callable object to be invoked when the<br>
event is delivered to self. Pass None to<br>
disconnect an event handler.<br>
<br>
:param source: Sometimes the event originates from a<br>
different window than self, but you still<br>
want to catch it in self. (For example, a<br>
button event delivered to a frame.) By<br>
passing the source of the event, the event<br>
handling system is able to differentiate<br>
between the same event type from different<br>
controls.<br>
<br>
:param id: Used to spcify the event source by ID instead<br>
of instance.<br>
<br>
:param id2: Used when it is desirable to bind a handler<br>
to a range of IDs, such as with EVT_MENU_RANGE.</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Connect"><strong>Connect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Connect">Connect</a>(self, int id, int lastId, int eventType, PyObject func)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Disconnect"><strong>Disconnect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-Disconnect">Disconnect</a>(self, int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -> bool</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetEvtHandlerEnabled"><strong>GetEvtHandlerEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetEvtHandlerEnabled">GetEvtHandlerEnabled</a>(self) -> bool</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetNextHandler"><strong>GetNextHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetNextHandler">GetNextHandler</a>(self) -> EvtHandler</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-GetPreviousHandler"><strong>GetPreviousHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetPreviousHandler">GetPreviousHandler</a>(self) -> EvtHandler</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ProcessEvent"><strong>ProcessEvent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ProcessEvent">ProcessEvent</a>(self, Event event) -> bool</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-ProcessPendingEvents"><strong>ProcessPendingEvents</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-ProcessPendingEvents">ProcessPendingEvents</a>(self)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetEvtHandlerEnabled"><strong>SetEvtHandlerEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetEvtHandlerEnabled">SetEvtHandlerEnabled</a>(self, bool enabled)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetNextHandler"><strong>SetNextHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetNextHandler">SetNextHandler</a>(self, EvtHandler handler)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-SetPreviousHandler"><strong>SetPreviousHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-SetPreviousHandler">SetPreviousHandler</a>(self, EvtHandler handler)</tt></dd></dl>
<dl><dt><a name="NavigationToolbar2WxAgg-Unbind"><strong>Unbind</strong></a>(self, event, source<font color="#909090">=None</font>, id<font color="#909090">=-1</font>, id2<font color="#909090">=-1</font>)</dt><dd><tt>Disconencts the event handler binding for event from self.<br>
Returns True if successful.</tt></dd></dl>
<hr>
Methods inherited from <a href="wx._core.html#Object">wx._core.Object</a>:<br>
<dl><dt><a name="NavigationToolbar2WxAgg-GetClassName"><strong>GetClassName</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#NavigationToolbar2WxAgg-GetClassName">GetClassName</a>(self) -> String<br>
<br>
Returns the class name of the C++ class using wxRTTI.</tt></dd></dl>
<hr>
Data descriptors inherited from <a href="wx._core.html#Object">wx._core.Object</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</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="-Bbox"><strong>Bbox</strong></a>(...)</dt><dd><tt><a href="#-Bbox">Bbox</a>(ll, ur)</tt></dd></dl>
<dl><dt><a name="-Point"><strong>Point</strong></a>(...)</dt><dd><tt><a href="#-Point">Point</a>(x, y)</tt></dd></dl>
<dl><dt><a name="-Value"><strong>Value</strong></a>(...)</dt><dd><tt><a href="#-Value">Value</a>(x)</tt></dd></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>
</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>backend_version</strong> = '2.6.3.2'<br>
<strong>division</strong> = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)</td></tr></table>
@footer@