Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Problem embedding native windows.
Problem embedding native windows. [message #545463] Wed, 07 July 2010 21:14
Lucas Anselmo is currently offline Lucas AnselmoFriend
Messages: 1
Registered: July 2009
Junior Member
Hi guys,

I am facing a problem in embedding and unembedding native windows in a SWT composite.

I am using an Composite with SWT.EMBEDDED.

In Windows after umbed and unembed a native window sing OS.setParent , I am able to dispose the composite without problems. The native window stills open in the system.

But, in Linux I´ve used a JNI calls to XReparentWindow to perform the embed and unembed .
After unembed a native window, reparenting it to X11 hierarchy, If I dispose the composite, even it not being anymore the parent of native window, the native window is closed.

Anyone can help me with this issue? Is it any SWT bug?
Thanks is advance.

Lucas.

Previous Topic:Re: Transparent FormText
Next Topic:Setting the size of an empty Text widget
Goto Forum:
  


Current Time: Thu Apr 25 20:12:49 GMT 2024

Powered by FUDForum. Page generated in 0.03771 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top