[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-treev-parts

Zurück zum Archiv-Index

ruby-****@sourc***** ruby-****@sourc*****
2012年 9月 20日 (木) 09:34:26 JST


-------------------------
REMOTE_ADDR = 184.145.80.187
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-parts
-------------------------
@@ -287,9 +287,9 @@
 Following code segment shows you yet another way of initializing a tree view column with the identical results as obtained by the code in the above two code snippets: 
 
  renderer = Gtk::CellRendererText.new
- col_offset = treeview.insert_column(-1, 'Buy', renderer, {'text' => BUY_IT}) # curly brackets underscore the use of hash
+ col_offset = treeview.insert_column(-1, 'Buy', renderer, {'text' => BUY_IT}) # curly b. ==> the use of hash
  column = treeview.get_column(col_offset - 1)
- treeview.append_column(column)
+  # treeview.append_column(column)      ## <--- Note that this line must not be run in this 3rd code segment!
 
 
 




ruby-gnome2-cvs メーリングリストの案内
Zurück zum Archiv-Index