On Fri, Oct 4, 2013 at 10:55 AM, Peter Varo <[email protected]> wrote:
> Hello everyone, > > I was looking for a way to interact with the file-menu *(File, Edit, > View, Help, etc.)* through Pyglet, although I did not find anything -- > and of course I wanted to do this with maximum platform support *(Win, > Mac, Linux)*. Not in the documentation, nor on StackOverflow and neither > via googling it. What I want to do is quite simple: add/remove menu items, > create submenus and bind functions to them. My question is: > > • Is this possible via Pyglet? > • If so, how is it working? Van anyone suggest a code-snippet or something? > • If not, how to achieve this (probably with Python and without any extra > library)? > > Thanks in advance, > > P > > *PS: BTW I would like to thanks all the hackers out there, who created > Pyglet -- this library is exactly what the world needed -- or at least what > I was hoping for a long time!:) Here is a screenshot, of my upcoming app, > its GUI is 100% coded in Pyglet:* > > > <https://lh3.googleusercontent.com/-37vRxinyFNI/Uk7WBpDeq4I/AAAAAAAAAHQ/afHwlX6d3xk/s1600/www_pyoneer_co.png> > There is no functionality within Python to do this, and no simple way to do this in pure Python. You could a) implement the required functionality once for each major platform, using the relevant platform specific APIs, or b) switch to a cross-platform GUI toolkit like PyQT. -- Tristam MacDonald Software Development Engineer, Amazon.com http://swiftcoder.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/groups/opt_out.
