Package wx :: Module animate :: Class GIFAnimationCtrl
[frames | no frames]

Type GIFAnimationCtrl

object --+                
         |                
    Object --+            
             |            
    EvtHandler --+        
                 |        
            Window --+    
                     |    
               Control --+
                         |
                        GIFAnimationCtrl


Proxy of C++ GIFAnimationCtrl class


Method Summary
Control __init__(self, parent, id, pos, size, style, validator, name)
Create a Control.
  __repr__(self)
bool Create(self, parent, id, pos, size, style, validator, name)
Do the 2nd phase and create the GUI control.
  FitToAnimation(self)
AnimationBase GetAnimation(self)
String GetFilename(self)
AnimationPlayer GetPlayer(self)
bool IsPlaying(self)
bool LoadFile(self, filename)
bool Play(self, looped)
  SetFilename(self, filename)
  Stop(self)

Instance Method Details

__init__(self, parent, id=-1, filename=EmptyString, pos=DefaultPosition, size=DefaultSize, style=wxAN_FIT_ANIMATION|wxNO_BORDER, name=AnimationControlNameStr)
(Constructor)

Create a Control. Normally you should only call this from a subclass' __init__ as a plain old wx.Control is not very useful.

Parameters:
parent
           (type=Window)

id
           (type=int)

pos
           (type=Point)

size
           (type=Size)

style
           (type=long)

validator
           (type=Validator)

name
           (type=String)

Returns:
Control
Overrides:
wx.Control.__init__ (inherited documentation)

Create(self, parent, id=-1, filename=EmptyString, pos=DefaultPosition, size=DefaultSize, style=wxAN_FIT_ANIMATION|wxNO_BORDER, name=AnimationControlNameStr)

Do the 2nd phase and create the GUI control.

Parameters:
parent
           (type=Window)

id
           (type=int)

pos
           (type=Point)

size
           (type=Size)

style
           (type=long)

validator
           (type=Validator)

name
           (type=String)

Returns:
bool
Overrides:
wx.Control.Create (inherited documentation)

Generated by Epydoc 2.1.20050511.rpd on Sun Mar 26 10:02:00 2006 http://epydoc.sf.net