nice work! Thanks a lot!
Just some comments:
1) I had to add an 'import pygtk pygtk.require('2.0')' to make it work.
2) If I scroll back in history using 'up' I am not able to get back to the empty prompt afterwards.
3) Maybe the standalone version could react on 'CTRL-d' by exiting?
Attached is a little diff which solves 1) and 3). I didn't try to dig deeper into 2) yet.
Regards,
Jan
Am 2003.11.04 09:55 schrieb(en) Pier Carteri: [...]
I attached a new version of Py_Shell that fix a couple of problem: - avoid duplicated entry into the autocompletetion list - the width of the autocompletation popup is calculated with respect to the length of the strings This version requires pygtk 2.0 due to some function (pango.PIXELS) not present in previous release (at least 1.99.16)
I'm sorry to post this into the list instead of giving you a link to a page. I hope to have a web-page for my project (which includes Py_Shell) in a week or two (I've register it on SF, so the only things that remains is write the pages.. ). I will post the link ASAP
9a10,11 > import pygtk > pygtk.require('2.0') 397a400,402 > elif event.keyval ==gtk.gdk.keyval_from_name("d") and event.state & > gtk.gdk.CONTROL_MASK: > self.quit() > return gtk.TRUE
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/