Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Gtk-Gnutella (Linux/Unix/Mac OSX/Windows)
Register FAQ The Twelve Commandments Members List Calendar Arcade 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)


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old June 9th, 2004
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
 


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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
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


All times are GMT -7. The time now is 06:37 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.