1 Apr 20:00
Re: active activity?
Tomeu Vizoso <tomeu <at> tomeuvizoso.net>
2007-04-01 18:00:53 GMT
2007-04-01 18:00:53 GMT
On Sun, 2007-04-01 at 11:34 -0400, Erik Blankinship wrote: > Hello > > What is the preferred way for an activity to know & be notified if it > is the "current" / "in the frame" / "top of the stack" activity? > > Maybe I should add a GTK listener on my activity (which extends > activity.Activity)? If so, which one is recommended: > has-toplevel-focus, is-active? > > Does this sound like the correct way to proceed? Hi Eric, I've been using focus-out-event/focus-in-event on the Activity (gtk.Window). I think TamTam also uses that for pausing/resuming sound. HTH, Tomeu
RSS Feed