Classes | Libraries > JITLib > GUI | Live Coding

PdefnGui : JITGui : Object

a simple gui for Pdefns

Description

PdefnGui displays a PdefnGui, and allows editing and evaluating its code.

Class Methods

PdefnGui.observedClass

Pdefn

Inherited class methods

Instance Methods

JITGui methods:

.accepts(obj)

test whether object can be displayed

.getState

.checkUpdate

Inherited instance methods

Examples

g = PdefnGui();
Pdefn(\abc, [1, 2, 3]);
g.object_(Pdefn(\abc));
Pdefn(\abc, 345);

// Note: When editing code in the csView and evaluating,
// there is a short delay before displaying. this is intended.