Re: how copy gchar* pointer to other gchar*, send two widgets refs to callback function ?



Christian Neumair escreveu:

Short answer: Doesn't work. You can only pass one extra gpointer per
callback. I see two ways of resolving this:

1. Clean
========
Model your widgets into a new object (...)

2. Quick and Dirty
==================
Write a struct containing relevant data for your callback (...)


3. Use g_object_set_data() to store the pointers in the relevant widget.



Daniel K. O.






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