Re: g_signal_connect()

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

 



On Monday 13 of October 2003 14:00, Sven Neumann wrote:
> 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).
>

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@xxxxxxxxx>
tel: +420737196433
A: Because it messes up the order in which people normally read texts.
Q: Why is top-posting such a bad thing?

_______________________________________________

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