Author: remi
Date: 2009-03-12 22:42:23 +0100 (Thu, 12 Mar 2009)
New Revision: 4034
Modified:
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/gadgets/GadgetsContainer.py
Log:
* added a function to stop all gadgets
Modified:
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/gadgets/GadgetsContainer.py
===================================================================
---
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/gadgets/GadgetsContainer.py
2009-03-12 21:18:20 UTC (rev 4033)
+++
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/gadgets/GadgetsContainer.py
2009-03-12 21:42:23 UTC (rev 4034)
@@ -196,3 +196,13 @@
@return: A Gadget object or None.
"""
return self.getGadgetByName(gadgetName)
+
+ #
--------------------------------------------------------------------------
+ # Stop all started gadgets.
+ #
--------------------------------------------------------------------------
+ def stopAllGadgets(self):
+ """Stop all started gadgets.
+ @return: The success of the command.
+ """
+ cmd = "gadget_framework/stop_all_gadgets?"
+ return self._sendCommandBooleanResult(cmd)
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn