Methods
|
|
|
|
clickCB
|
clickCB ( self, event )
Called when someone clicks on the icon.
|
|
cornerTabCoords
|
cornerTabCoords ( self )
Return (top, bottom_right, bottom_left) for the corner tab triangle.
|
|
createImage
|
createImage ( self )
Draws the icon representation.
|
|
drawClosed
|
drawClosed ( self )
Draw the icon in closed state.
|
|
drawOpen
|
drawOpen ( self )
Draw the icon in open state.
|
|
getUL
|
getUL ( self )
Returns the upper left corner of the icon.
|
|
outlineClosedCoords
|
outlineClosedCoords ( self )
Returns the coordinates when the icon is closed.
|
|
outlineOpenCoords
|
outlineOpenCoords ( self )
Return outline coordinates when in open state.
|
|
redraw
|
redraw ( self )
Draw the icon in the current state.
|
|
set_geometry
|
set_geometry (
self,
width=None,
height=None,
)
Set the width and height of the icon.
The aspect ratio defined for the icon is respected.
Arguments
-
width New width value.
-
height New height value
|
|
set_state
|
set_state ( self, new_state )
Set the current state of the widget and then redraw.
|
|
shadowClosedCoords
|
shadowClosedCoords ( self )
Returns the shadow coordinates when in the closed state.
|
|
shadowOpenCoords
|
shadowOpenCoords ( self )
Return shadow coordinates when in open state.
|