On 08/05/2009, at 3:50 AM, Shadow12 <[email protected]> wrote:
>
> Hi I am new to pyglet and Python, but quite experienced in C++. I have
> a program I wrote in C++ that presents stimuli to the screen with no
> background to the stimuli so that it can be overlaid over video feeds.
> I use SetWindowRgn to define the region of the window to be drawn
> under the Windows OS. Is there something similar available in pyglet?
> I did a search and came across a similar question but no concrete
> answer was provided. If the feature is not available how would I go
> about introducing it? Does pyglet under windows use the default
> windows code and would it simply be a matter of editing the C code to
> include the SetWindowRgn command? If this is not possible are there
> any windowing alternatives for Python that have this feature?
>
>
pyglet doesn't expose this functionality, but if you take a look at
pyglet/window/__init__.py you should have no problem making the
necessary hacks.
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
-~----------~----~----~----~------~----~------~--~---