From: kimura w. <ki...@us...> - 2005-09-22 12:31:31
|
Hi, Thu, 22 Sep 2005 11:23:01 +0100, Jonathan Paisley wrote: >On 22 Sep 2005, at 1:21, Dave Howell wrote: > >> I'm trying to put images on an otherwise blank screen. The >> following code should do that, however, it errors out with >> "uninitialized constant OSX::NScreenSaverWindowLevel" if the two >> lines that are commented out are enabled. >> >> #windowLevel = (OSX::NSWindow::NScreenSaverWindowLevel) # >> this fails >> >> How do I get those constants defined? > >(1) Reference OSX:: directly rather than OSX::NSWindow:: >(2) Spell NSScreenSaverWindowLevel correctly :) > > NScreenSaverWindowLevel >vs. > NSScreenSaverWindowLevel > > and.. The version 0.4.1 or earlier does not support constants about WindowLevel for a technical reason. The constants are available in CVS later 2005-07-16. -- kimura wataru |