Odp: callbacks
- From: "Maciej Hrebien" <m_hrebien wp pl>
- To: <gtk-app-devel-list gnome org>
- Subject: Odp: callbacks
- Date: Mon, 28 May 2001 15:45:39 +0200
I need to send a gint to a callback in addition to the widget which
emitted the signal and the user_data. Is there anyway to do this?? Any
help would be appreciated. Thanks a lot. (I would usually push enter a
few times and sign my name now, but evolution crashes when I push
<enter>)
Maybe something like this?:
struct X
{
void callback(int){}
};
...
struct X x;
int some_int;
some_signal.connect(bind(slot(&x,&X::callback),some_int));
Maciek
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]