More work on native gui. Make data editable.
This commit is contained in:
1 parent
5641e1706f
commit
7aa5d2af3b
43 files changed
+2686
-1037
No files matched your search
+2
-1
@@ -75,7 +75,8 @@ def get_text_contents(textview):
|
||||
Convenience function to get all contents from GtkTextView
|
||||
"""
|
||||
buf = textview.get_buffer()
|
||||
return buf.get_text(buf.get_start_iter(), buf.get_end_iter(), True)
|
||||
contents = buf.get_text(buf.get_start_iter(), buf.get_end_iter(), True).strip()
|
||||
return contents or None
|
||||
|
||||
class TouchPopup():
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user