[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-btt-toggle

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2009年 1月 14日 (水) 00:30:28 JST


-------------------------
REMOTE_ADDR = 74.15.84.244
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-btt-toggle
-------------------------
@@ -40,3 +40,5 @@
 
 === Mnemonics
 Please pay attention to the underlined letters on the "Toggle Buttons" window image above. This is an additional feature commonly found in buttons, namely the "mnemonics". A mnemonics is a combination of keys which, when pressed, perform some type of an action. In our case a user can press the "Alt" key and the underlined letter simultaneously, i.e. "Alt + D" or more properly <Alt>+<D> would have the same effect as clicking the top button, just like the "<Alt>+<N>" combination would trigger the bottom button press action (of course the buttons have to be active to respond to either a keyboard or mouse activity). 
+
+In Ruby Gtk programs mnemonics is automatically enabled by placing an "underscore" (_) character in the label of a button when a button is created with for instance a call to  Gtk::Button.new.



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