Re: g_signal_connect()
- From: Sven Neumann <sven gimp org>
- To: jrainha olivia inesc-id pt
- Cc: gtk-list gnome org
- Subject: Re: g_signal_connect()
- Date: 13 Oct 2003 14:00:27 +0200
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]