Re: g_signal_connect()
- From: Jiri Pavlovsky <jira getnet cz>
- To: gtk-list gnome org
- Subject: Re: g_signal_connect()
- Date: Mon, 13 Oct 2003 14:29:55 +0200
On Monday 13 of October 2003 14:00, Sven Neumann wrote:
> 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).
>
Can I 'stack' signals temporarily? What I would like to do is to
have a function that would be called once before any other callback.
This function would be set during program running.
Jiri
--
Jiri Pavlovsky <jira getnet cz>
tel: +420737196433
A: Because it messes up the order in which people normally read texts.
Q: Why is top-posting such a bad thing?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]