Text¶
-
class
guerilla.
Text
¶ Bases:
guerilla.Window
A static text window, that can display text with user defined style, font and color
-
setfont
(font, size)¶ Set the
Text
window font and size.This function changes the text font properties. Note that font names are system dependent. Use Text.normal and Text.boldto use predefined fonts.
param font: The text font face name, or nil for default font type font: str or None param size: The text size type size: number
-