<!-- example of a widget described in XML --> <widget> <debug>on</debug> <window title="Sample Konfabulator Widget"> <name>main_window</name> <width>500</width> <height>500</height> </window> <image src="image/sun.png" name="sun1"> <hoffset>250</hoffset> ... <voffset>250</voffset> <alignment>center</alignment> </image> <text data="Click Here" size="36" style="bold"> <name>text1</name> <hoffset>250</hoffset> <voffset>100</voffset> <alignment>center</alignment> <onmouseup>sun1.opacity = (sun1.opacity / 100) * 90;</onmouseup> </text> </widget>