GNOME Bugzilla – Bug 706859
Can't get GtkSourceBuffer from Python
Last modified: 2013-08-27 10:55:25 UTC
This is the problem: >>> from gi.repository import GtkSource >>> view = GtkSource.View() >>> view.get_buffer() <TextBuffer object at 0x17170a0 (GtkTextBuffer at 0x1933ce0)> >>> This should give me a GtkSource.Buffer object, so that I can call GtkSourceBuffer methods.
Created attachment 253215 [details] [review] Add a get_buffer method for introspection purposes
Unsure about the fix, maybe an override is enough?
Created attachment 253216 [details] [review] Add a get_buffer method for introspection purposes
Thanks for the bug report. This is a known problem. See bug #643732. *** This bug has been marked as a duplicate of bug 643732 ***