[Gtk-sharp-list] task list
Fri, 23 Apr 2004 18:00:24 -0400
On Fri, 2004-04-23 at 22:49 +0100, Jeremy Wells wrote:
> is that a gnome specific library or will it work with other
It will work with any windowmanager that supports the extended wm spec.
> is it not possible to send the X server the
> _NET_CLIENT_LIST atom and get a response using the gtk-sharp
> libraries... i noticed there is an atom class, but I haven't found
> anything that'll let me get the window list back.
You might be able to do it with Gdk.Property.Get, but the gtk docs warn:
The XGetWindowProperty() function that gdk_property_get() uses
has a very confusing and complicated set of semantics.
Unfortunately, gdk_property_get() makes the situation worse
instead of better (the semantics should be considered
undefined), and also prints warnings to stderr in cases where it
should return a useful error to the program. You are advised to
use XGetWindowProperty() directly until a replacement function
for gdk_property_get() is provided.