Passing custom parameters




Gtk - C

how to pass multiple arguments to a function from a widget. eg i have
two text entry widgets

and one button. What i want to do is that when i click the button i
should be able to 

print(terminal) the contents of both the text entry widgets. Right now i
can print from only one

widget.



g_signal_connect accepts only 4 arguments. The last one is the data
pointer when i pass

another data pointer as 5 arguments, gtk spits an error which says that
only 4 arguments

are valid. 
-- 
  Sumedh
  sumedhk ftml net

-- 
http://www.fastmail.fm - Accessible with your email software
                          or over the web




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]