key press events SUPR



hi all:

I am working with gnome-ruby today and i have a question common in all GTK
APIS.

are they  always the key codes the same in all platforms??

I want to catch the SUPR button

  @window1.signal_connect("key-press-event") do |widget,event|
         if event.keyval==65535
             puts "be happy my friend you push the supr keyboard button!"
         end

    end

are there MACROS to solves this problems???????


Regards.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]