[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-mnstbs-popup

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 4月 1日 (日) 02:30:17 JST


-------------------------
REMOTE_ADDR = 84.0.206.160
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-popup
-------------------------
@@ -82,7 +82,7 @@
  eventbox.events = Gdk::Event::BUTTON_PRESS_MASK
  eventbox.signal_connect('button_press_event') do |w, event|
    if event.event_type == Gdk::Event::BUTTON_PRESS
-     if event.button == 3   # left mouse button
+     if event.button == 3   # right mouse button
        menu.popup(nil, nil, event.button, event.time)
      end
    end




ruby-gnome2-cvs メーリングリストの案内
Back to archive index