[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby Gnome Gtk event source question

Mike Durham

6/26/2006 4:41:00 AM

I have a button_press_event handler that is passed two objects when it
is clicked

event_handler(Gtk::ToggleButton, Gdk::EventButton)

How can I tell which mouse button was used to trigger the event?

Or, much more to the point, does anybody know where can I find
information on this and a multitude of other things to do with Ruby/Gtk?

Cheers, Mike