[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Getting GNOME panal information..



Rus Hughes <rus@carpathia.force9.co.uk> writes:
> 
> Is it possible to get information on all the GNOME panals that are
> running, e.g. whether they are on the top/bottom/left/right and their
> width/height ?
> 

Yes, but it will involve using Xlib and the EWMH (window manager) spec
on http://www.freedesktop.org/

"libwnck" in GNOME 2 has a bunch of example code.

You almost definitely don't want to do this in applications, the
window manager should be taking care of things like not putting the
app underneath a panel for you. Apps are not supposed to try to handle
that because it would break the details of window manager behavior.

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]