term_widget.py 文件源码

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

项目:kivy_soil 作者: Bakterija 项目源码 文件源码
def animate_in_big(self, focus_input=True):
        self.size = self.big_size
        self.selected_size = 'big'
        if self.pos_multiplier < 1.0:
            if self.pos_multiplier:
                d = self.anim_speed * (1.0 - (self.pos_multiplier))
            else:
                d = self.anim_speed
            anim = Animation(pos_multiplier=1.0, d=d, t='out_quad')
            anim.start(self)
            self.ids.rv.scroll_to_end()
        else:
            d = 0.05
        self.ids.inputw.is_focusable = True
        if focus_input:
            Clock.schedule_once(self.focus_input, d * 3.0)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号