window.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:nvim-pygtk3 作者: rliang 项目源码 文件源码
def nvim_request(self, nvim: object, sub: str, args: object) -> object:
        """Signal emitted on a request from neovim.

        This is called on neovim's event loop, so modifications to GTK widgets
        should be done through `GLib.idle_add()`.

        After emission, should return an appropriate value expected by the
        request.

        :nvim: the `neovim.Nvim` instance.
        :sub: the request name.
        :args: the request arguments.

        """
        if sub == 'Gui' and args[0] == 'Clipboard':
            return self.update_clipboard(*args[1:])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号