ruby-****@sourc*****
ruby-****@sourc*****
2012年 10月 24日 (水) 05:33:58 JST
------------------------- REMOTE_ADDR = 184.145.49.94 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-popup ------------------------- @@ -33,7 +33,7 @@ puts "#{progress.class} does not contain Gdk::Window" end - will confirm that Gtg::ProgressBar is a widget which does not provide its own Gdk::Window (see: GTK::Widget#GtkWidgetFlags). Nevertheless, as of Ruby 1.9.3 (October 2012), the following still works: + will confirm that Gtg::ProgressBar is a widget which does not provide its own Gdk::Window (see: Gtk::Widget#GtkWidgetFlags). Nevertheless, as of Ruby 1.9.3 (October 2012), the following still works: progress.add_events(Gdk::Event::BUTTON_PRESS_MASK) progress.signal_connect("button_press_event") do |widget, event|