Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
VTE 的get_cursor_position()返回“回滚缓冲区”坐标,即y不是相对于屏幕的开头,而是相对于回滚缓冲区的开头。我怎样才能获得屏幕坐标?
y
gtk.gdk.get_default_root_window().get_pointer()