Got the solution was Re: [pygtk] A few quickies (IMPORTANT)
Hassan Aurag
aurag@geocities.com
07 Nov 2000 08:27:26 +0500
Can't say I am not waiting.
It's a pity GtkText is so bad and your bindings are so easy to use.
> On 4 Nov 2000, Hassan Aurag wrote:
>
> > Ok here is the deal:
> >
> > The text showing weirdly is realted to font choice as I discovered today. Using fixed fonts corrected the problem.
> >
> > It's weird as far as I am concerned but this is how it works.
> >
> >
> > As for the position part, it was my mistake as I also discovered today. I forgot to count
> > newlines when scrolling to that position.
>
> This is one of the places where the new text widget, it is much easier to
> navigate through the text buffer using GtkTextIter objects.
>
> James.
>
--
------------------------------------------------------------------
------------------------------------------------------------------
Hassan Aurag
------------------------------------------------------------------
CAE Electronics Ltd | Universite de Montreal
System update specialist| Centre de Recherches Mathematiques
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Maximum Linux Magazine | Universite de Montreal
Contributing Editor | Departement de Maths/Stat
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
EMAIL: aurag@cae.ca, aurag@crm.umontreal.ca,
------------------------------------------------------------------
------------------------------------------------------------------
My nose feels like a bad Ronald Reagan movie ...
------------------------------------------------------------------