Hi all,
attached there is the asked python port.
It works but shows next message:
[EMAIL PROTECTED] inigo]$ python test-path_def.py
(test-path_def.py:7912): GnomeCanvas-CRITICAL **: file gnome-canvas-
path-def.c: line 949 (gnome_canvas_path_def_closepath_current):
assertion `path->end - path->sub
I realize this is a gtk question, not a pygtk question. The state of the
internet's email infrastructure often makes it nearly impossible to post the
occasional message to the most appropriate list though. (Most lists allow
posts from subscribers only these days.) I went looking for the GTK FAQ,
Hi
I'd like to embed images into my TextBuffer, and then center them.
The code snippet at the moment is:
tv = gtk.TextView ()
buf = tv.get_buffer ()
buf.create_tag ('center-image', justification = gtk.JUSTIFY_CENTER)
...
pixbuf = gtk.gdk.pixbuf_new_from_file ('path/to/imag