thank you very much Florian,

By the way i noticed that it was actually possible to position and resize a
window with no border after creation (at least on osx 10.5)

window = pyglet.window.Window(width=1024, height=768,
style=pyglet.window.Window.WINDOW_STYLE_BORDERLESS)
window.set_location(440,0)
window.set_size(400,300)

it might be good to slightly adapt the line in the help file you pointed  :
*
Borderless windows
(WINDOW_STYLE_BORDERLESS<http://pyglet.org/doc/api/pyglet.window.Window-class.html#WINDOW_STYLE_BORDERLESS>)
are not decorated by the operating system at all, and have no way to be
resized or moved around the desktop. These are useful for implementing
splash screens or custom window borders.*

best regards,
Vincent

2009/8/18 Florian Bösch <[email protected]>

>
> On Aug 18, 7:14 pm, Vincent Rioux <[email protected]> wrote:
> > is it possible to make a window without borders (title bar and buttons)
> on osx?
> http://pyglet.org/doc/programming_guide/appearance.html#window-style
> >
>

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