ruby-****@sourc*****
ruby-****@sourc*****
2012年 10月 9日 (火) 10:05:09 JST
------------------------- REMOTE_ADDR = 184.145.82.7 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-spbttr ------------------------- @@ -8,7 +8,8 @@ {{image_right("treev-crs-03-spin-btts.png")}} -The appearance of user interface in 'spin-rndr.rb' program example is not at all different, from the example in section [8.7.1] ((<(Toggle Button Renderers)|tut-gtk2-treev-crs#Toggle Button Renderers>)). However, do not be deceived with appearance! You will only see the spin-button if you click on any child's cell in 'Count' row. Just like in the example in section [8.7.1], also in our 'spin-rndr.rb' program here we took care of the most obvious 'data dependencies between different cells on our display. If you forgot about it you can refresh your memory buy jumping into section [8.7.1.2] ((<(Data Dependencies Between Cells In Different Columns And Rows In Tree View)|tut-gtk2-treev-crs#Data Dependencies Between Cells In Different Columns And Rows In Tree View>)). There you will discover why clicking on the check-box in product categories control records has no effect. However, the reason that clicking on 'Count' column for both product category rows does not open a spin butt on will become clear if you look at the following code segment: +The appearance of an inactive user interface in 'spin-rndr.rb' program example is not at all different, from the example in section [8.7.1] ((<(Toggle Button Renderers)|tut-gtk2-treev-crs#Toggle Button Renderers>)). However, do not be deceived with the identical looks of the two programs, before you attempt to click on clickable 'Count' cells on the display! You will only see the spin-button if you click on any child's cell in 'Count' row. Just like in the example in section [8.7.1], also in our 'spin-rndr.rb' program here we took care of the most obvious 'data dependencies between different cells on our display. If you forgot about it you can refresh your memory buy jumping into section [8.7.1.2] ((<(Data Dependencies Between Cells In Different Columns And Rows In Tree View)|tut-gtk2-treev-crs#Data Dependencies Between Cells In Different Columns And Rows In Tree View>)). There you will discover why clicking on the check-box in product categories control records has no effe ct. However, the reason that clicking on 'Count' column for both product category rows does not open a spin button will become clear if you look at the following code segment: + column = Gtk::TreeViewColumn.new("Count", renderer, "text" => COUNT_COLUMN) column.set_cell_data_func(renderer) do |tvc, cell, model, iter|