Re: Adding event on a bool in ListStore



On Thursday 26 January 2006 19:49, N poleone wrote:
> 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.

No it doesn't.  It takes an argument const Glib::ustring&.

> 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???)

Glib *ustring would be an obvious error.  If in fact you wrote Glib::ustring* 
that would still not match the prototype.

Chris




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