469,270 Members | 1,733 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,270 developers. It's quick & easy.

Can anyone tell me if pygame and Tkinter can work together?

Hi,

Can anyone tell me if pygame and Tkinter can work together in the same
application? I thought I'd better ask before trying it, since both use
widgets.

Thanks,
Nathan Pinno

--
For great sites go to: http://www.the-web-surfers-store.com
MSN Messenger: falcon3166@hotmail,com
Yahoo! Messenger: spam_swatter31
ICQ: 199020705
AIM: f3mighty

--

.................................................. ............
Posted thru AtlantisNews - Explore EVERY Newsgroup <
http://www.AtlantisNews.com -- Lightning Fast!!! <
Access the Most Content * No Limits * Best Service <

Nov 22 '05 #1
2 2003
It's likely to be a challenge; each one has its own "event loop", and
the exact pitfalls of trying to use both at the same time probably
depend on the operating system too. For instance, on X, Tk and SDL
probably both expect full control of the handlers registered with
XSetErrorHandler and XSetIOErrorHandler, but Xlib only permits a single
handler.

Jeff

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDeos8Jd01MZaTXX0RAsKwAJ9j1gzinzFA3NYW6E5jS3 29amESHQCePlNe
x0iD62lzMplmm7Nb7izS0iE=
=s3pb
-----END PGP SIGNATURE-----

Nov 22 '05 #2
It's likely to be a challenge; each one has its own "event loop", and
the exact pitfalls of trying to use both at the same time probably
depend on the operating system too. For instance, on X, Tk and SDL
probably both expect full control of the handlers registered with
XSetErrorHandler and XSetIOErrorHandler, but Xlib only permits a single
handler.

Jeff

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDeos8Jd01MZaTXX0RAsKwAJ9j1gzinzFA3NYW6E5jS3 29amESHQCePlNe
x0iD62lzMplmm7Nb7izS0iE=
=s3pb
-----END PGP SIGNATURE-----

Nov 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Andr? Roberge | last post: by
3 posts views Thread by Erik Bethke | last post: by
3 posts views Thread by Tim Knauf | last post: by
1 post views Thread by liuliuliu | last post: by
2 posts views Thread by PatrickMinnesota | last post: by
3 posts views Thread by globalrev | last post: by
reply views Thread by Nick Dumas | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.