ruby-****@sourc*****
ruby-****@sourc*****
2012年 11月 8日 (木) 11:10:01 JST
------------------------- REMOTE_ADDR = 184.145.95.170 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-tb ------------------------- @@ -29,6 +29,12 @@ paste = Gtk::ToolButton.new(Gtk::Stock::PASTE) selectall = Gtk::ToolButton.new(Gtk::Stock::SELECT_ALL) separator = Gtk::SeparatorToolItem.new + + cut.tooltip_text = "Cut saves the selected text in the clipboard,\n" + + "and removes it from the editable widget," + copy.tooltip_text = "Copy saves the selected text in the clipboard." + paste.tooltip_text = "Paste retrieves last text saved in the clipboard\n" + + "and places it at the cursor position in the edit field." tb.show_arrow = true tb.toolbar_style = Gtk::Toolbar::Style::BOTH