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

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 10月 11日 (木) 08:36:26 JST


-------------------------
REMOTE_ADDR = 184.145.82.7
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-crs
-------------------------
@@ -25,7 +25,7 @@
 
 Displaying Boolean values as "TRUE" or "FALSE" with Gtk::CellRendererText, especially in large tables with many Boolean columns, becomes soon very illegible and aesthetic, as well as it also takes up a too much valuable visible area. You would significantly improve lucidity of your Boolean tables if instead of text strings you displayed a check button for Boolean values. As it turns out you can do just that, with the help of the toggle button cell renderers called Gtk::CellRendererToggle. By default, they are drawn as check buttons, but can also be set up as radio buttons, however, that would also require you yourself implement the necessary radio button functionality.
 
-As with the editable text renderers, you have to manually apply the changes performed by the user. Otherwise, the button will not toggle visually on the screen. Because of this, Gtk::CellRendererToggle provides the((*toggle*))signal, which is emitted when the user presses the check button. 
+As with the editable text renderers, you have to manually apply the changes performed by the user. Otherwise, the button will not toggle visually on the screen. Because of this, Gtk::CellRendererToggle provides the((*toggled*))signal, which is emitted when the user presses the check button. 
 
   renderer.signal_connect('toggled') do |w, path|
     iter = treeview.model.get_iter(path)




ruby-gnome2-cvs メーリングリストの案内
Back to archive index