[pygtk] GenericCellRenderer problem

2004-09-08 Thread Brian Campbell
I am trying to implement a custom cell renderer by subclassing gtk.GenericCellRenderer. The on_activate and on_start_editing methods of gtk.GenericCellRenderer are never called, although on_get_size and on_render work fine. Is there something I am missing? Do these functions work?

Re: [pygtk] feature request: binding for gtk_propagate_event?

2002-11-12 Thread Brian Warner
emitting signals: the immediate parent might not be the appropriate recipient. More ideas are most welcome.. thanks, -Brian ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] feature request: binding for gtk_propagate_event?

2002-11-11 Thread Brian Warner
Button() b.connect('button_press_event', button_hack_helper, "press") b.connect('button_release_event', button_hack_helper, "release") return b thanks for the help, -Brian ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] feature request: binding for gtk_propagate_event?

2002-11-10 Thread Brian Warner
t would be to add one? If there's a better workaround for this problem I'd love to hear it, but I suspect a real fix would involve changes to gtk that aren't going to happen any time soon. thanks, -Brian ___ pygtk mailing list [EMAIL

Re: [pygtk] Building on cygwin

2002-03-27 Thread Brian E Gallew
Then <[EMAIL PROTECTED]> spoke up and said: > User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020311 > >What's a .pyd? Also, there doesn't seem to be a Makefile rule for the > >creation of _gtk.py*. Perhaps this is my problem? > > > For some reason, with the windows version

Re: [pygtk] Building on cygwin

2002-03-27 Thread Brian E Gallew
Then <[EMAIL PROTECTED]> spoke up and said: > First of all, are you talking about porting pygtk on cygwin using XFree > (http://cygwin.com/xfree/) or the win32 port of gtk+ (as available from > http://www.gimp.org/win32/) ? If you plan to use XFree, things should be xfree. I'm a unix sysadmin

[pygtk] Building on cygwin

2002-03-26 Thread Brian E Gallew
I'm building pygtk-0.6.9 on cygwin. Everything seem good, EXCEPT that GtkTable doesn't seem to be included in the list of bindings. I'm finding the generate process to be a little opaque, so any help here would be appreciated. Before you suggest it, no, the binary package really won't work for

Re: [pygtk] Equivalent to IDLE interactive window with PyGtk Bindings? (fwd)

2002-02-27 Thread Brian McErlean
N/Cookbook/Python/Recipe/65109) which correctly handles multi-line code (Using the code module) This was actually in order to create and manipulate GTK windows etc from a command prompt, without having to call mainloop() to see/test it, so it still just uses the normal command

Re: [pygtk] Strange error.

2002-01-05 Thread Brian Gallew
On Thu, 2002-01-03 at 06:37, Morelli Enrico wrote: > I have to create a temporary directory to copy some data (no problem using > os.mkdir), but if the directory exist, the program must remove it. Why are you using system? import shutil shutil.rmtree(self.CDR_multi) -- ===

Re: [pygtk] Greetings!

2001-11-19 Thread Brian Allbee
This'd be using libglade (or so I presume, as the interface-prototypes were generated with glade). No manual? Hurm... Is there a (reasonably) complete list of objects/methods/properties available anywhere? On Mon, 2001-11-19 at 14:47, Christian Robottom Reis wrote: > On 19 Nov 200

[pygtk] Greetings!

2001-11-19 Thread Brian Allbee
t; comment, if you can tell me where TFM is ::grin::) +--+ | Brian Allbee | | [EMAIL PROTECTED] | +--+ ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

Re: [pygtk] Patch to those who use glc.py (Python Glade CodeGenerator)

2001-10-25 Thread Brian Gallew
On Wed, 2001-10-24 at 23:46, Christian Robottom Reis wrote: > Why _not_ libglade, btw? Because debugging libglade code that segfaults is a pain in the butt? I think it's *much* easier to just write the GUI by hand using gtk.py. OTOH,I've been writing GUIs in Tk for a long time, so the learning

[pygtk] Signal callbacks

2001-10-23 Thread Brian E Gallew
I'm writing a small IM client using gtk.py. In it, I need to use a signal. However, inside my signal handler I get PyCObjects instead of the more-useful GtkNotebook object I expect. _obj2inst() doesn't want to handle the coercion for me. How do I turn a PyCObject into the appropriate Python ob

Re: [pygtk] selection_add_handler() implemented?

2001-03-08 Thread Brian Keck
On Fri, 09 Mar 2001 08:36:57 +0800, James Henstridge wrote: >On Thu, 8 Mar 2001, Brian Keck wrote: >> Is selection_add_handler() implemented? >> I can't see it in the source. >What is selection_add_handler() supposed to do? I searched through the >gtk and gdk source

[pygtk] selection_add_handler() implemented?

2001-03-08 Thread Brian Keck
Hello, Is selection_add_handler() implemented? I can't see it in the source. Thanks, Brian Keck ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

[pygtk] can I refer to rc file style names?

2001-02-19 Thread Brian Keck
the button styles using these names when the focus changes task. Thanks for any help, Brian Keck ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

[pygtk] can I refer to rc file style names?

2001-02-19 Thread Brian Keck
the button styles using these names when the focus changes task. Thanks for any help, Brian Keck ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

Re: [pygtk] Odd colour problems with pixmaps on remote display

2000-11-05 Thread Brian Keck
ope this stimulates someone, Thanks, Brian Keck On Fri, 03 Nov 2000 22:00:27 +1000, "Rob Hodges" wrote: >Hi, > >I've received a question about a taskbar app I wrote, and I'm hoping >someone here might recognise the problem. After some correspondence >we've fou

<    1   2