On 5/3/06, Fred Kiefer <[EMAIL PROTECTED]> wrote:
[snip]

You shoudl be aware that after wrapping the X window inside of the
NSWindow, the later is responcible of freeing the X window. You should
not be doing this yourself. Also notice that you have to provide a
pointer to the X window not the window itself. I did this to match up
with the existing windowDevice: method.

Thank you very much.
It works as your example.
I will test it on a more complicated environment later.
Another thing to pay attention is that the parent window must be
mapped before NSWindow can be -orderFront:.

Yen-Ju


Cheers
Fred



_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to