callback error
- From: Omar Armas Aleman <kaos jlagunez iquimica unam mx>
- To: gtk-list <gtk-list redhat com>
- Subject: callback error
- Date: Fri, 19 Feb 1999 17:32:40 -0600 (CST)
I'm not getting the correct argument of a callback func.
In 'do_search' I'm not getting the 'list' variable correctly.
This is the code:
static void
do_search(GtkWidget *widget, GtkWidget *list)
{
//i also tried do_search(GtkWidget *list)
...
}
foo()
{
GtkWidget *list;
...
gtk_signal_connect (GTK_OBJECT (button), "clicked",
GTK_SIGNAL_FUNC (do_search), list);
//do_search(button, list) works, but the above callback don't
}
How should I read/pass the argument list?
Omar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]