Re: activate as in Gtk::CellRendererToggle



Look at Gtk::CellRendererToggle class implementation. There is all what
you need to get button activatable.

In short, you should declare signal in your class, connect to it some
function when creating column renderer. And activate that signal when
override activate_vfunc();

Regards.

В Чтв, 01/07/2010 в 22:54 +0200, Germán Diago пишет:
> Hello. I'm trying to use an embedded button in a treeview.
> I managed to get that working. But now I want the button to be activatable.
> There's an activate member function, but there's no signal_activate to
> connect to.
> 
> Is this because I have to generate it myself? How can that be done? I
> don't know
> very well how to approach the problem. Thanks.
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
-- 
Andrew E. Makeev <andrew solvo ru>
Solvo Logistic



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]