I have been using pyglet for some text-heavy applications lately
(reusable vim editor widget and a twitter client).  There are a couple
of issues I am curious about.

First, setting Caret.PERIOD to 0 does not keep it from blinking.
Every time an event comes in (on_text, etc) visibility is toggled.
Changing the second line of the _blink method to:

        if self._visible and self._active and (self._blink_visible or
self.PERIOD == 0):

seems to do the trick.

The next can be reproduced by creating an IncrementalTextLayout with a
caret, moving the layout in the positive x direction by any amount of
pixels, filling up two lines with text, going back to the first line
and finally pressing END. This will seem to put the caret at the end
of the first line but if you then move the arrow left or right you'll
see that you are actually at the end of row two. Doing a SHIFT-END
will select til the end of row 2 as well.  If layout.x is left at 0
there is no issue. I couldn't find a fix for this one.  HOME and SHIFT-
HOME seems to be fine. I am not sure about other motions.

The final thing is actually a question to anyone on the list. Is there
a way to minimize to system tray on windows, either by using something
exposed by pyglet or by using pywin32?  I am having a hard time
finding any information about it. I do not want to use a windowing
toolkit like wx or gtk.

Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to