By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,725 Members | 1,048 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,725 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.