Re: Small question about GtkTextView
- From: Paolo Costabel <paolo zebradevelopment com>
- To: Pavel Syomin <syomin radico ru>
- Cc: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: Small question about GtkTextView
- Date: Thu, 21 Apr 2005 09:26:12 -0700
You can use the "insert-text" signal of GtkTextBuffer to filter input and
the "mark-set" signal to catch cursor movements.
Pavel Syomin wrote:
Hi, I'm try to create something like console widget using GtkTextView,
but I'm confronted with some difficults. I want to process user input
before change GtkTextBuffer, but don't know how to do it. For example,
when user press "up arrow" or "down arrow" key I need to change
current line in GtkTextBuffer and when user press "Enter" I need to
call function. I read Gtk API reference, but didn't find answer for my
question. Any ideas?
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]