Summary: | pygtk : GtkTextBuffer.insert_at_cursor() doesn't follow pygtk API | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Philippe Lafoucrière <lafou> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 1.4 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Philippe Lafoucrière
2003-08-26 08:21:35 UTC
you don't say which version of pygtk you are using and also which version of gtk. The syntax has changed between versions of pyGTK If you look at the finished demo code here: ftp://ftp.ssc.com/pub/lj/listings/issue113/6586.tgz you'll see they use: try: #this changed in a revision of pyGTK2 self.logwindow.insert_at_cursor(data,len(data)) except: self.logwindow.insert_at_cursor(data) Closing as it is a matter of syntax between GTK+1 and GTK+2. See my above comment. |