ruby-****@sourc*****
ruby-****@sourc*****
2012年 9月 21日 (金) 05:21:46 JST
------------------------- REMOTE_ADDR = 184.145.80.187 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-parts ------------------------- @@ -244,7 +244,7 @@ As we have seen, after creating the Gtk::TreeView, you have to add one or more columns to the view for it to be of any use. Each tree view column is composed of a header displaying a short description of its content, and at least one cell renderer. -==== Cell Renderers: +:Cell Renderers: All cell renderers are derived from the Gtk::CellRenderer class. Each cell renderer contains a number of properties that determine how data will be drawn within a cell. The Gtk::CellRenderer class provides common properties to all derived renderer classes including: background colour and size parameters, alignment, mode, visibility, sensitivity, padding, etc. You should check the API documentation for full list. It also provides ((*editing_canceled*)) and ((*editing-started*)) signals, the former emitted when the user cancels the process of editing a cell, and the latter emitted when a cell is started to be edited. @@ -262,7 +262,7 @@ -==== Columns: +:Columns: Columns are directly associated with cell renderer as well as with tree view. These relationships can be seen in the following code segments: