It's easy, just take the description straight out of the GUI map squigglies and all, put it
into a variable (or pass it as a string) and use that in place of the object name.
button_press ( "btn_OK" );
becomes
button_press ("{class: push_button, label: OK}");
No comments:
Post a Comment