Re: g_signal_connect()



Hi Joao, you need to disconnect the old signal if you don't want it to be called any more.

John

Joao Rainha wrote:
I want to change a callback, on a button "clicked" signal for example, to another function during program running.

Can i simply do a g_signal_connect() to the new callback function, or do i have do "unreference" the old callback?
I can find this info on the man pages.





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