How do I send multiple args?
- From: "David J. Topper" <topper virginia edu>
- To: gtk-list redhat com
- Subject: How do I send multiple args?
- Date: Tue, 02 Mar 1999 18:15:41 -0500
I'm trying to do:
void cb_send_play_cmd (GtkWidget *item, char *inst, int var)
gtk_signal_connect_object (GTK_OBJECT (play_button), "clicked",
GTK_SIGNAL_FUNC(cb_send_play_cmd), "PLAY", 1);
but I'm being told that's too many arguments to
gtk_signal_connect_object(). Is there no way to send more than one
argument to a callback? Please don't tell me I need to send it all via
a struct ... that seems like a real pain in the neck.
Technical Director, Virginia Center for Computer Music
Programmer / Analyst, Dean's Office (School of A&S)
] [Thread Prev