array of widgets...
- From: "Luiz Octavio de Almeida Soares" <loas procc fiocruz br>
- To: <gtk-app-devel-list gnome org>
- Subject: array of widgets...
- Date: Fri, 17 Aug 2001 16:47:50 -0300
what's the best way of passing an array of widgets to a callback? I've tried
many ways but cant seem to get this to work.
imagine sth like:
GtkWidget *entry[3];
GtkWidget *button;
button = gtk_button_new...
entry[0] = gtk_entry_new...
entry[1] ...
and i have a function named my_callback and i want it to receive the array
as a parameter when the user clicks the button. I tried many things with
gtk_signal_connect but none of them worked. Can anyone plz come up with a
simple solution for this?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]