Overview Scripts tileedit | leveledit | tganew | levelfancy Reference algo | ani | engine | fonts | high | html | layout | text | timer | vid Tutorials 1 | 2 | 3 | 4 | 5 GUI Ref. theme | style | widget | surface | const Containers container | app | table | document | area Forms form | group Widgets basic | button | input | keysym | slider | select | misc Other menus | dialog Tutorials 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
html
a html renderer
HTML
a gui HTML object
HTML(data,globals=None,locals=None)
you may access html elements that have an id via widget[id] render
render some html
render(font,rect,text,aa,color,bgcolor=(0,0,0,0)) rendertrim
render html, and make sure to trim the size
rendertrim(font,rect,text,aa,color,bgcolor=(0,0,0,0)) write
write html to a surface
write(s,font,rect,text,aa=0,color=(0,0,0)) |