[Gtk-sharp-list] task list

Jeremy Wells jeremy@olicomp.com
Fri, 23 Apr 2004 23:52:11 +0100


yea ok so i've got linking to libwnck kinda working, ie i can get back
the glist of windows (i can count them) but... after looking at the
libwnck source i notice that the windows are gobjects, and i don't know
how to expose them into c#. Is there any documentation on this process
from how it was done with the gtk libraries?

Jeremy

On Fri, 2004-04-23 at 23:00, Dan Winship wrote:
> On Fri, 2004-04-23 at 22:49 +0100, Jeremy Wells wrote:
> > is that a gnome specific library or will it work with other
> > windowmanagers?
> 
> 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.
> 
> -- Dan
> 
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list