SATGUI Examples - addButton

Note: In the following examples doexample is the action.

addButton {Example 1,1 8 doexample}

Note: If the state is "disabled" the button will be created as disabled by default. In this case, using...

addButton {Example 1,1 8 doexample normal}
...or...
addButton {+Example 1,1 8 doexample}

...will create an enabled button.


addButton {Example 1,1 8 doexample disabled}
...or...
addButton {-Example 1,1 8 doexample}

Note: To re-enable the button use setItem.


addButton {Exit 1,1 30,8 exit}

Note: This button will cause the application to exit when actioned.


addButton {Example 1,1 8 doexample outline}


Copyright © 2000 Adrian Davis.