Mixing wxPython and wxHTML

The widgets on this page were created dynamically on the fly by a custom wxTagHandler found in wx.lib.wxpTag. You can look at the sources and doc-string in the wxPython library at wx/lib/wxpTag.py.

The button below is added to the page like this:

<center><wxp module="wx" class="Button" width="50%">
    <param name="label" value="It works!">
    <param name="id"    value="ID_OK">
</wxp></center>