X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a693e6e0460b6b3c32e4b6f114a3ab7b7cd24ea..f6bcfd974ef26faf6f91a62cac09827e09463fd1:/wxPython/demo/data/widgetTest.htm diff --git a/wxPython/demo/data/widgetTest.htm b/wxPython/demo/data/widgetTest.htm new file mode 100644 index 0000000000..22d6398914 --- /dev/null +++ b/wxPython/demo/data/widgetTest.htm @@ -0,0 +1,58 @@ + + +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 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. +

+


+

+This is the same widget reused three times, each with a different +parameter value. Source code is here. +

+ + + + + + + + + + + + +


+ +Recognize this one?
+ + + +


+You can also embed other wxHtmlWindows!
+

+ + +
+