You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/kjsembed/tests/test_connect.js

12 lines
195 B

var box = new TQHBox( 'tree_view' );
box.margin = 6;
var led = new KLed( box );
var btn = new TQCheckBox(box);
btn.text = 'Light'
btn.connect( 'toggled(bool)', led, 'toggle()' );
box.show();