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.
|
|
|
#!/usr/bin/env kjscmd
|
|
|
|
|
|
|
|
var img = new Image();
|
|
|
|
img.load("test.png");
|
|
|
|
|
|
|
|
var pix = img.pixmap();
|
|
|
|
var btn = new TQToolButton(this);
|
|
|
|
btn.pixmap = pix;
|
|
|
|
btn.setIcon( pix );
|
|
|
|
btn.show();
|
|
|
|
application.exec();
|