Re: Adding event on a bool in ListStore
- From: "N poleone" <napoleone1981 gmail com>
- To: bob fis-cal com
- Cc: gtkmm-list gnome org
- Subject: Re: Adding event on a bool in ListStore
- Date: Thu, 26 Jan 2006 20:49:45 +0100
On 1/26/06, Bob Caryl <bob fis-cal com> wrote:
> The prototype of your callback slot is undoubtedly incorrect. Check the
> callback slot prototyping information for signal_toggled for guidance.
>
> Bob
>
It's all the day that i look that... I'm lost...
The protoype of the signal_toggled wants an argument of type
Glib::ustring*(specifying the treepath for the cellrenderer) and
returns void.
My callback is void window1::on_toggled(Glib *ustring)... (i tried
also without arguments but nothing change... maybe i've to try with a
treepath???)
I connect it at runtime (not inside the constructor of the window) with:
dynamic_cast<Gtk::CellRendererToggle
>*>(this->treeviewIntercettazioniRisultati->get_column_cell_renderer(10))->signal_toggled().connect(SigC::slot(*this,&window1::on_toggled),false);
So i don't understand where is the error...
--
Ciao da
N poleone (ICQ# 266220356; MSN Messenger: napoleone1981 yahoo it)
"Le battaglie si vincono con gli uomini che si hanno, non con quelli che
si vorrebbero" (Napoleone Bonaparte)
"Le cose che possiedi prima o poi ti possiedono..." (Fight Club)
"Le donne possono avere bambini...gli uomini computers" (Anonimo)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]