Connecting a signal handler "after" default handler [GTK]

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Connecting a signal handler "after" default handler [GTK]

ZuLuuuuuu
Hello,

Recently, I have a case where I want to prevent a GtkNotebook to switch pages but because the default handler of GtkNotebook's "switch-page" signal is executed after the custom signal of the user, I can't do it. I found a solution to this problem where one can use this function:

http://developer.gnome.org/gtk/2.24/gtk-Signals.html#gtk-signal-connect-after

so that the custom handler is executed last. Is there a way to use this function on GST?
Canol Gökel
Reply | Threaded
Open this post in threaded view
|

Re: Connecting a signal handler "after" default handler [GTK]

Paolo Bonzini-2
On 08/04/2011 06:56 PM, ZuLuuuuuu wrote:
> I found a
> solution to this problem where one can use this function:
>
> http://developer.gnome.org/gtk/2.24/gtk-Signals.html#gtk-signal-connect-after
>
> so that the custom handler is executed last. Is there a way to use this
> function on GST?

I'll add the bindings.

Paolo

_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Connecting a signal handler "after" default handler [GTK]

ZuLuuuuuu
Paolo Bonzini-2 wrote
On 08/04/2011 06:56 PM, ZuLuuuuuu wrote:
> I found a
> solution to this problem where one can use this function:
>
> http://developer.gnome.org/gtk/2.24/gtk-Signals.html#gtk-signal-connect-after
>
> so that the custom handler is executed last. Is there a way to use this
> function on GST?

I'll add the bindings.

Paolo
Thanks...
Canol Gökel