Re: [gtkmm] Function pointers question (gtkmm related)

Thanks for the help :)

From: Chris Vine <chris cvine freeserve co uk>
To: "Drinkin Park" <drink_n_park hotmail com>, gtkmm-list gnome org
Subject: Re: [gtkmm] Function pointers question (gtkmm related)
Date: Sun, 18 Jan 2004 18:11:50 +0000

On Sunday 18 January 2004 1:36 pm, Drinkin Park wrote:


> MyToolbar::MyToolbar() {
>   ...
>   push_back(StockElem(Gtk::Stock::NEW,
>     SigC::slot(*this, &OtherClass::newButtonClicked),  "New"));

You are not passing the right object to the slot. You need to pass an object
of type OtherClass.


Hot chart ringtones and polyphonics. Go to

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