Re: g_signal_connect() and passing multiple arguments
- From: "Michal Ziemski" <rook roo k pl>
- To: <a immler 12mm de>, <gtk-app-devel-list gnome org>
- Subject: Re: g_signal_connect() and passing multiple arguments
- Date: Sat, 25 Jan 2003 12:24:51 +0100
hello,
i'm a c/c++ AND gtk newbie and i have a question to you geeks:
how can i pass more than one argument/variable to a function like this
with g_signal_connect() ?
gint function_test( gpointer emitter, gpointer liste, gpointer entry,
gpointer something else ){
// do something
}
The most obvious solution I am able to think of would be to pass a gpointer
to a struct
comprising these four arguments.
Michal "Gleba" Ziemski
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]