[pygtk] Number lines in a textview control
Giuseppe Penone
giuspen at gmail.com
Thu Apr 28 15:47:27 WST 2011
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 <pyclutter at gmail.com> 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 pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20110428/218acece/attachment.html>
More information about the pygtk
mailing list