ruby-****@sourc*****
ruby-****@sourc*****
2009年 2月 4日 (水) 03:03:46 JST
------------------------- REMOTE_ADDR = 74.15.84.244 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-txtw-textview ------------------------- @@ -95,7 +95,12 @@ window.show_all Gtk.main + The following two properties need the reference to GTK+ constants: + + textview.wrap_mode = Gtk::TextTag::WRAP_WORD + +You can find the constants you need at: ((<Gtk::TextTag#GtkWrapMode>)) + textview.justification = Gtk:: - textview.wrap_mode = Gtk::TextTag::WRAP_WORD # See: ((<Gtk::TextTag#GtkWrapMode>)) - textview.justification = Gtk:: # See: ((<Gtk#GtkJustification>)) +You can find the constants you need at: ((<Gtk#GtkJustification>))