dabo Commit Revision 4647 Date: 2008-11-03 07:14:33 -0800 (Mon, 03 Nov 2008) Author: Paul Trac: http://svn.dabodev.com/trac/dabo/changeset/4647
Changed: U trunk/demo/samples/dGauge.py Log: Added self-test code to the dGauge sample. This doesn't crash on my system, so it is something in the DaboDemo harness. Diff: Modified: trunk/demo/samples/dGauge.py =================================================================== --- trunk/demo/samples/dGauge.py 2008-11-03 12:27:44 UTC (rev 4646) +++ trunk/demo/samples/dGauge.py 2008-11-03 15:14:33 UTC (rev 4647) @@ -72,3 +72,13 @@ <p>Gauges do not raise any events, or respond to user interaction. They are simply a convenient way to display the progress of a task or process.</p> """ + +if __name__ == "__main__": + app = dabo.dApp(MainFormClass=None) + app.setup() + frm = dabo.ui.dForm() + pan = TestPanel(frm) + frm.Sizer.append1x(pan) + frm.show() + app.start() + _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
