guicomponant, GImageButton, pressed State?
in
Contributed Library Questions
•
6 months ago
We work with guicomponant library, a great library, but we have a little probleme.
- String[] files;
files = new String[] {
"data/tjoff.jpg", "data/tjover.jpg", "data/tjdown.jpg"
};
btnCoins = new GImageButton(this, "data/tjmask.png", files, 150,10);
and the event handler
I'm french i dont know if i give good explanation. If you need some precision, tell me!
Thx!
- public void handleImageButtonEvents(GImageButton imagebutton) {
if (imagebutton == btnCoins){
println("Coins - png images using transparency");
}
}
I'm french i dont know if i give good explanation. If you need some precision, tell me!
Thx!
1