sending GtkTreeSelection to other function
- From: Ranieri <ranieri_savage yahoo com br>
- To: gtk-list gnome org
- Subject: sending GtkTreeSelection to other function
- Date: Fri, 18 Jun 2004 00:23:59 -0300
how send a GtkTreeSelection *selection, to other function using
g_signal_connect ?
Example:
void new_function(GtkTreeSelection **selection);
void main(int argc, char **argv)
{
...
...
GtkTreeSelection *selection;
...
...
...
g_signal_connect(G_OBJECT(button), "clicked", new_function, selection);
...
...
}
What this wrong in this source code ?
Thanks!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]