[Gtk-sharp-list] Grab information from desktop windows

Stuart Jansen Stuart Jansen <stuart.jansen@gmail.com>
Sat, 16 Oct 2004 09:56:47 -0600

On Sat, 16 Oct 2004 00:19:46 +0200, =D0=A2=D0=BE=D0=BC=D0=B8=D1=81=D0=BB=D0=
=B0=D0=B2 =D0=9C=D0=B0=D1=80=D0=BA=D0=BE=D0=B2=D1=81=D0=BA=D0=B8
<tome@users.ossm.org.mk> wrote:
> Hello,
> How can I use the gnome/gtk# libraries to grab information from other
> desktop windows. For example, I would like to know what menu items are
> there in other open windows (perhaps only gtk windows or so).
> Is this possible at all?

Do you mean you want to access the internals of another process
without it's permission? No. This is a basic security question. If you
want to find out about the state of another process, you're going to
have to ask it nicely using IPC. Although maybe one could take
advantage of the accessibility framework...

Stuart Jansen

"The gods do not protect fools. Fools are protected by more capable fools."
 - Larry Niven, Ringworld