How to improve designer's reaction time to gtk callback ?
Posted: Fri Mar 09, 2012 9:08 am
Hello,
I'm creating a box which includes buttons to be used during scenario execution. What I do is changing some variables in the callback associated to the buttons, and then processClock consults these variables and do what has to be done accordingly.
Thus, I may wait up to 1/(box clock frequency) before something happens.
To improve speed, I can rise box clock frequency, but I would prefer the callback directly call a process function (no overall performance loss).
But :
1- gtk is C (impossible to convert 'overloaded-function' into 'GCallback'). Would using gtkmm can solve this problem ?
2- viewtopic.php?f=3&t=367&p=1652&hilit=gtk+callback#p1652.
Does someone have a better way to do this ?
Thanks.
Nicolas.
I'm creating a box which includes buttons to be used during scenario execution. What I do is changing some variables in the callback associated to the buttons, and then processClock consults these variables and do what has to be done accordingly.
Thus, I may wait up to 1/(box clock frequency) before something happens.
To improve speed, I can rise box clock frequency, but I would prefer the callback directly call a process function (no overall performance loss).
But :
1- gtk is C (impossible to convert 'overloaded-function' into 'GCallback'). Would using gtkmm can solve this problem ?
2- viewtopic.php?f=3&t=367&p=1652&hilit=gtk+callback#p1652.
Does someone have a better way to do this ?
Thanks.
Nicolas.