Inherits from NSWindowController
Conforms to GSDialogDelegateProtocol
GSWindowControllerProtocol
NSAnimationDelegate
NSToolbarDelegate
NSWindowDelegate
Declared in GSWindowController.h

Properties

SpaceKey

if the Space key is currently pressed

@property (nonatomic) BOOL ShiftKey , AltKey , CtrlKey , CommandKey , SpaceKey

activeEditViewController

The active editView controller or nil if the font view is active

@property (unsafe_unretained, readonly, nonatomic) NSViewController<GSGlyphEditViewControllerProtocol> *activeEditViewController

Return Value

the active editview controller

activeLayer

the currently active layer of the window

@property (unsafe_unretained, readonly) GSLayer *activeLayer

Return Value

the active layer.

Discussion

This is only valid if one layer has direct focus. If more than one are selected, this returns nil.

glyphsDocument

Convenience getter casting the return value of [GSWindowController document] to GSDocument.

@property (nonatomic, readonly) GSDocument *glyphsDocument

masterIndex

The index of the active master

@property (nonatomic) NSUInteger masterIndex

Return Value

The index of the active master

toolDrawDelegate

The tool that is currently handling events

@property (unsafe_unretained, nonatomic) NSResponder<GlyphsTool,GlyphsToolDraw> *toolDrawDelegate

Instance Methods

setToolForClass:

The activate a tool based on its class

- (void)setToolForClass:(Class)aClass

Parameters

aClass

the class of the tool that sould be acivated.