Re: [gtkmm] Function pointers question (gtkmm related)
- From: "Drinkin Park" <drink_n_park hotmail com>
- To: chris cvine freeserve co uk, gtkmm-list gnome org
- Subject: Re: [gtkmm] Function pointers question (gtkmm related)
- Date: Mon, 19 Jan 2004 14:12:23 +0000
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:
[snip]
> 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.
Chris.
_________________________________________________________________
Hot chart ringtones and polyphonics. Go to
http://ninemsn.com.au/mobilemania/default.asp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]