you have to use gtksourceview rather than gtktextview:
http://www.pygtk.org/pygtksourceview/class-gtksourceview.html#method-gtksourceview--set-show-line-numbers
cheers,
Giuseppe.
http://www.pygtk.org/pygtksourceview/class-gtksourceview.html#method-gtksourceview--set-show-line-numbers
On Wed, Apr
you have to use gtksourceview rather than gtktextview:
http://www.pygtk.org/pygtksourceview/class-gtksourceview.html#method-gtksourceview--set-show-line-numbers
cheers,
Giuseppe.
Hi Giuseppe.
Thank for the information!
Regards
cristian
___
pygtk
Hi.
I searched Google, but can not find a clear way of how to number lines
in a TextView control.
Any information you could give me an idea, thanks in advance!
Regards.
Cristian AbarzĂșa
___
pygtk mailing list pygtk@daa.com.au