[Gambas-user] DesktopWatcher doesn't watch...
RICHARD WALKER
richard.j.walker at ...247...
Sun Aug 26 01:41:56 CEST 2012
... or it does but it just won't tell me what it sees:-(
Using Gambas 3.1.1 on Mageia 2 64-bit with desktop (LXDE) spread
across two monitors.
I am trying various techniques to discover if a program starts on the
desktop. My latest effort tries to use a desktop watcher set up as
MyDesktopWatcher = New DestopWatcher(True) as "MyDesktopWatcher"
As far as I can tell from the documentation I should be able to
detect relevant screen activity with event handlers called
MyDesktopWatcher_eventname(possible parameter).
I have created all possible event handlers with action routines to
simply print (to the console) the evidence that they have been
triggered. So far nothing I have done has succeeded in triggering one
of these events; shading, minimising, resizing, opening, all sorts of
things.
I have concluded that I must be misunderstanding how this works. Can
anyone lighten my darkness?
Richard
More information about the User
mailing list