On Wed, Jan 15, 2003 at 03:25:56AM -0800, David M. Cook wrote:
> Has anyone tried to create their own custom cell renderer in python?
If anyone is interested, I managed to avoid having to do this by using the
following instead of get_cursor (which appears to be broken):
toplevel = view.get_toplevel()
focus_widget = toplevel.get_focus()
if focus_widget and isinstance(focus_widget, gtk.Entry):
alloc = focus_widget.allocation
path, viewcol, cell_x, cell_y = view.get_path_at_pos(alloc.x, alloc.y)
This gets the path and TreeViewColumn of the currently focused entry in an
editable treeview.
Dave
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/