X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..b4eecebd423df0c6efe86d7658cd3df818d67ed8:/wxPython/demo/data/widgetTest.htm diff --git a/wxPython/demo/data/widgetTest.htm b/wxPython/demo/data/widgetTest.htm index 22d6398914..38e0297189 100644 --- a/wxPython/demo/data/widgetTest.htm +++ b/wxPython/demo/data/widgetTest.htm @@ -1,27 +1,39 @@ + + + wxHTML does wxPython!

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%">
+<center><wxp module="wx" class="Button" width="50%">
     <param name="label" value="It works!">
-    <param name="id"    value="wxID_OK">
+    <param name="id"    value="ID_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. @@ -46,7 +58,7 @@ parameter value. Source code is here.


Recognize this one?
- +