A Seg, 2004-02-23 às 13:14, Graham Carlyle escreveu:
> I've been getting python thread deaths in an application which uses gtk
> ListStores that maintain references to python objects.
>
> isolated the problem to this example code:
> --
> import pygtk
> pygtk.require("2.0")
> import gc
> import gob
Was added describing the basic usage pattern to follow when using a
DrawingArea based on gjc and jdhunter's replies to the list. If anyone
would like to review it, I'd appreciate the effort.
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq18.008.htp
Take care,
--
Christian Robott
El vie, 27-02-2004 a las 14:32, -0300, Christian Robottom Reis escribió:
On Tue, Feb 17, 2004 at 11:15:52AM +, Gustavo J. A. M. Carneiro wrote:
> A Ter, 2004-02-17 às 00:49, Arturo González escreveu:
> > I'm having a memory leak somewhere when refreshing the content of a
> > HBox. I'm not
On Fri, Feb 27, 2004 at 06:05:09PM +, Gustavo J. A. M. Carneiro wrote:
> A Sex, 2004-02-27 às 13:22, Christian Robottom Reis escreveu:
> > On Mon, Feb 23, 2004 at 01:14:36PM +, Graham Carlyle wrote:
> > > --
> > > import pygtk
> > > pygtk.require("2.0")
> > > import gc
> > > import gobject
A Sex, 2004-02-27 às 13:22, Christian Robottom Reis escreveu:
> On Mon, Feb 23, 2004 at 01:14:36PM +, Graham Carlyle wrote:
> > --
> > import pygtk
> > pygtk.require("2.0")
> > import gc
> > import gobject
> > import gtk
> >
> > class Foo:
> > pass
> >
> > list_store = gtk.ListStore(gobje
On Tue, Feb 17, 2004 at 11:15:52AM +, Gustavo J. A. M. Carneiro wrote:
> A Ter, 2004-02-17 às 00:49, Arturo González escreveu:
> > I'm having a memory leak somewhere when refreshing the content of a
> > HBox. I'm not doing it in a optimized way, i know, but i want to find
> > where is the error
I tested your code in my system:
Windows 2000
Python 2.2
PyGTK 2.0.0
and I got some odd behaviours:
- On Windows my right alt key produces the left alt key keyval in the
release callback.
- On Windows I don't get left alt key release events
- On Windows for some keys if I left them pressed for
On Sun, Feb 08, 2004 at 02:15:49PM +, Johannes Jordens wrote:
> Just something I noticed: In the reference to gtk.MessageDialog
> (http://www.pygtk.org/pygtk2reference/class-gtkmessagedialog.html) it is
> stated that gtk.DIALOG_NO_SEPARATOR is a valid flag for the dialogue.
> However, when I tr
On Fri, Feb 13, 2004 at 09:28:11PM +0100, Abel Daniel wrote:
> I would like to make my app to have modes, a bit like the vi
> editor. Launching a mode would change some keybindings. I figured I
> can add the keybindings with gtk.binding_entry_add_signal() when the
> mode is started, but the problem
I test again with your code and found out, in combination with another key
like a accelerator/shortcut (e.g."ALT"+Q) i get a release event from both
keys (113, 65513), but from "ALT" alone i get no callback.
martin
--
import gtk
def foo(widget, event):
print wid
On Sun, Feb 22, 2004 at 12:28:57AM -0800, katrin schenk wrote:
> libgtk+2.0_0-devel-2.2.1-2mdk) when I try to run the pygtk2.0 configure
> script it gives me the following error:
>
> checking for GTK+ - version >= 2.0.0... no
> *** Could not run GTK+ test program, chec
On Mon, Feb 23, 2004 at 01:14:36PM +, Graham Carlyle wrote:
> --
> import pygtk
> pygtk.require("2.0")
> import gc
> import gobject
> import gtk
>
> class Foo:
> pass
>
> list_store = gtk.ListStore(gobject.TYPE_PYOBJECT)
> list_store.prepend((Foo(),))
> gtk.threads_init()
> list_store = N
On Wed, Feb 25, 2004 at 04:39:37PM +0100, [EMAIL PROTECTED] wrote:
> I want select first item of the menubar, if "Alt" (in gtk named mod1; i do
> not mean Alt Gr) released. I connect the key-release-event and it work
> for all other keys, but not for Mod1. For Mod1 i get only the keypressed
> e
On Wed, Feb 25, 2004 at 08:42:32AM +0100, eric moors wrote:
> File "/usr/lib/python2.2/ihooks.py", line 172, in load_dynamic
>return imp.load_dynamic(name, filename, file)
> ImportError: /usr/lib/python2.2/site-packages/gtk-2.0/gtk/_gtk.so: undefined
> symbol: PyUnicodeUCS2_FromUnicode
I've r
On Thu, Feb 26, 2004 at 10:09:09PM +0100, Tom Cato Amundsen wrote:
> Has anyone ran gnome-python on suse 9.0? One user of Solfege is trying
> to install solfege on a fresh suse 9.0 box, and he get this error
> message:
>
> Traceback (most recent call last):
> File "/usr/local/bin/solfege", line
15 matches
Mail list logo