Re: g_signal_connect()



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]