Пример #1
0
	extern public static XStatus XStringListToTextProperty
			(IntPtr[] argv, int argc, ref XTextProperty textprop);
Пример #2
0
	extern public static void XSetTextProperty
			(IntPtr display, XWindow w, ref XTextProperty textProp,
			 XAtom property);
	private void SetTextProperty(IntPtr display, XWindow handle,
								 String property, String[] value)
			{
				XTextProperty textprop = new XTextProperty();
				if(textprop.SetText(value))
				{
					Xlib.XSetTextProperty
						(display, handle, ref textprop,
						 Xlib.XInternAtom(display, property, XBool.False));
					textprop.Free();
				}
			}