# Variables

GSDisplayServer variables

Description forthcoming.
Description forthcoming.
Description forthcoming.
GSTheme variables

Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Notification sent when a theme has just become active.
The notification is posted by the -activate method.
This is primarily for internal use by AppKit controls which need to readjust how they are displayed when a new theme is in use.
Theme subclasses must ensure that the theme is ready for use by the time this notification is posted (which generally means that they should have finished putting all resources in place in response to a GSThemeWillActivateNotification).
Notification sent when a theme has just become inactive.
The notification is posted by the -deactivate method.
This is primarily for use by subclasses of GSTheme which need to perform additional cleanup after the theme stops being used.
Notification sent when a theme is about to become active.
The notification is posted by the -activate method.
This is for use by subclasses of GSTheme which need to perform additional setup before the theme starts being used by AppKit controls.
At the point when this notification is called, the color, image, and defaults information from the theme will have been installed and the theme subclass may perform final adjustments.
Notification sent when a theme is about to become inactive.
The notification is posted by the -deactivate method.
This allows code to make preparatory changes before the current theme is deactivated, but subclasses should not make the theme unusable at this point as the AppKit may be doing its own cleanup in response to the notification.
GSTheme types

This enumeration is used when selecting the NSTabView.
GSTabSelectedLeft
GSTabSelectedRight
GSTabSelectedToUnSelectedJunction
GSTabSelectedFill
GSTabUnSelectedLeft
GSTabUnSelectedRight
GSTabUnSelectedToSelectedJunction
GSTabUnSelectedJunction
GSTabUnSelectedFill
GSTabBackgroundFill
This enumeration provides constants for informing drawing methods what state a control is in (and consequently how the display element being drawn should be presented). NB. GSThemeNormalState must be 0 and GSThemeSelectedState must be the last state, in order to allow code to iterate through all the states.
GSThemeNormalState
GSThemeFirstResponderState
A control in its normal state
GSThemeDisabledState
GSThemeHighlightedFirstResponderState
A control which is disabled
GSThemeHighlightedState
GSThemeSelectedFirstResponderState
A control which is highlighted
GSThemeSelectedState
This defines how the values in a tile array should be used when drawing a rectangle. Mostly this just effects the center, middle image of the rectangle.
FillStyleMatrix is provided for the use of theme editors wishing to display the tile.
GSThemeFillStyleNone
GSThemeFillStyleScale
CM image is not drawn
GSThemeFillStyleRepeat
CM image is scaled to fit
GSThemeFillStyleCenter
CM image is tiled from bottom left
GSThemeFillStyleMatrix
CM image is tiled from the center
GSThemeFillStyleScaleAll
a matrix of nine separated images
instead
Structure to describe the size of top/bottom/left/right margins inside a button