471,624 Members | 1,986 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,624 software developers and data experts.

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 2067
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 XIAOLAOHU | last post: by
1 post views Thread by ZEDKYRIE | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.