[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] PyGame surface in a PyGTK app?
- To: pygame-users@xxxxxxxx
- Subject: [pygame] PyGame surface in a PyGTK app?
- From: "Mark Mruss" <selsine@xxxxxxxxx>
- Date: Sat, 23 Sep 2006 17:10:19 -0400
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Sat, 23 Sep 2006 17:10:28 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Vk4cV6EBW665uIuLUqieUlaXL23CjNNHxXDGP2RErzT2t1Z5M+DPWTcCLoXg/03zxTzenchCb1HJNd/97sZAGJExiPPgUBU62ON1R1gx74FiCV8webIDOUH7bLuhOt1D9em8lXSy2ZWDJsBnYO+WPOfNm8RrcuArHNGThx9SRwo=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi everyone,
I've been fooling around with the idea of displaying a pyGame "screen"
in a PyGTK window as a way to make a simple tile editor.
So far I have not had much luck, the closest I've gotten is this
sample code here: http://sparcs.kaist.ac.kr/~tinuviel/devel/gtksdl.py
Does anyone know if this is the right approach? Or if there is a
better way? Or if it's even possible?
I've been playing around with the code and I can get it to "sort of"
work, but I don't want to pour hours into this if it's basically a
non-starter.
Hopefully someone has some ideas regarding this.
Thanks in advance!
mark.