Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Gtk-Gnutella (Linux/Unix/Mac OSX/Windows)
Register FAQ The Twelve Commandments Members List Find the Best VPN Today's Posts

Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) Gtk-Gnutella user section. Preview this popular software: Gtk-Gnutella (Linux / BSD / Darwin / Mac OS X / Windows)


Reply
 
Thread Tools Display Modes
  #1  
Old June 9th, 2004
pantera pantera is offline
Novicius
 
Join Date: June 9th, 2004
Posts: 1
pantera is flying high
Default gyk programming

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??
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Limewire Programming Getting Started cheg Open Discussion topics 1 December 26th, 2006 04: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


All times are GMT -7. The time now is 12:45 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.

Copyright © 2026 Gnutella Forums
All Rights Reserved