X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..1e4a197e4c60e461b8068b0619692ea083e30b8b:/wxPython/demo/data/widgetTest.htm diff --git a/wxPython/demo/data/widgetTest.htm b/wxPython/demo/data/widgetTest.htm index 22d6398914..c88f019b7f 100644 --- a/wxPython/demo/data/widgetTest.htm +++ b/wxPython/demo/data/widgetTest.htm @@ -4,24 +4,30 @@

Mixing wxPython and wxHTML

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

The button below is added to the page like this: +

 <center><wxp class="wxButton" width="50%">
     <param name="label" value="It works!">
     <param name="id"    value="wxID_OK">
 </wxp></center>
 
+
+
+

Notice that the button click event is actually caught by the panel that contains this window, which then logs it in the window below.