ModalDialog:
Filter:
Description
Class methods
new
Inherited class methods
Instance methods
Inherited instance methods
Examples
Classes (extension)
|
Libraries
>
crucial
>
GUI
|
GUI
>
Accessories
ModalDialog
Extension
dialog window utility with OK and cancel functions
Location:
NOT INSTALLED!
See also:
Sheet
Description
dialog window utility with OK and cancel functions
Class Methods
.
new
Arguments:
buildDialog
okFunc
name
cancelFunc
Inherited class methods
Instance Methods
Inherited instance methods
Examples
( ModalDialog({ arg layout; // pops a small window for you var choices; choices= [ BooleanEditor([true,false].choose), BooleanEditor([true,false].choose), BooleanEditor([true,false].choose), BooleanEditor([true,false].choose), BooleanEditor([true,false].choose), BooleanEditor([true,false].choose) ]; choices.do({ arg c,i; c.gui(layout); }); choices // return your objects },{ // ok function arg choices; // receives those objects choices.sum({ arg boolgui,i; boolgui.value.binaryValue * (2**i) }).postln }); )
⧉
✔
helpfile source:
/tmp/scquark_hs/crucial-library/HelpSource/Classes/ModalDialog.schelp
link::Classes/ModalDialog::