lpf.py 文件源码

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

项目:GRIPy 作者: giruenf 项目源码 文件源码
def CreateEditorCtrl(self, parent, rect, value):    
        OM = ObjectManager(self)
        acceptable_tids = LogPlotController.get_acceptable_tids()
        tids = list(set([obj._TID_FRIENDLY_NAME for obj in OM.list() \
                         if obj.tid in acceptable_tids
                        ]
                       )
        )
        #print 'tids:', tids
        _editor = wx.Choice(parent, 
                            wx.ID_ANY,
                            rect.GetTopLeft(),
                            wx.Size(rect.GetWidth(), -1),
                            choices=tids
        )
        _editor.SetRect(rect)
        return _editor
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号