pmfiberbiref.py 文件源码

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

项目:pm-fiber-birefringence 作者: sid5432 项目源码 文件源码
def instructions(self):
        # msgarea = Text( self.hp_frame, width=140, height=18 )
        # msgarea.grid( column=0, row=0, sticky=(W,E) )

        msgarea = Text( self.hp_frame, height=18 )
        msgarea.pack(side=LEFT, fill=BOTH, expand=1 )

        sb = ttk.Scrollbar( self.hp_frame, orient='vertical', command=msgarea.yview )
        # sb.grid( row=0, column=1, sticky=(N,S,W) )
        sb.pack( side=TOP, fill=BOTH, expand=1 )

        msgarea['yscrollcommand'] = sb.set
        msgarea.bind('<Key>', lambda e: 'break') # ignore all key presses

        msgarea.insert('end', help.usage)

        return

    # ----------------------------------------------------------
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号