Paul Pogonyshev wrote:
> Hi,
> 
> Is there a clean way to disable GtkNotebook keyboard shortcuts?  For
> instance, if I use a notebook widget (with tabs hidden, obviously)
> for a wizard dialog, I don't want the user to break the thing down
> by pressing Ctrl-PgDown and force a tab switch without the program's
> consent.

OK, I'll answer myself.  Connect to `key-press-event' and
`key-release-event' and use g_signal_stop_emission() in the handler.

Paul
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to