Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Module ticker :: Class Ticker |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ |Control
--+ |PyControl
--+ | Ticker
Method Summary | |
---|---|
__init__(self,
parent,
id,
text,
fgcolor,
bgcolor,
start,
ppf,
fps,
direction,
pos,
size,
style,
name)
| |
Non-interactive, so don't accept focus | |
Width we don't care about, height is either -1, or the character height of our text with a little extra padding | |
Draws the ticker text at the current offset using the provided DC | |
GetDirection(self)
| |
Update speed of the ticker | |
Pixels per frame | |
GetText(self)
| |
Is the ticker ticking? ie, is the text moving? | |
Noop because of double buffering | |
OnPaint(self,
evt)
| |
OnTick(self,
evt)
| |
Sets the direction of the ticker: right to left(rtl) or left to right (ltr) | |
SetFont(self,
font)
| |
Adjust the update speed of the ticker | |
Set the number of pixels per frame the ticker moves - ie, how "jumpy" it is | |
Set the ticker text. | |
Don't get colours from our parent... | |
Starts the text moving | |
Stop moving the text | |
Updates the cached text extent if needed |
Property Summary |
---|
Instance Method Details |
---|
AcceptsFocus(self)Non-interactive, so don't accept focus
|
DoGetBestSize(self)Width we don't care about, height is either -1, or the character height of our text with a little extra padding
|
DrawText(self, dc)Draws the ticker text at the current offset using the provided DC |
GetFPS(self)Update speed of the ticker |
GetPPF(self)Pixels per frame |
IsTicking(self)Is the ticker ticking? ie, is the text moving? |
OnErase(self, evt)Noop because of double buffering |
SetDirection(self, dir)Sets the direction of the ticker: right to left(rtl) or left to right (ltr) |
SetFPS(self, fps)Adjust the update speed of the ticker |
SetPPF(self, ppf)Set the number of pixels per frame the ticker moves - ie, how "jumpy" it is |
SetText(self, text)Set the ticker text. |
ShouldInheritColours(self)Don't get colours from our parent...
|
Start(self)Starts the text moving |
Stop(self)Stop moving the text |
UpdateExtent(self, dc)Updates the cached text extent if needed |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:07:08 2007 | http://epydoc.sf.net |