[sugar] Notify active event firing

Tomeu Vizoso tomeu
Tue Oct 30 12:16:55 EDT 2007


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




More information about the Sugar-devel mailing list