Table of Contents

Class: FileFolder PmwContribD-r2_0_1/AnimatedFolder.py

A folder icon which can be used by the TreeNavigator.

Base Classes   
AnimatedIcon.AnimatedIcon
Methods   
clickCB
createImage
drawClosed
drawOpen
frontFlapClosedCoords
frontFlapOpenCoords
getUL
get_state
outlineClosedCoords
outlineOpenCoords
redraw
set_geometry
set_state
shadowClosedCoords
shadowOpenCoords
  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.


Table of Contents

This document was automatically generated on Mon Sep 17 17:47:46 2001 by HappyDoc version r2_0