![]() |
2009-10-04
, 19:04
|
Posts: 110 |
Thanked: 215 times |
Joined on Apr 2008
@ Earth, 38.830000, -77.00000
|
#2
|
Iam using Glade for GUI building and Gtkbuilder for connecting signals.
As a newbie i got confused with the parameter type of 'data' in the code
Code:gtk_builder_connect_signals( builder, data);
gtk_builder_connect_signals( builder, (gpointer*)data);
![]() |
2009-10-04
, 19:44
|
Posts: 6 |
Thanked: 0 times |
Joined on Sep 2009
@ Finland
|
#3
|
As a newbie i got confused with the parameter type of 'data' in the code
Main window has a button and i need to update label4 upon the click of the button . as show below
All the code compiles without error
but when i run it
g_print is working but gtk_label runs into segmentation fault!!
Can some one throw some light on passing UI data to callbacks?
Last edited by rajasekaran; 2009-09-30 at 20:21.