Thanks, Tomeu. I need to turn off some drawing code when the user switches to Home View (why waste so much of CPU power in the meanwhile) How can I do that ?
thanks, Arjun On 10/30/07, Tomeu Vizoso <[EMAIL PROTECTED]> wrote: > > Hi Arjun, > > On Tue, 2007-10-30 at 02:15 +0530, Arjun Sarwal wrote: > > (have posted to devel but realized this query is more suitable for > > posting on sugar) > > > > Say I have Activity A and I then go to Home View and open Activity B. > > At which point of opening of Activity B, does Activity A get to know > > that it is a background activity (inactive Activity) ? > > Is it immediately upon clicking the icon of Activity B ? > > The 'active' property in Activity A will be set to False when the window > of the Activity B opens (when the window manager tells the sugar shell > than that window has popped up). > > Tomeu > > -- Arjun Sarwal <[EMAIL PROTECTED]>
_______________________________________________ Sugar mailing list [email protected] http://lists.laptop.org/listinfo/sugar

