Re: gtk_text_view_im_context_filter_keypress - howto replace Tab with 4-spaces?
- From: "Liam R. E. Quin" <liam holoweb net>
- To: "David C. Rankin" <drankinatty suddenlinkmail com>, gtk-app-devel-list gnome org
- Subject: Re: gtk_text_view_im_context_filter_keypress - howto replace Tab with 4-spaces?
- Date: Mon, 21 Dec 2015 03:57:14 -0500
On Mon, 2015-12-21 at 02:22 -0600, David C. Rankin wrote:
[...]
if (gtk_text_view_im_context_filter_keypress (GTK_TEXT_VIEW
(app->view),
event)) {
printf (" Tab key handled by im_context\n");
This is the wrong way round. I think that
if gtk_text_view_im_context_filter_keypress returns true you're
supposed to return TRUE without doing anything.
You may find the devhelp program useful - search for this function in
the index and you'll see an example.
Liam
--
Liam R. E. Quin <liam holoweb net>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]