[g-a-devel]keynav : ctrl + shift + 'a'



Hi,

In gtktextview.c, ctrl + 'a' is mapped to the "move_cursor" signal handler.
I'm trying to associate the same binding for ctrl + shift + 'a'.
But this doesn't seem to work.

I'm trying to do something like,

gtk_binding_entry_add_signal (binding_set, GDK_a, GDK_CONTROL_MASK |
GDK_SHIFT_MASK,
                                "move_cursor", 3,
                                GTK_TYPE_MOVEMENT_STEP,
GTK_MOVEMENT_BUFFER_ENDS,
                                GTK_TYPE_INT, -1,
                                GTK_TYPE_BOOL, FALSE);

When i press ctrl + shift + 'a', the "move_cursor" handler
(gtk_text_view_move_cursor)
does not get called.

Any ideas/suggestions ?




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