A console window for use by Vuo node classes.
Definition at line 18 of file VuoWindowTextInternal.h.
Instance Methods | |
(void) | - enableTriggersWithTypedLine:typedWord:typedCharacter: |
Sets up the window to call trigger functions. More... | |
(void) | - disableTriggers |
Stops the window from calling trigger functions. More... | |
(void) | - appendLine: |
Appends text and a linebreak to the text view. More... | |
(void) | - clear |
Removes the text in the window. More... | |
Protected Attributes | |
BOOL | triggersEnabled |
True if the window can call its trigger callbacks. More... | |
void(* | typedLine )(VuoText) |
Trigger that fires when a line has been typed. More... | |
void(* | typedWord )(VuoText) |
Trigger that fires when a word has been typed. More... | |
void(* | typedCharacter )(VuoText) |
Trigger that fires when a character has been typed. More... | |
NSMenu * | oldMenu |
The host app's menu, before the window was activated. More... | |
Properties | |
NSTextView * | textView |
The text view inside this window. More... | |
NSScrollView * | scrollView |
The scroll view that holds the text view. More... | |
NSFont * | textFont |
The font used inside the text view. More... | |
NSMenuItem * | editCopyMenuItem |
The "Edit > Copy" menu item. More... | |
NSMenuItem * | editSelectAllMenuItem |
The "Edit > Select All" menu item. More... | |
NSMenuItem * | editClearMenuItem |
The "Edit > Clear" menu item. More... | |
- (void) appendLine: | (const char *) | text |
Appends text and a linebreak to the text view.
If needed, scrolls down to reveal the last line.
Definition at line 1 of file VuoWindowTextInternal.m.
- (void) clear |
Removes the text in the window.
Definition at line 1 of file VuoWindowTextInternal.m.
- (void) disableTriggers |
Stops the window from calling trigger functions.
Definition at line 1 of file VuoWindowTextInternal.m.
- (void) enableTriggersWithTypedLine: | (void(*)(VuoText)) | typedLine | |
typedWord: | (void(*)(VuoText)) | typedWord | |
typedCharacter: | (void(*)(VuoText)) | typedCharacter | |
Sets up the window to call trigger functions.
Definition at line 1 of file VuoWindowTextInternal.m.
|
protected |
The host app's menu, before the window was activated.
Definition at line 26 of file VuoWindowTextInternal.h.
|
protected |
True if the window can call its trigger callbacks.
Definition at line 21 of file VuoWindowTextInternal.h.
|
protected |
Trigger that fires when a character has been typed.
Definition at line 24 of file VuoWindowTextInternal.h.
|
protected |
Trigger that fires when a line has been typed.
Definition at line 22 of file VuoWindowTextInternal.h.
|
protected |
Trigger that fires when a word has been typed.
Definition at line 23 of file VuoWindowTextInternal.h.
|
readwriteatomicretain |
The "Edit > Clear" menu item.
Definition at line 34 of file VuoWindowTextInternal.h.
|
readwriteatomicretain |
The "Edit > Copy" menu item.
Definition at line 32 of file VuoWindowTextInternal.h.
|
readwriteatomicretain |
The "Edit > Select All" menu item.
Definition at line 33 of file VuoWindowTextInternal.h.
|
readwriteatomicretain |
The scroll view that holds the text view.
Definition at line 30 of file VuoWindowTextInternal.h.
|
readwriteatomicretain |
The font used inside the text view.
Definition at line 31 of file VuoWindowTextInternal.h.
|
readwriteatomicretain |
The text view inside this window.
Definition at line 29 of file VuoWindowTextInternal.h.