<?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="write('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="write('hello from Python oncommand')"/>

    <commandset id="cmdset">
        <command id="menu-file-test-python:command"
                 oncommand="write('You selected a command implemented in Python');"/>
    </commandset>

</overlay>