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 27, 2011 at 11:02 PM, craf <[email protected]> wrote: > 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 [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
