Re: Fullscreen application running?
- From: Edward Catmur <ed catmur co uk>
- To: gtk-app-devel-list gnome org
- Subject: Re: Fullscreen application running?
- Date: Fri, 18 Aug 2006 20:48:40 +0100
On Fri, 2006-08-18 at 15:13 +0530, Unique User wrote:
Hi All,
I am writing an application which pops up a message at random
interval. Before showing the message, I want to check whether a full
screen application(movie,game etc.) is running. How can I do this? I am
writing this application in pygtk.
Look at fullscreen_window_exists() in src/daemon.c in
notification-daemon (0.3.5 tarball, or in trac[1]).
It's in C, but should be fairly trivial to port to Python.
You'll need wnck-python, which is in gnome-python-desktop.
Ed
[1]
http://trac.galago-project.org/browser/trunk/notification-daemon/src/daemon.c?rev=2550
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]