discuss-gnustep
[Top][All Lists]
Advanced

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

RE: root window


From: Enrico Sersale
Subject: RE: root window
Date: Fri, 2 Feb 2001 14:07:03 +0200 (EET)

On Wed, 31 Jan 2001, Adam Fedor wrote:

> 
> Is there a system to get a NSWindow* representation of the X RootWindow ?
> 
> [NSApp windowWithWindowNumber: 0] doesn't seem to work...
> 
> 
> DPScurrentserverdevice() will give you a pointer to the X-Display
> 
> DPScurrentwindowdevice() will give you a pointer to the X window id. 
> 
> See AppKit/DPSOperators.h. I suppose I need to document this :). I think one
> of those will give you what you want.
> 

Well, I tried this and I've got a Window*.
 
Now the problem is: how to have a NSWindow*. 






reply via email to

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