![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /proc/self/root/usr/share/GNUstep/Documentation/Developer/Gui/Additions/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>GSDisplayServer</title> </head> <body> <font face="serif"> <a href="GuiAdditions.html">Up</a> <br /> <h1><a name="title$GSDisplayServer">GSDisplayServer</a></h1> <h3>Authors</h3> <dl> <dt>Adam Fedor (<a href="mailto:fedor@gnu.org"><code>fedor@gnu.org</code></a>)</dt> <dd> </dd> </dl> <blockquote> Abstract display server class. </blockquote> <p><b>Copyright:</b> (C) 2002 Free Software Foundation, Inc.</p> <div> <hr width="50%" align="left" /> <h3>Contents -</h3> <ol> <li> <a href="#001000000000">GSDisplayServer</a> </li> <li> <a href="#002000000000">Software documentation for the GSDisplayServer(EventOps) category</a> </li> <li> <a href="#003000000000">Software documentation for the GSDisplayServer(WindowOps) category</a> </li> </ol> <hr width="50%" align="left" /> </div> <h1><a name="001000000000">GSDisplayServer</a></h1> <p> This is an abstract class which provides a framework for a device independant window server. A window server handles the very basic control of the computer display and input. This includes basic window creation and handling, event handling, cursors, and providing miscellaneous information about the display. </p> <p> Typically a backend library will provide a concrete subclass which implements the device specific methods described below. </p> <p> In almost all cases, you should not call these methods directly in an application. You should use the equivalent methods available elsewhere in the library (e.g. NSWindow, NSScreen, etc). </p> <h2><a name="class$GSDisplayServer">GSDisplayServer</a> : <a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSObject.html#class$NSObject">NSObject</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>GNUstepGUI/GSDisplayServer.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="50%" align="left" /> <a href="#_GSDisplayServer_ivars">Instance Variables</a> <br/><br/> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(EventOps)-_printEventQueue">-_printEventQueue</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(EventOps)-discardEventsMatchingMask$beforeEvent$">-discardEventsMatchingMask:beforeEvent:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(EventOps)-getEventMatchingMask$beforeDate$inMode$dequeue$">-getEventMatchingMask:beforeDate:inMode:dequeue:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(EventOps)-postEvent$atStart$">-postEvent:atStart:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-_setWindowOwnedByServer$">-_setWindowOwnedByServer:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-appOwnsMiniwindow">-appOwnsMiniwindow</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-capturemouse$">-capturemouse:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-docedited$$">-docedited::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-flushwindowrect$$">-flushwindowrect::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-freecursor$">-freecursor:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-hidecursor">-hidecursor</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-imagecursor$$$">-imagecursor:::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-miniwindow$">-miniwindow:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-mouseLocationOnScreen$window$">-mouseLocationOnScreen:window:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-mouselocation">-mouselocation</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-movewindow$$">-movewindow::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-nativeWindow$$$$$">-nativeWindow:::::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-orderwindow$$$">-orderwindow:::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-placewindow$$">-placewindow::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-recolorcursor$$$">-recolorcursor:::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-releasemouse">-releasemouse</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setIgnoreMouse$$">-setIgnoreMouse::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setMouseLocation$onScreen$">-setMouseLocation:onScreen:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setParentWindow$forChildWindow$">-setParentWindow:forChildWindow:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setShadow$$">-setShadow::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setWindowdevice$forContext$">-setWindowdevice:forContext:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setalpha$$">-setalpha::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setcursor$">-setcursor:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setcursorcolor$$$">-setcursorcolor:::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setinputfocus$">-setinputfocus:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setinputstate$$">-setinputstate::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setmaxsize$$">-setmaxsize::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setminsize$$">-setminsize::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setresizeincrements$$">-setresizeincrements::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setwindowlevel$$">-setwindowlevel::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-showcursor">-showcursor</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-standardcursor$$">-standardcursor::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-styleoffsets$$$$$">-styleoffsets:::::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-stylewindow$$">-stylewindow::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-termwindow$">-termwindow:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-titlewindow$$">-titlewindow::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-window$$$">-window:::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-window$$$$">-window::::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowbacking$$">-windowbacking::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowbounds$">-windowbounds:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowdepth$">-windowdepth:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowdevice$">-windowdevice:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowlevel$">-windowlevel:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowlist">-windowlist</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+addDragTypes$toWindow$">+addDragTypes:toWindow:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+dragTypesForWindow$">+dragTypesForWindow:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+removeDragTypes$fromWindow$">+removeDragTypes:fromWindow:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+serverWithAttributes$">+serverWithAttributes:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+setCurrentServer$">+setCurrentServer:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+setDefaultServerClass$">+setDefaultServerClass:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-addDragTypes$toWindow$">-addDragTypes:toWindow:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-attributes">-attributes</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-availableDepthsForScreen$">-availableDepthsForScreen:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-beep">-beep</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-boundsForScreen$">-boundsForScreen:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-closeServer">-closeServer</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-contentsOfScreen$inRect$">-contentsOfScreen:inRect:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-dragInfo">-dragInfo</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-dragTypesForWindow$">-dragTypesForWindow:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-findWindowAt$windowRef$excluding$">-findWindowAt:windowRef:excluding:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-glContextClass">-glContextClass</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-glPixelFormatClass">-glPixelFormatClass</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-handlesWindowDecorations">-handlesWindowDecorations</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-iconSize">-iconSize</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-iconTileImage">-iconTileImage</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-initWithAttributes$">-initWithAttributes:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-removeDragTypes$fromWindow$">-removeDragTypes:fromWindow:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-resolutionForScreen$">-resolutionForScreen:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-restrictWindow$toImage$">-restrictWindow:toImage:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-screenList">-screenList</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-serverDevice">-serverDevice</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-slideImage$from$to$">-slideImage:from:to:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowDepthForScreen$">-windowDepthForScreen:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowDevice$">-windowDevice:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$GSDisplayServer+addDragTypes$toWindow$">addDragTypes: toWindow: </a></h3> + (BOOL) <b>addDragTypes:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*)types<b> toWindow:</b> (NSWindow*)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Convienience method that calls <a rel="gsdoc" href="#method$GSDisplayServer-addDragTypes$toWindow$"> -addDragTypes:toWindow: </a> using the server that controls <var>win</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer+dragTypesForWindow$">dragTypesForWindow: </a></h3> + (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSSet.html#class$NSCountedSet">NSCountedSet</a>*) <b>dragTypesForWindow:</b> (NSWindow*)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Convienience method that calls <a rel="gsdoc" href="#method$GSDisplayServer-dragTypesForWindow$"> -dragTypesForWindow: </a> using the server that controls <var>win</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer+removeDragTypes$fromWindow$">removeDragTypes: fromWindow: </a></h3> + (BOOL) <b>removeDragTypes:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*)types<b> fromWindow:</b> (NSWindow*)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Convienience method that calls <a rel="gsdoc" href="#method$GSDisplayServer-removeDragTypes$fromWindow$"> -removeDragTypes:fromWindow: </a> using the server that controls <var>win</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer+serverWithAttributes$">serverWithAttributes: </a></h3> + (<a rel="gsdoc" href="#class$GSDisplayServer">GSDisplayServer</a>*) <b>serverWithAttributes:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSDictionary.html#class$NSDictionary">NSDictionary</a>*)attributes;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Create a window server with <var>attributes</var>, which contains key/value pairs which describe the specifics of how the window server is to be initialized. Typically these values are specific to the concrete implementation. The current set of <var>attributes</var> that can be used with GSDisplayServer is. </p> <p> <ul> <li> GSDisplayName </li> <li> GSDisplayNumber </li> <li> GSScreenNumber </li> </ul> </p> <p> GSDisplayName is window server specific and shouldn't be used when creating a GSDisplayServer (although you can retrieve the value with the <a rel="gsdoc" href="#method$GSDisplayServer-attributes"> -attributes </a> method). On X-Windows the value might be set to something like "host:d.s" where host is the host name, d is the display number and s is the screen number. GSDisplayNumber indicates the number of the display to open. GSScreenNumber indicates the number of the screen to display on. If not explicitly set, these <var>attributes</var> may be taked from environment variables or from other operating specific information. </p> <p> </p> <p> In almost all applications one would only create a single instance of a window server. Although it is possible, it is unlikely that you would need more than one window server (and you would have to be very careful how you handled window creation and events in this case). </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer+setCurrentServer$">setCurrentServer: </a></h3> + (void) <b>setCurrentServer:</b> (<a rel="gsdoc" href="#class$GSDisplayServer">GSDisplayServer</a>*)server;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the current <var>server</var> that will be handling windows, events, etc. This method must be called after a window <var>server</var> is created in order to make it available to the rest of the GUI library </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer+setDefaultServerClass$">setDefaultServerClass: </a></h3> + (void) <b>setDefaultServerClass:</b> (Class)aClass;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Set the concrete subclass that will provide the device dependant implementation. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-addDragTypes$toWindow$">addDragTypes: toWindow: </a></h3> - (BOOL) <b>addDragTypes:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*)types<b> toWindow:</b> (NSWindow*)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Add (increment count by 1) each drag type to those registered for the window. If this results in a change to the <var>types</var> registered in the counted set, return <code>YES</code>, otherwise return <code>NO</code>. Subclasses should override this method, call 'super' and take appropriate action if the method returns 'YES'. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-attributes">attributes </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSDictionary.html#class$NSDictionary">NSDictionary</a>*) <b>attributes</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Return information used to create the server </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-availableDepthsForScreen$">availableDepthsForScreen: </a></h3> - (const NSWindowDepth*) <b>availableDepthsForScreen:</b> (int)screen;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns a null terminated list of possible window depths for <var>screen</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-beep">beep </a></h3> - (void) <b>beep</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Play the System Beep </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-boundsForScreen$">boundsForScreen: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>) <b>boundsForScreen:</b> (int)screen;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the bounds, in pixels, for the indicated <var>screen</var> of the display. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-closeServer">closeServer </a></h3> - (void) <b>closeServer</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Causes the server to disconnect from the display. If the receiver is the current server, it removes itself and sets the current server to <code>nil</code>. Sending any more messages to the receiver after this is likely to cause severe problems and probably crash the application. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-contentsOfScreen$inRect$">contentsOfScreen: inRect: </a></h3> - (NSImage*) <b>contentsOfScreen:</b> (int)screen<b> inRect:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)rect;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns a screenshot of the specified rectangle of the specified <var>screen</var>. The mouse cursor should be ommitted from the returned image. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-dragInfo">dragInfo </a></h3> - (id<NSDraggingInfo>) <b>dragInfo</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns an instance of a class which implements the NSDraggingInfo protocol. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-dragTypesForWindow$">dragTypesForWindow: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSSet.html#class$NSCountedSet">NSCountedSet</a>*) <b>dragTypesForWindow:</b> (NSWindow*)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the drag types set for the window <var>win</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-findWindowAt$windowRef$excluding$">findWindowAt: windowRef: excluding: </a></h3> - (int) <b>findWindowAt:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>)screenLocation<b> windowRef:</b> (int*)windowRef<b> excluding:</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-glContextClass">glContextClass </a></h3> - (id) <b>glContextClass</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-glPixelFormatClass">glPixelFormatClass </a></h3> - (id) <b>glPixelFormatClass</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-handlesWindowDecorations">handlesWindowDecorations </a></h3> - (BOOL) <b>handlesWindowDecorations</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns <code>YES</code> if the backend handles window decorations and <code>NO</code> if the gui library must do that instead. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-iconSize">iconSize </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSSize">NSSize</a>) <b>iconSize</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the size of icons and miniwindows for screen. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-iconTileImage">iconTileImage </a></h3> - (NSImage*) <b>iconTileImage</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns a display dependent NSImage which will be used as the background image for AppIcons and MiniWindows. Under Windowmaker, for example this could be a user specified gradient. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-initWithAttributes$">initWithAttributes: </a></h3> - (id) <b>initWithAttributes:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSDictionary.html#class$NSDictionary">NSDictionary</a>*)attributes;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> This is a designated initialiser for the class.<br /> <div class="desc"> Initializes the server. This typically causes the receiver to <em>connect</em> to the display (e.g. XOpenDisplay () on an X-Windows server). </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-removeDragTypes$fromWindow$">removeDragTypes: fromWindow: </a></h3> - (BOOL) <b>removeDragTypes:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*)types<b> fromWindow:</b> (NSWindow*)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Remove (decrement count by 1) each drag type from those registered for the window. If this results in a change to the <var>types</var> registered in the counted set, return <code>YES</code>, otherwise return <code>NO</code>. If given 'nil' as the array of <var>types</var>, remove ALL. Subclasses should override this method, call 'super' and take appropriate action if the method returns 'YES'. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-resolutionForScreen$">resolutionForScreen: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSSize">NSSize</a>) <b>resolutionForScreen:</b> (int)screen;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the resolution, in points, for the indicated <var>screen</var> of the display. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-restrictWindow$toImage$">restrictWindow: toImage: </a></h3> - (void) <b>restrictWindow:</b> (int)win<b> toImage:</b> (NSImage*)image;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-screenList">screenList </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>screenList</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns an array of NSNumbers, where each number describes a screen that is available on this display. The default screen is listed first. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-serverDevice">serverDevice </a></h3> - (void*) <b>serverDevice</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns a display dependant pointer that describes the internal connection to the display. On X-Windows, for example, this is a pointer to the <code>Display</code> variable. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-slideImage$from$to$">slideImage: from: to: </a></h3> - (BOOL) <b>slideImage:</b> (NSImage*)image<b> from:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>)from<b> to:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>)to;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-windowDepthForScreen$">windowDepthForScreen: </a></h3> - (NSWindowDepth) <b>windowDepthForScreen:</b> (int)screen;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the default depth of windows that are created on <var>screen</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer-windowDevice$">windowDevice: </a></h3> - (void*) <b>windowDevice:</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns a display dependant pointer that describes the internal window representation for <var>win</var>. On X-Windows, for example, this is a pointer to the <code>Window</code> variable. </div> <hr width="25%" align="left" /> </div> <a name="_GSDisplayServer_ivars"/> <br/><hr width="50%" align="left" /> <h2>Instance Variables for GSDisplayServer Class</h2> <h3><a name="ivariable$GSDisplayServer*drag_types">drag_types</a></h3> @protected NSMapTable* <b>drag_types</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> <h3><a name="ivariable$GSDisplayServer*event_queue">event_queue</a></h3> @protected NSMutableArray* <b>event_queue</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> <h3><a name="ivariable$GSDisplayServer*server_info">server_info</a></h3> @protected NSMutableDictionary* <b>server_info</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> <br/><hr width="50%" align="left" /><br/> <h1><a name="002000000000"> Software documentation for the GSDisplayServer(EventOps) category </a></h1> <h2><a rel="gsdoc" href="#class$GSDisplayServer">GSDisplayServer</a>(<a name="category$GSDisplayServer(EventOps)">EventOps</a>)</h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>GNUstepGUI/GSDisplayServer.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(EventOps)-_printEventQueue">-_printEventQueue</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(EventOps)-discardEventsMatchingMask$beforeEvent$">-discardEventsMatchingMask:beforeEvent:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(EventOps)-getEventMatchingMask$beforeDate$inMode$dequeue$">-getEventMatchingMask:beforeDate:inMode:dequeue:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(EventOps)-postEvent$atStart$">-postEvent:atStart:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$GSDisplayServer(EventOps)-_printEventQueue">_printEventQueue </a></h3> - (void) <b>_printEventQueue</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(EventOps)-discardEventsMatchingMask$beforeEvent$">discardEventsMatchingMask: beforeEvent: </a></h3> - (void) <b>discardEventsMatchingMask:</b> (unsigned)mask<b> beforeEvent:</b> (NSEvent*)limit;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Steps through the event queue and removes all events whose timestamp is earlier than that of <var>limit</var> wand which match the supplied <var>mask</var> of event types. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(EventOps)-getEventMatchingMask$beforeDate$inMode$dequeue$">getEventMatchingMask: beforeDate: inMode: dequeue: </a></h3> - (NSEvent*) <b>getEventMatchingMask:</b> (unsigned)mask<b> beforeDate:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSDate.html#class$NSDate">NSDate</a>*)limit<b> inMode:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)mode<b> dequeue:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Scans through the event queue to find the first event whose type matches <var>mask</var>. If no event is found, then the current run loop is run in the specified <var>mode</var> to allow more events to arrive. <br /> If a matching event is found, it is returned and either removed from or left in the queue according to <var>flag</var>. <br /> If no matching event is found and the <var>limit</var> date is reached, this method returns <code>nil</code>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(EventOps)-postEvent$atStart$">postEvent: atStart: </a></h3> - (void) <b>postEvent:</b> (NSEvent*)anEvent<b> atStart:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Posts an event to the event queue. The value of <var>flag</var> determines whether the event is inserted at the start of the queue or appended at the end. </div> <hr width="25%" align="left" /> </div> <h1><a name="003000000000"> Software documentation for the GSDisplayServer(WindowOps) category </a></h1> <h2><a rel="gsdoc" href="#class$GSDisplayServer">GSDisplayServer</a>(<a name="category$GSDisplayServer(WindowOps)">WindowOps</a>)</h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>GNUstepGUI/GSDisplayServer.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-_setWindowOwnedByServer$">-_setWindowOwnedByServer:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-appOwnsMiniwindow">-appOwnsMiniwindow</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-capturemouse$">-capturemouse:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-docedited$$">-docedited::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-flushwindowrect$$">-flushwindowrect::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-freecursor$">-freecursor:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-hidecursor">-hidecursor</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-imagecursor$$$">-imagecursor:::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-miniwindow$">-miniwindow:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-mouseLocationOnScreen$window$">-mouseLocationOnScreen:window:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-mouselocation">-mouselocation</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-movewindow$$">-movewindow::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-nativeWindow$$$$$">-nativeWindow:::::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-orderwindow$$$">-orderwindow:::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-placewindow$$">-placewindow::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-recolorcursor$$$">-recolorcursor:::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-releasemouse">-releasemouse</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setIgnoreMouse$$">-setIgnoreMouse::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setMouseLocation$onScreen$">-setMouseLocation:onScreen:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setParentWindow$forChildWindow$">-setParentWindow:forChildWindow:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setShadow$$">-setShadow::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setWindowdevice$forContext$">-setWindowdevice:forContext:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setalpha$$">-setalpha::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setcursor$">-setcursor:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setcursorcolor$$$">-setcursorcolor:::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setinputfocus$">-setinputfocus:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setinputstate$$">-setinputstate::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setmaxsize$$">-setmaxsize::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setminsize$$">-setminsize::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setresizeincrements$$">-setresizeincrements::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setwindowlevel$$">-setwindowlevel::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-showcursor">-showcursor</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-standardcursor$$">-standardcursor::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-styleoffsets$$$$$">-styleoffsets:::::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-stylewindow$$">-stylewindow::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-termwindow$">-termwindow:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-titlewindow$$">-titlewindow::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-window$$$">-window:::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-window$$$$">-window::::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowbacking$$">-windowbacking::</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowbounds$">-windowbounds:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowdepth$">-windowdepth:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowdevice$">-windowdevice:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowlevel$">-windowlevel:</a></li> <li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowlist">-windowlist</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-_setWindowOwnedByServer$">_setWindowOwnedByServer: </a></h3> - (void) <b>_setWindowOwnedByServer:</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code. <br /> Tells the receiver that it owns the window described by <var>win</var>. Concrete subclasses must call this function when creating a window. Do not call this method in any other case, particularly for a window that has already been created </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-appOwnsMiniwindow">appOwnsMiniwindow </a></h3> - (BOOL) <b>appOwnsMiniwindow</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns <code>YES</code> if the application should create the miniwindow counterpart to the full size window and own it. Some display systems handle the miniwindow themselves. In this case the backend subclass should override this method to return <code>NO</code>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-capturemouse$">capturemouse: </a></h3> - (BOOL) <b>capturemouse:</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Grabs the pointer device so that all future mouse events will be directed only to the window <var>win</var>. If successful, the return value is <code>YES</code> and this message must be balanced by a <a rel="gsdoc" href="#method$GSDisplayServer(WindowOps)-releasemouse"> -releasemouse </a> message. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-docedited$$">docedited: : </a></h3> - (void) <b>docedited:</b> (int)edited<b> :</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the document <var>edited</var> flag for the window </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-flushwindowrect$$">flushwindowrect: : </a></h3> - (void) <b>flushwindowrect:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)rect<b> :</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Causes buffered graphics to be flushed to the screen. The value of <var>rect</var> is expressed in OpenStep window coordinates. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-freecursor$">freecursor: </a></h3> - (void) <b>freecursor:</b> (void*)cid;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Free the cursor given by the <var>cid</var> representation. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-hidecursor">hidecursor </a></h3> - (void) <b>hidecursor</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Hides the cursor </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-imagecursor$$$">imagecursor: : : </a></h3> - (void) <b>imagecursor:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>)hotp<b> :</b> (NSImage*)image<b> :</b> (void**)cid;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Create a cursor from an <var>image</var>. Returns a pointer to the internal device representation that can be used later to make this cursor the current one </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-miniwindow$">miniwindow: </a></h3> - (void) <b>miniwindow:</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Miniaturizes the window </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-mouseLocationOnScreen$window$">mouseLocationOnScreen: window: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>) <b>mouseLocationOnScreen:</b> (int)aScreen<b> window:</b> (int*)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the current mouse location on <var>aScreen</var>. If the pointer is not on <var>aScreen</var>, this method acts like <a rel="gsdoc" href="#method$GSDisplayServer(WindowOps)-mouselocation"> -mouselocation </a> . If <var>aScreen</var> is -1, then the location of the mouse on any screen is returned. The <var>win</var> pointer returns the window number of the GNUstep window that the mouse is in or 0 if it is not in a window. <br /> The location is expressed as an offset from the bottom left corner of the screen. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-mouselocation">mouselocation </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>) <b>mouselocation</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the current mouse location on the default screen. If the pointer is not on the default screen, an invalid point (-1,-1} is returned. <br /> The location is expressed as an offset from the bottom left corner of the screen. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-movewindow$$">movewindow: : </a></h3> - (void) <b>movewindow:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>)loc<b> :</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Moves the bottom left corner of the window (including any border) to <var>loc</var>. <br /> The position is expressed as an offset from the bottom left corner of the screen. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-nativeWindow$$$$$">nativeWindow: : : : : </a></h3> - (int) <b>nativeWindow:</b> (void*)winref<b> :</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>*)frame<b> :</b> (NSBackingStoreType*)type<b> :</b> (unsigned int*)style<b> :</b> (int*)screen;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Create all the backend structures for a reference to a native window and return the extend, backing <var>type</var>, <var>style</var> and <var>screen</var> for that window. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-orderwindow$$$">orderwindow: : : </a></h3> - (void) <b>orderwindow:</b> (int)op<b> :</b> (int)otherWin<b> :</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Causes the window to be ordered onto or off the screen depending on the value of <var>op</var>. The window is ordered relative to <var>otherWin</var> . </p> <p> </p> <p> The effect of the various combinations of <var>op</var> and <var>otherWin</var> are: </p> <p> <dl> <dt><var>op</var> is NSWindowOut</dt> <dd> The window is removed from the display and otherWinm is ignored. </dd> <dt> <var>op</var> is NSWindowAbove and <var>otherWin</var> is zero </dt> <dd> The window is placed above all other windows at the same level unless doing the current key window is at this level (in which case the window will be placed immediately below that). </dd> <dt> <var>op</var> is NSWindowAbove and <var>otherWin</var> is minus one </dt> <dd> The window is placed above all other windows at the same level even if doing that would place it above the current key window. <br /> This is a special feature that [NSWindow -orderWindow:relativeTo:] uses to place the window correctly. </dd> <dt> <var>op</var> is NSWindowBelow and <var>otherWin</var> is zero </dt> <dd> The window is placed above all other windows at the same level. </dd> <dt> <var>op</var> is NSWindowAbove and <var>otherWin</var> is a window on the display </dt> <dd> The level of the window is set to be the same as that of <var>otherWin</var> and the window is placed immediately above <var>otherWin</var>. </dd> <dt> <var>op</var> is NSWindowBelow and <var>otherWin</var> is a window on the display </dt> <dd> The level of the window is set to be the same as that of <var>otherWin</var> and the window is placed immediately below <var>otherWin</var>. </dd> </dl> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-placewindow$$">placewindow: : </a></h3> - (void) <b>placewindow:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)frame<b> :</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Moves and resizes the window on the screen as described by <var>frame</var>. The value of <var>frame</var> is a rectangle containing the entire window, including any border/decorations. Its position is expressed as an offset from the bottom left corner of the screen. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-recolorcursor$$$">recolorcursor: : : </a></h3> - (void) <b>recolorcursor:</b> (NSColor*)fg<b> :</b> (NSColor*)bg<b> :</b> (void*)cid;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Recolour the cursor given by the <var>cid</var> representation into having a foreground color <var>fg</var> and a background color <var>bg</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-releasemouse">releasemouse </a></h3> - (void) <b>releasemouse</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Release a previous captured mouse from <a rel="gsdoc" href="#method$GSDisplayServer(WindowOps)-capturemouse$"> -capturemouse: </a> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-setIgnoreMouse$$">setIgnoreMouse: : </a></h3> - (void) <b>setIgnoreMouse:</b> (BOOL)ignoreMouse<b> :</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-setMouseLocation$onScreen$">setMouseLocation: onScreen: </a></h3> - (void) <b>setMouseLocation:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>)mouseLocation<b> onScreen:</b> (int)aScreen;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Set mouse cursor position. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-setParentWindow$forChildWindow$">setParentWindow: forChildWindow: </a></h3> - (void) <b>setParentWindow:</b> (int)parentWin<b> forChildWindow:</b> (int)childWin;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-setShadow$$">setShadow: : </a></h3> - (void) <b>setShadow:</b> (BOOL)hasShadow<b> :</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the window shadow </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-setWindowdevice$forContext$">setWindowdevice: forContext: </a></h3> - (void) <b>setWindowdevice:</b> (int)win<b> forContext:</b> (NSGraphicsContext*)ctxt;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the window device information for the NSGraphicsContext, typically by calling [NSGraphicsContext -GSSetDevice:::] , although depending on the concrete implmentation, more information than this may need to be exchanged. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-setalpha$$">setalpha: : </a></h3> - (void) <b>setalpha:</b> (float)alpha<b> :</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the transparancy value for the whole window </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-setcursor$">setcursor: </a></h3> - (void) <b>setcursor:</b> (void*)cid;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Set the cursor given by the <var>cid</var> representation as being the current cursor. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-setcursorcolor$$$">setcursorcolor: : : </a></h3> - (void) <b>setcursorcolor:</b> (NSColor*)fg<b> :</b> (NSColor*)bg<b> :</b> (void*)cid;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Set the cursor given by the <var>cid</var> representation as being the current cursor. The cursor has a foreground color <var>fg</var> and a background color <var>bg</var>. To keep the default color for the cursor, pass <code>nil</code> for <var>fg</var> and <var>bg</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-setinputfocus$">setinputfocus: </a></h3> - (void) <b>setinputfocus:</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Forces focus to the window so that all key events are sent to this window </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-setinputstate$$">setinputstate: : </a></h3> - (void) <b>setinputstate:</b> (int)state<b> :</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the input <var>state</var> for the window given by the GSWindowInputState constant. Instructs the window manager that the specified window is 'key', 'main', or just a normal window. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-setmaxsize$$">setmaxsize: : </a></h3> - (void) <b>setmaxsize:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSSize">NSSize</a>)size<b> :</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Set the maximum <var>size</var> (pixels) of the window </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-setminsize$$">setminsize: : </a></h3> - (void) <b>setminsize:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSSize">NSSize</a>)size<b> :</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Set the minimum <var>size</var> (pixels) of the window </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-setresizeincrements$$">setresizeincrements: : </a></h3> - (void) <b>setresizeincrements:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSSize">NSSize</a>)size<b> :</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Set the resize incremenet of the window </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-setwindowlevel$$">setwindowlevel: : </a></h3> - (void) <b>setwindowlevel:</b> (int)level<b> :</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Set the <var>level</var> of the window as in the [NSWindow -setLevel] method. <br /> The use of window levels organises the window hierarchy into groups of windows at each <var>level</var>. It effects the operation of the <a rel="gsdoc" href="#method$GSDisplayServer(WindowOps)-orderwindow$$$"> -orderwindow::: </a> method in the case where the position is 'above' or 'below' and the other window number is zero. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-showcursor">showcursor </a></h3> - (void) <b>showcursor</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Show a previously hidden cursor </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-standardcursor$$">standardcursor: : </a></h3> - (void) <b>standardcursor:</b> (int)style<b> :</b> (void**)cid;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Create a standard cursor (such as an arror or IBeam). Returns a pointer to the internal device representation that can be used later to make this cursor the current one </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-styleoffsets$$$$$">styleoffsets: : : : : </a></h3> - (void) <b>styleoffsets:</b> (float*)l<b> :</b> (float*)r<b> :</b> (float*)t<b> :</b> (float*)b<b> :</b> (unsigned int)style;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the dimensions of window decorations added outside the drawable window frame by a window manager or equivalent. For instance, <var>t</var> gives the height of the title bar for the window. <br /> If <a rel="gsdoc" href="#method$GSDisplayServer-handlesWindowDecorations"> -handlesWindowDecorations </a> returns <code>NO</code>, there are no decorations outside the drawable window frame and this method shouldn't be called. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-stylewindow$$">stylewindow: : </a></h3> - (void) <b>stylewindow:</b> (unsigned int)style<b> :</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the <var>style</var> of the window. See [NSWindow -styleMask] for a description of the available styles </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-termwindow$">termwindow: </a></h3> - (void) <b>termwindow:</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Destroys the representation of the window and frees and memory associated with it. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-titlewindow$$">titlewindow: : </a></h3> - (void) <b>titlewindow:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)window_title<b> :</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the window title </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-window$$$">window: : : </a></h3> - (int) <b>window:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)frame<b> :</b> (NSBackingStoreType)type<b> :</b> (unsigned int)style;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Creates a window whose location and size is described by <var>frame</var> and whose backing store is described by <var>type</var>. This window is not mapped to the screen by this call. <br /> Note that <var>frame</var> is the <var>frame</var> of the entire GNUstep window including borders, titlebar and other standard decorations. <br /> If <a rel="gsdoc" href="#method$GSDisplayServer-handlesWindowDecorations"> -handlesWindowDecorations </a> returns <code>YES</code>, the backend will produce (and return the identifier of) a smaller drawable window inside this decorated area. <br /> Use <a rel="gsdoc" href="#method$GSDisplayServer(WindowOps)-styleoffsets$$$$$"> -styleoffsets::::: </a> to determine the extent of the decorations and determine the size of the drawable area inside them. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-window$$$$">window: : : : </a></h3> - (int) <b>window:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)frame<b> :</b> (NSBackingStoreType)type<b> :</b> (unsigned int)style<b> :</b> (int)screen;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Like <a rel="gsdoc" href="#method$GSDisplayServer(WindowOps)-window$$$"> -window::: </a> only there is an additional argument to specify which <var>screen</var> the window will display on </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-windowbacking$$">windowbacking: : </a></h3> - (void) <b>windowbacking:</b> (NSBackingStoreType)type<b> :</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Changes window's the backing store to <var>type</var> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-windowbounds$">windowbounds: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>) <b>windowbounds:</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the frame of the window on the screen. <br /> The value of frame is a rectangle containing the entire window, including any border/decorations. Its position is expressed as an offset from the bottom left corner of the screen. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-windowdepth$">windowdepth: </a></h3> - (int) <b>windowdepth:</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the depth of the window </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-windowdevice$">windowdevice: </a></h3> - (void) <b>windowdevice:</b> (int)winNum;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the window device information for the current NSGraphicsContext, typically by calling [NSGraphicsContext -GSSetDevice:::] , although depending on the concrete implmentation, more information than this may need to be exchanged. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-windowlevel$">windowlevel: </a></h3> - (int) <b>windowlevel:</b> (int)win;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the window level as in [NSWindow -level] </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$GSDisplayServer(WindowOps)-windowlist">windowlist </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>windowlist</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Backends can override this method to return an array of window numbers ordered front to back. The front most window being the first object in the array. The default implementation returns the visible windows in an unspecified order. </div> <hr width="25%" align="left" /> </div> <br /> <a href="GuiAdditions.html">Up</a> </font> </body> </html>