Re: Small question about GtkTextView

2005-04-21 Thread Paolo Costabel
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 chang

Small question about GtkTextView

2005-04-21 Thread Pavel Syomin
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 Gtk