Re: [pygtk] pygtk and python3 (ctypes-gtk)

2011-01-07 Thread Stuart Axon
Will this work with virtualenv and pip? ... normal pygtk doesn't, and that would be a definite advantage. ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

Re: [pygtk] pygtk and python3 (ctypes-gtk)

2011-01-06 Thread jbow...@amathaine.com
On Thu, Jan 6, 2011 at 6:04 PM, Hart's Antler wrote: > > Its more than just a test case for RPythonic.  PyGTK is compiled, so it > becomes an issue when used from Python embedded inside Blender, also Blender > is using Python3 and i'm not sure what the status is of PyGTK with Python3, > is it a

Re: [pygtk] pygtk and python3 (ctypes-gtk)

2011-01-05 Thread Hart's Antler
rld')gtk_container_add( ctypes.cast(win, ctypes.POINTER(GtkContainer)), ctypes.cast(frame, ctypes.POINTER(GtkWidget))) gtk_widget_show_all( winwidget )gtk_main()print('exit') --- On Wed, 1/5/11, jbow...@amathaine.com wrote: From: jbow...@amathaine.com Subject: Re: [p

Re: [pygtk] pygtk and python3 (ctypes-gtk)

2011-01-05 Thread jbow...@amathaine.com
On Thu, Jan 6, 2011 at 4:08 PM, Hart's Antler wrote: > I have some initial ctypes bindings for gtk that work in both python2 and 3. Is there a particular scenario where this would be a better choice than using the PyGTK bindings? Or is this just intended to be a test case for the RPythonic wrapp

[pygtk] pygtk and python3 (ctypes-gtk)

2011-01-05 Thread Hart's Antler
Hi All,I have some initial ctypes bindings for gtk that work in both python2 and 3.  I haven't tested it to the point of opening a window, because i am not familiar with the C API of GTK.  I am able to load the lib and call a few functions, so i think its working it just needs the proper startup