Table of Contents

Class: AnimatedFileIcon PmwContribD-r2_0_1/AnimatedFileIcon.py

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


Table of Contents

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