Files
Mozilla/mozilla/extensions/python/dom/test/pyxultest/python_overlay.xul
mhammond%skippinet.com.au 8e66ae6d1a scripttype->script-type
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@181461 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-03 09:51:50 +00:00

22 lines
702 B
XML

<?xml version="1.0"?>
<overlay id="python_overlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
script-type="application/x-python"
>
<hbox id="language_box">
<button id="but_python" label="click for Python"
oncommand="print 'hello from Python'"/>
</hbox>
<!-- The intent here is to test a XUL element merged from multiple
overlays, each with a different default script language, and each
setting a simple event handler string.
This Python version uses 'oncommand', the JS version uses 'onclick'
-->
<button id="but_multi"
oncommand="print 'hello from Python oncommand'"/>
</overlay>