ruby-****@sourc*****
ruby-****@sourc*****
2012年 10月 25日 (木) 09:32:39 JST
------------------------- REMOTE_ADDR = 184.145.49.94 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-popup ------------------------- @@ -291,7 +291,7 @@ {{image_right("accelerator-keys-2.png")}} -Following program example will make these things more clear. In this program's main window we defined only a label reminding the user what key combinations are available to elicit a different action for each of them. For instance, as suggested by the text on the label, pressing merely a single key 'A' or 'B', or a combination '<Ctrl+Shift>+C' will print a particular message on the console (control terminal from which you executed 'ruby custom-accelerators.rb'). Note also, that we are not at all concerned with any kind of signal here. +Following program example will make these things more clear. In this program's main window we defined only a label reminding the user what key combinations are available to elicit a different action for each of them. For instance, as suggested by the text on the label, pressing merely a single key 'A' or 'B', or a combination '<Ctrl+Shift>+C' will print a particular message on the console (control terminal from which you executed 'ruby custom-accelerators.rb'). Note also, that we are not at all concerned with any kind of signals here (all this his handled for us automatically by GTK). ((*custom-accelerators.rb*))