RE: [gtk-list] Re: newbie signal question




> Just a bit ago, I wrote:
> 
>  > What if I don't want the notebook to switch pages?  I trap the
>  > switch_page signal, yes.  Can I return something?  If so, what?

You should be able to stop the signal emission with this in your
callback:

  gtk_signal_emit_stop_by_name (GTK_OBJECT (widget), "switch_page")


Damon



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