
wx.lib.ogl.lines.LabelShape¶The label shape class.
Class Hierarchy¶
Inheritance diagram for class LabelShape:

Known Superclasses¶wx.lib.ogl.basic.RectangleShape
Methods Summary¶Default class constructor. |
|
The begin drag left handler. |
|
The drag left handler. |
|
The draw handler. |
|
not implemented??? |
|
The end drag left handler. |
|
The left click handler. |
|
The move ‘pre’ handler.??? |
|
The right click handler. |
Class API¶LabelShape(RectangleShape)¶The label shape class.
__init__(self, parent, region, w, h)¶Default class constructor.
parent – the parent an instance of Line
region – the shape region an instance of ShapeRegion
w – width in points
h – height in points
OnBeginDragLeft(self, x, y, keys = 0, attachment = 0)¶The begin drag left handler.
OnDragLeft(self, draw, x, y, keys = 0, attachment = 0)¶The drag left handler.
OnDraw(self, dc)¶The draw handler.
OnDrawContents(self, dc)¶not implemented???
OnEndDragLeft(self, x, y, keys = 0, attachment = 0)¶The end drag left handler.
OnLeftClick(self, x, y, keys = 0, attachment = 0)¶The left click handler.
OnMovePre(self, dc, x, y, old_x, old_y, display)¶The move ‘pre’ handler.???
OnRightClick(self, x, y, keys = 0, attachment = 0)¶The right click handler.