[Gtk-sharp-list] Gtk.Property.Change

Kyku kyku at os.pl
Wed Jun 15 04:38:33 EDT 2005


Hello,
I'd like to implement "always on top" functionality in my sticky notes
application. After searching google on how to to it, I found the
following Xlib solution:

data = 4;
XChangeProperty (osd->display,
                 osd->window,
                 XInternAtom (osd->display, "_WIN_LAYER", False),
                 XA_CARDINAL,
                 32,
                 PropModeReplace,
                 (unsigned char*)&data,
                 1);

I smiled, launched monodoc and started searching for something
equivalent. I found it almost immediatelly (and smiled even more):

public static byte Change (Window window, Atom property, Atom type, int
format, PropMode mode, int nelements)

But then, my good humour disappeared... how the heck do I specify the
data of the property?


------------------------------
      Radio internetowe
   http://www.radioparty.pl
w kazdy piatek i sobote transmisje
   na zywo z klubu energy 2000
       od 22 do 4 rano



More information about the Gtk-sharp-list mailing list