Re: A few questions on GtkTextView
- From: Emmanuele Bassi <ebassi gmail com>
- To: gtk-perl-list gnome org
- Subject: Re: A few questions on GtkTextView
- Date: Mon, 22 Jan 2007 11:21:12 +0000
On Mon, 2007-01-22 at 16:43 +0530, Ashwin Ramachandran wrote:
Hi All,
I have a few questions on GtkTextView.
It will be helpful, if someone can throw some light on this.
a.TextView and 80 column limit:
b. TextView and formatting of input:
you should use the Gtk2::SourceView module and its widgets: it is more
suited for what you need than the raw Gtk2::TextView widget alone (it's
the same widget used by the Gedit text editor). the Gtk2::SourceView
widget is a TextView, so every method working on the TextView will also
work on the SourceView.
you can find Gtk2::SourceView on CPAN; its only requirements are the
Gtk2 Perl modules and the gtksourceview C library (which is portable, as
far as I know, on other operating systems than Linux).
ciao,
Emmanuele.
--
Emmanuele Bassi, E: ebassi gmail com
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]