[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Get Window ID with SWT.

How to get the window ID with the SWT ? 



Get Window ID with SWT.

Hi all!

Perhaps to integrate other graphical applications with the SWT it is necessary to get the
ID of window SWT. With this ID it is possible to redirect a window of the XLIB for window SWT.


Ex: to get ID GDK_DRAWABLE_XID() 
(http://www-eleves-isia.cma.fr/documentation/GtkDoc/gdk/gdk-x-window-system-interaction.html#GDK-DRAWABLE-XID-CAPS)

I need window id (0x3600007) of the command on Linux xwininfo below:


xwininfo: Window id: 0x3600007 "root@almerindo:~/install - Shell - Konsole"

  Absolute upper-left X:  3
  Absolute upper-left Y:  29
  Relative upper-left X:  0
...




How to get the window ID with the SWT ?