Re: g_signal_connect()



Hi,

Joao Rainha <jrainha olivia inesc-id pt> writes:

> 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?

You need to disconnect the old callback or both callback will be
called (in the order they were connected).


Sven




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