Re: g_signal_connect()

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

 



Hi,

Joao Rainha <jrainha@xxxxxxxxxxxxxxxxxx> 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

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux