Re: disabling notebook shortcuts
- From: Paul Pogonyshev <pogonyshev gmx net>
- To: gtk-app-devel-list gnome org
- Subject: Re: disabling notebook shortcuts
- Date: Fri, 11 Nov 2005 21:02:15 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]