Up

# Functions

### Authors

Generated by root

### Contents -

1. GSDisplayServer functions
2. GSTheme functions

# GSDisplayServer functions

### DPSDiscardEvents

void DPSDiscardEvents(GSDisplayServer* ctxt, unsigned int mask, NSEvent* limit);
Availability: OpenStep
Description forthcoming.

### DPSGetEvent

NSEvent* DPSGetEvent(GSDisplayServer* ctxt, unsigned int mask, NSDate* limit, NSString* mode);
Availability: OpenStep
Description forthcoming.

### DPSPeekEvent

NSEvent* DPSPeekEvent(GSDisplayServer* ctxt, unsigned int mask, NSDate* limit, NSString* mode);
Availability: OpenStep
Description forthcoming.

### DPSPostEvent

void DPSPostEvent(GSDisplayServer* ctxt, NSEvent* anEvent, BOOL atStart);
Availability: OpenStep
Description forthcoming.

### GSCurrentServer

GSDisplayServer* GSCurrentServer();
Availability: OpenStep
Returns the current GSDisplayServer

### GSServerForWindow

GSDisplayServer* GSServerForWindow(NSWindow* window);
Availability: OpenStep
Returns the GSDisplayServer that created the interal representation for window. If the internal representation has not yet been created (for instance, if the window is deferred), it returns the current server

# GSTheme functions

### GSThemeFillStyleFromString

GSThemeFillStyle GSThemeFillStyleFromString(NSString* s);
Availability: Not in OpenStep/MacOS-X
Function to convert a string to a fill style enumeration value.
Returns GSThemeFillStyleNone if the string is not a valid name.

### GSThemeStringFromFillStyle

NSString* GSThemeStringFromFillStyle(GSThemeFillStyle s);
Availability: Not in OpenStep/MacOS-X
Function to convert a fill style enumeration value to a string.
Returns `nil` on failure.

Up