Re: [pygtk] Alt+Return accelerator

2005-12-30 Thread Jamie Norrish
John Finlay writes: > gtk.accelerator_parse('Return') > > will return: > > (65293, ) Well, I'm slightly shocked and rather abashed, since this was what I originally tried, along with a number of variations, before posting my original message, and received (0, ) - only to find, having tried

Re: [pygtk] Alt+Return accelerator

2005-12-30 Thread John Finlay
Jamie Norrish wrote: Nikos Kouremenos writes: > eventhough both pygtk ref and I think FAQ has it: I certainly couldn't find this information in the Reference (grepping through it), and while the FAQ has gtk.keysyms.Return in an example piece of code, it wasn't obvious that the question it was

Re: [pygtk] Alt+Return accelerator

2005-12-30 Thread Jamie Norrish
Nikos Kouremenos writes: > eventhough both pygtk ref and I think FAQ has it: I certainly couldn't find this information in the Reference (grepping through it), and while the FAQ has gtk.keysyms.Return in an example piece of code, it wasn't obvious that the question it was answering was my questi

[pygtk] Re: SCons'ified PyGTK

2005-12-30 Thread Gustavo J. A. M. Carneiro
Qui, 2005-12-29 às 18:35 +, Gustavo J. A. M. Carneiro escreveu: > Behold! A SCons'ified PyGTK is now available: > > http://www.gnome.org/~gjc/pygtk-2.8.3.tar.gz > http://www.gnome.org/~gjc/pygtk-scons.diff > > It needs scons 0.96.91, instead of make. I had to invest a lot of > effort and

[pygtk] expander packing issue

2005-12-30 Thread Alex Roitman
Hello, and happy holidays to everybody. I am observing strange packing behavior of the Expander widget. Consider the following piece of code: === import gtk d = gtk.Dialog('Dialog') d.connect('delete-event',lambda obj,event: gtk.main_quit()) e = gtk.Expander('Expander') e.add(gtk.Label('

[pygtk] Changing applet's background

2005-12-30 Thread nicoe
Hello, Probably a stupid question ... I suppose using a png with transparency is not sufficient to have a panel icon follow the background setting of the panel. So I suppose I should connect to background-changed and then does something on the icon I'm using ... but what ? Thank you, -- (