Re: Small question about GtkTextBuffer



Catch "mark-set" and reset the cursor position if it falls oustide the range.

Pavel Syomin wrote:

Hi!
Can anybody suggest me how can I restrict cursor movement on GtkTextBuffer? Now I connect to "key-press-event" signal and handle key codes, but user can change cursor position with mouse. Any ideas?

Thanks.
_______________________________________________
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]