SgneepBox
add button widget in the SgneepBox IDE.
use snippet directly from ID and select button type:
Features: double state, call to external script
command:
button_xy *id *x *y
*X *Y = set screen axis
button_dim *id *width *height
*W *H = width and height of the imahe button
button_img *id *image
*image = load image.jpg in button ( unpress state )
button_call *id *subscript
*subscript = call to SgneepBox subscript( unpress state )
button_press *id *image.jpg
*image = load image.jpg in button ( press state )
button_unpress_call *id *subscript
*subscript = call to SgneepBox subscript
button_run *id
run and view button ID
button_close *id
close button by id name
button_close_all
close all button
Example