thomthom / SKUI

Ruby wrapper of classes that maps to GUI controls in SketchUp's UI::WebDialogs
MIT License
26 stars 14 forks source link

method on click for a SKUI::Image #79

Open GWydouw opened 10 years ago

thomthom commented 10 years ago

Is this a bug report or feature request?

GWydouw commented 10 years ago

It was a feature request. But a friend of us already custumized the skui code. We clean it up and send you a pull request. We added an SKUI::ImageButton class. Now you can use an image like a button. It has an on click event and you can set and change the image. You can also set an active state image, this image is shown when you click and hold you button down.