Re: event data / mmoorman
- From: Robert Pearce <rob bdt-home demon co uk>
- To: gtkmm-list gnome org
- Cc: charles seedle rigaku com
- Subject: Re: event data / mmoorman
- Date: Tue, 28 Dec 2010 18:34:24 +0000
On Tue, 28 Dec 2010 10:27:17 -0600
"Charles Seedle" <charles seedle rigaku com> wrote:
> What is wrong with this ?
> temp_button = buttons[x]; // an array of pointers
> n_button_clicked), temp_button);
You mean, apart from the unbalanced parentheses, the missing template
type, the mismatched sigc usage, the missing class instance reference,
the missing class name on the member function, the way you don't seem
to have looked at the documentation before asking?
There are examples of how to use sigc::bind and sigc::ptr_fun (or
sigc::mem-fun more to the point) on the first page of the "signals"
chapter of the GTKmm docs (a.k.a Appendix B)
] [Thread Prev