[英]How to get text from VTE using PyGObject ( Gtk3 in Python)
In the Gnome documentation of vte is described the method get_text
: vte_terminl_get_text . 在vte的Gnome文档中描述了方法get_text
: vte_terminl_get_text 。
Executing dir()
on vte.Terminal
( Gtk2) I can see that the method get_text is available, instead in Vte.Terminal
(Gtk3) that method doesn't exist. 在vte.Terminal
( vte.Terminal
dir()
上执行dir()
我可以看到方法get_text可用,而在Vte.Terminal
(Gtk3)中不存在该方法。
Is there an alternative way to get text from vte? 是否有从vte获取文本的替代方法?
不幸的是,您似乎遇到了Vte GObject Introspection绑定错误 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.