__init__ | |
AcceptsFocus | Non-interactive, so don’t accept focus |
DoGetBestSize | Width we don’t care about, height is either -1, or the character |
DrawText | Draws the ticker text at the current offset using the provided DC |
GetDirection | |
GetFPS | Update speed of the ticker |
GetPPF | Pixels per frame |
GetText | |
IsTicking | Is the ticker ticking? ie, is the text moving? |
OnErase | Noop because of double buffering |
OnPaint | |
OnTick | |
SetDirection | Sets the direction of the ticker: right to left(rtl) or left to right (ltr) |
SetFont | |
SetFPS | Adjust the update speed of the ticker |
SetPPF | Set the number of pixels per frame the ticker moves - ie, how “jumpy” it is |
SetText | Set the ticker text. |
ShouldInheritColours | Don’t get colours from our parent... |
Start | Starts the text moving |
Stop | Stop moving the text |
UpdateExtent | Updates the cached text extent if needed |
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
Update speed of the ticker
Pixels per frame
Is the ticker ticking? ie, is the text moving?
Noop because of double buffering
Sets the direction of the ticker: right to left(rtl) or left to right (ltr)
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