Hi,

On Mon, 1 Mar 2004 20:21:10 +0900
Clifford Heath <cjh-nospam / nospaManagesoft.com> wrote:

> On the subject of ruby-gtk2, the absence of (sufficient) docs is
> a shame, and the raw GTK docs don't always help. But perhaps one
> of you folk can help me.
> 
> I've modified one of the TreeView examples to add a toggle as a
> second column, but I can't work out what signal to connect to
> allow the toggle to be clicked. My code is below, can you see
> how to make the toggle clickable?

Use "toggled" signal.
See http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%3ACellRendererToggle

And there are two samples for this.
Try gtk/sample/gtk-demo/list_store.rb, tree_store.rb 

> Is there a dynamic way to list all signals that an object can
> generate?

See http://ruby-gnome2.sourceforge.jp/hiki.cgi?tips_signals,

Also rbbr shows properties and signals.
Try http://raa.ruby-lang.org/list.rhtml?name=rbbr

-- 
.:% Masao Mutoh<mutoh / highway.ne.jp>