Lines Matching defs:window

41  * set the values for a particular window. <p> <p>
44 * Example usage : To set the window name for a top level: <p>
47 * xa.setProperty(window,"Hello World");<p></code>
281 /** Sets the window property for the specified window
282 * @param window window id to use
286 public void setProperty(long window, String str) {
290 checkWindow(window);
293 XlibWrapper.SetProperty(display,window,atom,str);
302 public void setPropertyUTF8(long window, String str) {
307 checkWindow(window);
315 setAtomData(window, XA_UTF8_STRING.atom, bdata);
322 public void setProperty8(long window, String str) {
326 checkWindow(window);
334 setAtomData(window, XA_STRING, bdata);
339 /** Gets the window property for the specified window
340 * @param window window id to use
345 public String getProperty(long window) {
349 checkWindow(window);
352 return XlibWrapper.GetProperty(display,window,atom);
361 * 'property_type' on window 'window'. Format of the property must be 32.
363 public long get32Property(long window, long property_type) {
367 checkWindow(window);
369 new WindowPropertyGetter(window, this, 0, 1,
386 * Returns value of property of type CARDINAL/32 of this window
388 public long getCard32Property(XBaseWindow window) {
389 return get32Property(window.getWindow(), XA_CARDINAL);
393 * Sets property of type CARDINAL on the window
395 public void setCard32Property(long window, long value) {
399 checkWindow(window);
403 XlibWrapper.XChangeProperty(XToolkit.getDisplay(), window,
412 * Sets property of type CARDINAL/32 on the window
414 public void setCard32Property(XBaseWindow window, long value) {
415 setCard32Property(window.getWindow(), value);
425 public boolean getAtomData(long window, long data_ptr, int length) {
429 checkWindow(window);
431 new WindowPropertyGetter(window, this, 0, (long)length,
459 public boolean getAtomData(long window, long type, long data_ptr, int length) {
463 checkWindow(window);
465 new WindowPropertyGetter(window, this, 0, (long)length,
492 public void setAtomData(long window, long data_ptr, int length) {
496 checkWindow(window);
499 XlibWrapper.XChangeProperty(XToolkit.getDisplay(), window,
513 public void setAtomData(long window, long type, long data_ptr, int length) {
517 checkWindow(window);
520 XlibWrapper.XChangeProperty(XToolkit.getDisplay(), window,
534 public void setAtomData8(long window, long type, long data_ptr, int length) {
538 checkWindow(window);
541 XlibWrapper.XChangeProperty(XToolkit.getDisplay(), window,
550 * Deletes property specified by this item on the window.
552 public void DeleteProperty(long window) {
556 checkWindow(window);
559 XlibWrapper.XDeleteProperty(XToolkit.getDisplay(), window, atom);
566 * Deletes property specified by this item on the window.
568 public void DeleteProperty(XBaseWindow window) {
572 checkWindow(window.getWindow());
576 window.getWindow(), atom);
582 public void setAtomData(long window, long property_type, byte[] data) {
585 setAtomData8(window, property_type, bdata, data.length);
593 * 'property_type' on window 'window'. Format of the property must be 8.
595 public byte[] getByteArrayProperty(long window, long property_type) {
599 checkWindow(window);
601 new WindowPropertyGetter(window, this, 0, 0xFFFF,
666 XAtom[] getAtomListProperty(long window) {
670 checkWindow(window);
673 new WindowPropertyGetter(window, this, 0, 0xFFFF,
704 XAtomList getAtomListPropertyList(long window) {
705 return new XAtomList(getAtomListProperty(window));
707 XAtomList getAtomListPropertyList(XBaseWindow window) {
708 return getAtomListPropertyList(window.getWindow());
710 XAtom[] getAtomListProperty(XBaseWindow window) {
711 return getAtomListProperty(window.getWindow());
717 void setAtomListProperty(long window, XAtom[] atoms) {
719 setAtomData(window, XAtom.XA_ATOM, data, atoms.length);
726 void setAtomListProperty(long window, XAtomList atoms) {
728 setAtomData(window, XAtom.XA_ATOM, data, atoms.size());
734 public void setAtomListProperty(XBaseWindow window, XAtom[] atoms) {
735 setAtomListProperty(window.getWindow(), atoms);
741 public void setAtomListProperty(XBaseWindow window, XAtomList atoms) {
742 setAtomListProperty(window.getWindow(), atoms);
770 void checkWindow(long window) {
771 if (window == 0) {
788 * Sets property on the <code>window</code> to the value <code>window_value</window>
791 public void setWindowProperty(long window, long window_value) {
795 checkWindow(window);
799 XlibWrapper.XChangeProperty(XToolkit.getDisplay(), window,
806 public void setWindowProperty(XBaseWindow window, XBaseWindow window_value) {
807 setWindowProperty(window.getWindow(), window_value.getWindow());
811 * Gets property on the <code>window</code>. Property is assumed to be
814 public long getWindowProperty(long window) {
818 checkWindow(window);
820 new WindowPropertyGetter(window, this, 0, 1,