Re: [pygtk] How to get the XID of a GdkDrawable?

2004-05-21 Thread Welko
John Hunter wrote: "welko" == welko <[EMAIL PROTECTED]> writes: welko> Hello, does anybody know how can I get the XID of a welko> GdkDrawable using pyGTK? I do this if sys.platform=='win32': win_id = self.widg

[pygtk] How to get the XID of a GdkDrawable?

2004-05-20 Thread welko
Hello, does anybody know how can I get the XID of a GdkDrawable using pyGTK? Or how can I check if the following function is available in pyGTK? XID gdk_x11_drawable_get_xid (GdkDrawable *drawable); (declared in gdk/gdkx.h) Best regards Velko

Re: [pygtk] difference between pipes in python and C?

2003-11-06 Thread Welko
On 06 Nov 2003 1:49, Welko wrote: > feedback. Can somebody tell me why these two programs have different output? I Hello all, I found the answer myself. The problem was that I don't read the pipe in the same way as in C. If I do it this way: import os def main(): f =

[pygtk] difference between pipes in python and C?

2003-11-05 Thread Welko
Hallo all, I know that my question is kind out of topic but since I use pygtk for this small project and on this list there are people which are familiar with C I will dare to ask. I'm new to python and do like it. For learning purposes I decided to write a simple GUI for mencoder using pygtk but