For examples and more explanations, see the module level docs.
TextDisplayer(...) -> new TextDisplayer Pygame component.
Keyword arguments:
Default (500, 300).
text_height -- font size. Default 18.
Default is a pale yellow.
Default is black.
upper left corner in relation to the Pygame window. Default (0,0)
Initialises
requests a display surface from the PygameDisplay service, fills the color in, and copies it
Main loop
Checks for control messages
Updates text to the bottom of the screen while scrolling old text upwards. Delegates most of the work to updateLine
Updates one line of text to bottom of screen, scrolling old text upwards.
Got a problem with the documentation? Something unclear that could be clearer? Want to help improve it? Constructive criticism is very welcome - especially if you can suggest a better rewording!
Please leave you feedback here in reply to the documentation thread in the Kamaelia blog.
-- Automatic documentation generator, 19 Oct 2008 at 14:29:09 UTC/GMT