Andre Roberge wrote:
> On 9/1/07, Alex Holkner <[EMAIL PROTECTED]> wrote:
>   
>> Andre Roberge wrote:
>>     
>>> pyglet works well using Crunchy ;-) (code.google.com/p/crunchy)   I am
>>> in the process of writing a crunchy-ready pyglet tutorial, learning
>>> pyglet as I go along.
>>>
>>>       
>> That's really neat, thanks for the note!  My only problem was the dir()
>> list that pops up obscures the input box (because pyglet classes are
>> quite large).  Perhaps you could hide the private identifiers by default?
>>
>>     
> Thank you for pointing this out.
> I'm using the Python built-in dir() so I don't think I could easily
> change its behavior.  However, I will look at the possibility of
> making the popup window resizable
Something like

  filter(lambda a: not a.startswith('_'), dir(thing))

or

  [a for a in dir(thing) if not a.startswith('_')]

..depending on which direction your mind works :-)

Alex.

--~--~---------~--~----~------------~-------~--~----~
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