Re: [pygtk] GTK_IS_WIDGET on subclass of a widget fails

2009-05-22 Thread Neil Dugan
Christian Becke wrote: Jeffrey Finkelstein schrieb: I'm new to Gtk. I tried to create a subclass of an HBox and add it to a window, but I get a GtkWarning telling me that the assertion `GTK_IS_WIDGET()' fails on the instance of my subclass. For example: ===code=== from gtk import

Re: [pygtk] Recent Manager on Windows

2009-05-22 Thread Gian Mario Tagliaretti
On Thu, May 21, 2009 at 10:13 PM, Alec Mills alec.mi...@mdacorporation.com wrote: Hi, Hi Alec, [...] I'm running gtk 2.14.7 and pygtk 2.12.1 on python 2.6.2 on WinXP Pro 2002 SP3 we had a problem with 2.12.1-1 maybe you are using that one. If that is the case please update pygtk using

[pygtk] making pygobject_register_sinkfunc a noop?

2009-05-22 Thread Tomeu Vizoso
Hi, I'm working on pybank and have found a problem when removing the floating reference after construction. The current plan is to base pybank on pygobject, so pybank would basically create at runtime the equivalent of the code generated for the gtk, gstreamer, etc bindings. I'm wondering now

Re: [pygtk] making pygobject_register_sinkfunc a noop?

2009-05-22 Thread Tomeu Vizoso
On Fri, May 22, 2009 at 12:01, Tomeu Vizoso to...@sugarlabs.org wrote: Hi, I'm working on pybank and have found a problem when removing the floating reference after construction. The current plan is to base pybank on pygobject, so pybank would basically create at runtime the equivalent of

Re: [pygtk] Recent Manager on Windows

2009-05-22 Thread Gian Mario Tagliaretti
On Fri, May 22, 2009 at 4:10 PM, Alec Mills alec.mi...@mdacorporation.com wrote: Hi Gian, Hi Alec, I've tried it with both of the available installers: 2.12.1-2 and 2.12.1-3. Just to be sure, I did a completely clean install of python on my system.  I then installed python 2.6.2, the gtk+

Re: [pygtk] GTK_IS_WIDGET on subclass of a widget fails

2009-05-22 Thread Kelvin Ho
Have a look at this: http://fuhm.net/super-harmful/ ;) On Fri, May 22, 2009 at 3:21 PM, Neil Dugan py...@butterflystitches.com.auwrote: Christian Becke wrote: Jeffrey Finkelstein schrieb: I'm new to Gtk. I tried to create a subclass of an HBox and add it to a window, but I get a

Re: [pygtk] GTK_IS_WIDGET on subclass of a widget fails

2009-05-22 Thread Jeffrey Finkelstein
Kelvin Ho wrote: Have a look at this: http://fuhm.net/super-harmful/ ;) Interesting...so what can _I_ do then? This seems like a problem above me... ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the

Re: [pygtk] GTK_IS_WIDGET on subclass of a widget fails

2009-05-22 Thread Yann Leboulanger
Jeffrey Finkelstein a écrit : Kelvin Ho wrote: Have a look at this: http://fuhm.net/super-harmful/ ;) Interesting...so what can _I_ do then? This seems like a problem above me... call HBox.__init__(self), as it was suggested, it will work. ___

[pygtk] Spead Sheet like widget

2009-05-22 Thread Rob Brown-Bayliss
Hi Need to edit some tables, mostly smaller but some up to 2000 rows, 16-30ish columns. Some spread sheet like calculations, but nothing to complex. What are the best suggestions, the app needs to run on Win32 as well as Linux. Thanks in advance. -- Rob Brown-Bayliss

[pygtk] Extract GtkObject from PyObject

2009-05-22 Thread Jeremy Lewi
Hi, I'm trying to embed python in my c-application so that I can use matplotlib. My python code sets up a GtkObject to sends signals. I want to pass a reference to this GtkObject back to my C-Code so that I can then send signals from C. I can use SWIG to create C functions that are

[pygtk] building pygobject on windows

2009-05-22 Thread Dave Peticolas
Hi, I'm trying to find some information about the best way to build pygobject on Windows. Is there a preferred method to do this? I'd prefer to use whatever method is employed for the binaries that are supplied for download on pygtk.org, as I've tested those and they work fine for me, except for