Trees | Indices | Help |
|
---|
|
object --+ | SubLayer
A specific display element or control on a Layer in a ToolSpace.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
action when clicked, calls action(x, y, event) |
|||
scroll when mouse-scroll-wheeled upon, calls scroll(x, y, event, offset) |
|||
mouse_move when the mouse moves over it, calls mouse_move(x, y, event) |
|||
mouse_drag when the mouse moves with the button down, calls mouse_drag(x, y, event) |
|||
enter when the mouse enters, calls mouse_enter(x, y, event) |
|||
exit when the mouse leaves, calls mouse_exit() |
|||
x number of 'M' widths between Layer's left and SubLayer's left |
|||
y number of 'M' widths between Layer's top and SubLayer's top |
|||
w actual width, in pixels |
|||
h actual height, in pixels |
|||
cBG background COLORREF, or None for transparent |
|||
OnChangeTooltip WeakEvent(SubLayer) |
|||
OnHideTooltip WeakEvent(SubLayer) subclasses can call to request tooltip hide |
|||
OnInvalidate WeakEvent(SubLayer) called when it needs repainting |
|||
border width of border in pixels |
|||
cBorder border COLORREF |
|||
invalid True if it needs to be repainted |
|||
rq_h requested height, in 'M' units |
|||
rq_w requested width, in 'M' units |
|
|||
layer | |||
tooltip | |||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Returns True if (x, y) Layer-relative coordinates are inside this SubLayer.
|
Override this method to paint the SubLayer. Don't forget to call SubLayer.draw(context, w, h, appearance). |
|
actionwhen clicked, calls action(x, y, event)
|
scrollwhen mouse-scroll-wheeled upon, calls scroll(x, y, event, offset)
|
mouse_movewhen the mouse moves over it, calls mouse_move(x, y, event)
|
mouse_dragwhen the mouse moves with the button down, calls mouse_drag(x, y, event)
|
enterwhen the mouse enters, calls mouse_enter(x, y, event)
|
exitwhen the mouse leaves, calls mouse_exit()
|
xnumber of 'M' widths between Layer's left and SubLayer's left
|
ynumber of 'M' widths between Layer's top and SubLayer's top
|
wactual width, in pixels
|
hactual height, in pixels
|
cBGbackground COLORREF, or None for transparent
|
|
layer
|
tooltip
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Dec 15 19:07:38 2017 | http://epydoc.sourceforge.net |