1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
|
.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2018 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. currentmodule:: wx.lib.floatcanvas.GUIMode
.. highlight:: python
.. _wx.lib.floatcanvas.GUIMode.GUIBase:
==========================================================================================================================================
|phoenix_title| **wx.lib.floatcanvas.GUIMode.GUIBase**
==========================================================================================================================================
Basic Mouse mode and baseclass for other GUImode.
This one does nothing with any event
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html
<div id="toggleBlock" onclick="return toggleVisibility(this)" class="closed" style="cursor:pointer;">
<img id="toggleBlock-trigger" src="_static/images/closed.png"/>
Inheritance diagram for class <strong>GUIBase</strong>:
</div>
<div id="toggleBlock-summary" style="display:block;"></div>
<div id="toggleBlock-content" style="display:none;">
<p class="graphviz">
<center><img src="_static/images/inheritance/wx.lib.floatcanvas.GUIMode.GUIBase_inheritance.png" alt="Inheritance diagram of GUIBase" usemap="#dummy" class="inheritance"/></center>
</div>
<script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script>
<map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.floatcanvas.GUIMode.GUIBase.html" title="wx.lib.floatcanvas.GUIMode.GUIBase" alt="" coords="5,5,259,35"/> </map>
</p>
|
|sub_classes| Known Subclasses
==============================
:class:`wx.lib.floatcanvas.GUIMode.GUIMouse`, :class:`wx.lib.floatcanvas.GUIMode.GUIMove`, :class:`wx.lib.floatcanvas.GUIMode.GUIZoomIn`, :class:`wx.lib.floatcanvas.GUIMode.GUIZoomOut`
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.lib.floatcanvas.GUIMode.GUIBase.__init__` Default class constructor.
:meth:`~wx.lib.floatcanvas.GUIMode.GUIBase.OnKeyDown`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIBase.OnKeyUp`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIBase.OnLeftDouble`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIBase.OnLeftDown`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIBase.OnLeftUp`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIBase.OnMiddleDouble`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIBase.OnMiddleDown`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIBase.OnMiddleUp`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIBase.OnMove`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIBase.OnRightDouble`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIBase.OnRightDown`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIBase.OnRightUp`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIBase.OnWheel`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIBase.UnSet` this method gets called by FloatCanvas when a new mode is being set
:meth:`~wx.lib.floatcanvas.GUIMode.GUIBase.UpdateScreen` Update gets called if the screen has been repainted in the middle of a zoom in
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: GUIBase(object)
Basic Mouse mode and baseclass for other GUImode.
This one does nothing with any event
.. method:: __init__(self, Canvas=None)
Default class constructor.
:param `Canvas`: the canvas the GUI mode is attached too
.. method:: OnKeyDown(self, event)
.. method:: OnKeyUp(self, event)
.. method:: OnLeftDouble(self, event)
.. method:: OnLeftDown(self, event)
.. method:: OnLeftUp(self, event)
.. method:: OnMiddleDouble(self, event)
.. method:: OnMiddleDown(self, event)
.. method:: OnMiddleUp(self, event)
.. method:: OnMove(self, event)
.. method:: OnRightDouble(self, event)
.. method:: OnRightDown(self, event)
.. method:: OnRightUp(self, event)
.. method:: OnWheel(self, event)
.. method:: UnSet(self)
this method gets called by FloatCanvas when a new mode is being set
on the Canvas
.. method:: UpdateScreen(self)
Update gets called if the screen has been repainted in the middle of a zoom in
so the Rubber Band Box can get updated. Other GUIModes may require something similar
|