![]() |
|
Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) Gtk-Gnutella user section. Preview this popular software: Gtk-Gnutella (Linux / BSD / Darwin / Mac OS X / Windows) |
| LinkBack | Thread Tools | Display Modes |
| |||
![]() i have two message boxes in my gui code using p = gtk_entry_new (); m = gtk_entry_new (); i tried to send theim both to a function called button_clicked using g_signal_connect (G_OBJECT (button), "clicked", GTK_SIGNAL_FUNC(button_clicked), p); g_signal_connect (G_OBJECT (button), "clicked", GTK_SIGNAL_FUNC(button_clicked), m); but the problem is in button_clicked const char *p = gtk_entry1_get_text (GTK_ENTRY ((GtkWidget *) data)); will give me the value of only p not m....... how can i send both the value of p and m and retrive it in button_clicked individually?? |
| |
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Limewire Programming Getting Started | cheg | Open Discussion topics | 1 | December 26th, 2006 03:33 PM |
Better programming - Limewire is too slow | SlowPoke | New Feature Requests | 13 | April 19th, 2006 06:23 PM |
BBC to distribute programming through P2P networks | topbanana | Open Discussion topics | 0 | June 8th, 2005 06:49 AM |
info on programming | deepblue | General Gnutella Development Discussion | 11 | September 13th, 2003 08:25 PM |
OT: Programming Jobs | fireforce | General Gnutella Development Discussion | 6 | June 25th, 2002 05:32 AM |