I have felt the same, thinking back to handling xml in the past. I was
thinking that you draw a SVG in inkscape, which xml is read for python UI.
It looks like its a pythonic way if you need xml, but I've only used it in
small protos. I'm curious if anyone has used amara in bigger projects?
(Not
] Layout module for Pygame surfaces
Why does it need to be XML? Write it out as python dict's and eval the
file. 2 lines of code.
And use an existing library and write an editor for it. Thats really
the thrust of what you are trying to do. Support the code that is out
there instead
-pygame-us...@seul.org]
On
Behalf Of
Mark Reed
Sent: Saturday, May 15, 2010 12:07 PM
To: pygame-users@seul.org
Subject: Re: [pygame] Layout module for Pygame surfaces
Why does it need to be XML? Write it out as python dict's and eval the
file. 2 lines of code.
And use an existing
Of
Mark Reed
Sent: Saturday, May 15, 2010 12:07 PM
To: pygame-users@seul.org
Subject: Re: [pygame] Layout module for Pygame surfaces
Why does it need to be XML? Write it out as python dict's and eval
the
file. 2 lines of code.
And use an existing library and write an editor
-us...@seul.org]
On
Behalf Of
Mark Reed
Sent: Saturday, May 15, 2010 12:07 PM
To: pygame-users@seul.org
Subject: Re: [pygame] Layout module for Pygame surfaces
Why does it need to be XML? Write it out as python dict's and eval
the
file. 2 lines of code.
And use
I would use XML. It opens the audience to a larger group, and makes it
easier for other tools to work with.
This might work? Says it uses HTML for layout , python for scripting.
http://www.libavg.de/concept.php
see also, xrc tutorial: ( XML layout for wxwindows )
XML is only to save the programmer effort and was created because so
many languages can't process text and do not have good data
structures. It is not the best way for a user to hand enter a design
for a UI. And in fact in python it makes the programmers job harder
because reading the file is
I like that idea a whole lot more than XML.
-Original Message-
From: owner-pygame-us...@seul.org [mailto:owner-pygame-us...@seul.org] On
Behalf Of
Mark Reed
Sent: Saturday, May 15, 2010 12:07 PM
To: pygame-users@seul.org
Subject: Re: [pygame] Layout module for Pygame surfaces
] On
Behalf Of
Mark Reed
Sent: Saturday, May 15, 2010 12:07 PM
To: pygame-users@seul.org
Subject: Re: [pygame] Layout module for Pygame surfaces
Why does it need to be XML? Write it out as python dict's and eval the
file. 2 lines of code.
And use an existing library and write an editor
...@seul.org [mailto:owner-pygame-us...@seul.org] On
Behalf Of
Mark Reed
Sent: Saturday, May 15, 2010 12:07 PM
To: pygame-users@seul.org
Subject: Re: [pygame] Layout module for Pygame surfaces
Why does it need to be XML? Write it out as python dict's and eval the
file. 2 lines of code.
And use
There's no GUI behind the the XML right now. I wrote the XML by hand.
The idea is to do the library and write an application like Glade, but for
Pygame.
2010/5/15 jake b ninmonk...@gmail.com
What GUI are you using behind the xml?
I'd be interested in seeing the code.
--
Pablo Recio
Cool. A GUI builder / editor would be useful.
Would it be better to design the format to be a non-specific toolkit?
You would edit your GUI , saving xml. Then the game render's using it's
toolkit.
I don't have much experience with different toolkits, so I don't know if
it's best to
Why does it need to be XML? Write it out as python dict's and eval the
file. 2 lines of code.
And use an existing library and write an editor for it. Thats really
the thrust of what you are trying to do. Support the code that is out
there instead of rewriting it.
Mark
On Sat, May 15, 2010 at
What GUI are you using behind the xml?
I'd be interested in seeing the code.
Hi!
Some months ago I developed an application that uses Pygame as main media
lbrary. One of the problems I saw when I was developing is to structure the
layout of the screen, because sometimes you want to make some layout to
organize on a best way that screen.
Here is some example:
15 matches
Mail list logo