focus.py 文件源码

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

项目:mmplayer 作者: Bakterija 项目源码 文件源码
def __init__(self, **kwargs):
        self.register_event_type('on_focus_textinput')
        super(FocusBehavior, self).__init__(**kwargs)
        self.fbind('focus', self.remove_other_focused)
        self.fbind('is_focusable', self.update_is_focusable)
        if not self.is_subfocus:
            self.bind(parent=on_parent)
            if self.grab_focus and self.is_focusable:
                self.focus_widget(self)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号