running commands on stop

2008-03-08 Thread Jerry Dunmire
Is there a way to run commands when the Stop button on the ToolBar is pressed? I am working on an activity that starts a co-process and I want to terminate the co-process when the activity is stopped. Since I am new to python and sugar, any advice on how to look this information up would be

Re: running commands on stop

2008-03-08 Thread Marco Pesenti Gritti
On Sun, Mar 9, 2008 at 12:59 AM, Jerry Dunmire [EMAIL PROTECTED] wrote: Is there a way to run commands when the Stop button on the ToolBar is pressed? I am working on an activity that starts a co-process and I want to terminate the co-process when the activity is stopped. Since I am new to