[pygtk] Missing method in gtksourceview.SourceView
Luke Symes
allsymes at gmail.com
Thu Jan 15 06:57:18 WST 2009
Hi,
I have a gtksourceview widget setup and I want to make it so selected
lines can be indented when the Tab key is pressed (unindent on Shift
+Tab). In the gtksourceview documentation(in 'C'), I found that the
gtksourceview.SourceView class has a "set_indent_on_tab()" method which
you pass True or False to - this would do exactly what I want.
However, when I try to do this in python, I get:
AttributeError: 'gtksourceview.SourceView' object has no attribute
'set_indent_on_tab'
Is this missing in the python bindings or is something else wrong?
Thanks,
Luke.
More information about the pygtk
mailing list