changing entry shortcut hooks



Hi,

in gtkentry.c is a static array of functions which perform some
operation on the entry widget when the control or alternate key is
pressed.

static GtkTextFunction control_keys[26] =
{
  (GtkTextFunction)gtk_move_beginning_of_line,    /* a */
  (GtkTextFunction)gtk_move_backward_character,   /* b */
  ...
}

static GtkTextFunction alt_keys[26] =
{
  NULL,                                           /* a */
  (GtkTextFunction)gtk_move_backward_word,        /* b */
  NULL,                                           /* c */
  (GtkTextFunction)gtk_delete_forward_word,       /* d */
  ...
}

I would like to change such entries. Is it planned to provide some
accessors functions to these arrays ?

Bye
  Helge




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