A folder icon which can be used by the TreeNavigator.
Methods
|
|
|
|
clickCB
|
clickCB ( self, event )
Called when user clicks on icon.
|
|
createImage
|
createImage ( self )
Create the image for the icon.
|
|
drawClosed
|
drawClosed ( self )
Draw in closed state.
|
|
drawOpen
|
drawOpen ( self )
Draw in open state.
|
|
frontFlapClosedCoords
|
frontFlapClosedCoords ( self )
Returns front flap coordinates when in closed state.
|
|
frontFlapOpenCoords
|
frontFlapOpenCoords ( self )
Returns front flap coordinates when in open state.
|
|
getUL
|
getUL ( self )
Returns the upper left corner coordinates.
|
|
get_state
|
get_state ( self )
Returns the current state.
|
|
outlineClosedCoords
|
outlineClosedCoords ( self )
Returns coordinates of the outline when in closed state.
|
|
outlineOpenCoords
|
outlineOpenCoords ( self )
Returns outline coordinates when in open state.
|
|
redraw
|
redraw ( self )
Redraw in 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 )
Sets the current state and redraws.
|
|
shadowClosedCoords
|
shadowClosedCoords ( self )
Returns shadow coordinates when in closed state.
|
|
shadowOpenCoords
|
shadowOpenCoords ( self )
Returns shadow coordinates when in open state.
|