On Tue, Aug 18, 2009 at 2:14 PM, Vincent Rioux <[email protected]>wrote:

> 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.*


That line is saying that there is no way for the *user* to move or resize
the window. The programmer is of course, second only to god ;)

-- 
Tristam MacDonald
http://swiftcoder.wordpress.com/

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