GSWindowController Class Reference
| Inherits from | NSWindowController |
| Conforms to | GSDialogDelegateProtocol GSWindowControllerProtocol NSAnimationDelegate NSToolbarDelegate NSWindowDelegate |
Tasks
-
glyphsDocumentproperty -
toolEventDelegateproperty -
activeLayerproperty -
masterIndexproperty -
activeEditViewControllerproperty -
SpaceKeyproperty -
– setToolForClass:
Properties
SpaceKey
if the Space key is currently pressed
@property (nonatomic) BOOL ShiftKey , AltKey , CtrlKey , CommandKey , SpaceKeyactiveEditViewController
The active editView controller or nil if the font view is active
@property (unsafe_unretained, readonly, nonatomic) NSViewController<GSGlyphEditViewControllerProtocol> *activeEditViewControllerReturn Value
the active editview controller
activeLayer
the currently active layer of the window
@property (unsafe_unretained, readonly) GSLayer *activeLayerReturn Value
the active layer.
Discussion
This is only valid if one layer has direct focus. If more then one are selected, this retruns nil.
glyphsDocument
Convenience getter casting the return value of [GSWindowController document] to GSDocument.
@property (nonatomic, readonly) GSDocument *glyphsDocument