[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [pygame] GUI



Well, this question is probably just more of the same then, but since
we're on the topic:  What chance is there that PyGame will be able to act
on a screen which is embedded on a Tk canvas?  Or even a wxWindows one
(heck, I'm not picky!)?  Would that be simpler than implementing a native
SDL GUI kit from scratch?  Granted, that means that your GUI would
(probably) only be usable as an adornment to PyGame on the borders of the
main SDL screen, but it's better than nothing.

Just want to say this too:  THANK YOU, THANK YOU, THANK YOU!  You saved me
from having to go back to VB or the very cool (and very non-portable)
BlitzBasic for the game I just started working on.  Tkinter based
animations were way too slow (I never did figure out how to get
transparencies for sprites working anyway) and I was starting to get
frustrated with the Python based options; raw SDL looked too intense for
my time availability.  Anyway, thank you again and I hope you're finding
this to be a rewarding endeavor!!!



-----Original Message-----
From: owner-pygame-users@seul.org [mailto:owner-pygame-users@seul.org]On
Behalf Of ShredWheat
Sent: Tuesday, November 14, 2000 11:05 PM
To: pygame-users@seul.org
Subject: Re: [pygame] GUI


> Incidently, Alexander Pipelka, the ParaGUI guy, recently posted to the
> SDL list asking for help with a python binding to his project. Is
> anyone working with him?

i finally got a chance to look into paragui. my first impression is
that cooperation between pygame and paragui will be very difficult.
the python binding for paragui is using SWIG to generate the wrapper.

the problem is, it looks like paragui actually hides a lot of
SDL. instead of making SDL-ish calls, it uses a more standard GUI
classes like an "App" object. the paragui mainloop is started through
the app.run() function. This would make interaction between paragui
and any other library very difficult.

code is like this... (rough rough representation :])

import paragui
app = paragui.CreateApp()
app.InitDisplay(xxx)
create_all_my_widgets(app)
app.run()

i've not looked to deeply at paragui, so i'm likely missing something
very important. my hope would be that there some friendly way for paragui
and pygame to share the event queue and drawing management. but i didn't
see anything like that in the quick examples and docs browsing.


i think a nice simple GUI module is a high importance, but currently
lower priority. i'd love to help someone working on something, but i've
got a few other loose ends to be wrapping up before i start really looking
at things. i even think two gui modules wouldn't be out of the question.
one aimed at super-simple buttons ane menus, and another one that
was a more full-fledged UI library.



____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org


____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org