Re: [pygtk] upgrade woes: pygtk 1.99.17 to 2.7.3, GDK_IS_DRAWABLE (drawable)' failed

2005-08-22 Thread Jesse Pavel
george young on August 22, 2005 wrote: [x86 linux] I'm upgrading from: python 2.3.3, pygtk-1.99.17, gtk+-2.2.4 to: python 2.4.1, pygtk-2.7.3, gtk+-2.8.0 In addition to a number of deprecation warnings, which I'm working on, I get many instances of: er.py:6155):

Re: [pygtk] segfault with pygtk 2.4.1 and icon_theme_get_default

2005-04-20 Thread Jesse Pavel
Hmm, on my machine it doesn't segfault. I'm using libxml2 2.5.10, though. Danny Milosavljevic on April 20, 2005 wrote: Hello, trying this program: #!/usr/bin/env python import gtk from xml.dom import minidom import exceptions gtk.icon_theme_get_default() try:

Re: [pygtk] Multi-OS issues: pygtk + freezing + printing

2004-09-29 Thread Jesse Pavel
Hello, Regarding printing, I found that a way to print nicely from my GTK+ app is to use ReportLab (http://www.reportlab.org/) to generate a PDF file, and then call Acrobat Reader (on Windows) with the appropriate command-line switches to make it print; or Ghostscript and lpr (on *nix).

Re: [pygtk] Controling mpg### from python

2003-06-04 Thread Jesse Pavel
Hi Chris, You could store the process ID when you start MPG123/321 and then stop it by killing it with a signal. - Jesse Christopher Shaffer on June 3, 2003 wrote: I wasen't really sure where to ask this. Does anyone know of any Python library/module that I can use to control

[pygtk] Updating the Display

2003-03-21 Thread Jesse Pavel
Hi everyone, I'm having an issue in having a dialog display its contents immediately--I want to display a message to the user before a long operation begins, and so I create a dialog, stick a label in it, and show it. Normally, the contents are not displayed until my lengthy callback finishes;

[pygtk] Freezing a treeview

2003-02-03 Thread Jesse Pavel
Hello, I'm using a TreeView to display a list backed by a ListStore, and make many changes to the store at one time: how do I freeze and thaw the view to speed up these actions? I've seen the freeze_notify/thaw_notify methods in GObject, and the freeze_child_notify/thaw_child_notify methods in

[pygtk] Threads in timeouts

2003-01-10 Thread Jesse Pavel
Hello, I've read that timeout functions registered with gtk.timeout_add() may be called from a separate thread; but is this true even if I don't initialize threading with gtk.threads_init()? My plan was to have an independent thread--that never makes GDK or GTK calls--store events in a Queue,

Re: [pygtk] Threads in timeouts

2003-01-10 Thread Jesse Pavel
Is this GTK 1.2 or 2.x? Ah, I should have mentioned that this is with Gtk 2. Take care, Jesse Christian Reis on January 10, 2003 wrote: On Fri, Jan 10, 2003 at 05:19:04PM -0500, Jesse Pavel wrote: I've read that timeout functions registered with gtk.timeout_add() may