discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Draw on Xwindow directly without NSWindow


From: Yen-Ju Chen
Subject: Re: Draw on Xwindow directly without NSWindow
Date: Thu, 4 May 2006 00:03:33 -0700

On 5/3/06, Fred Kiefer <fredkiefer@gmx.de> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]