def __init__(self, core, textviews):
self.store = Gtk.ListStore(GdkPixbuf.Pixbuf, str, str, str, str)
super(TreeViews,self).__init__(self.store)
self.uicore = core
self.textviews = textviews
self.set_rules_hint(True)
self.set_has_tooltip(True)
# Connect right click popup search menu
self.popup_handler = self.connect('button-press-event', self.popup_menu)
self.popup_handler = self.connect('row-activated', self.popup_menu)
self.fcn_pix = GdkPixbuf.Pixbuf.new_from_file(datafile_path('function.png'))
self.bb_pix = GdkPixbuf.Pixbuf.new_from_file(datafile_path('block.png'))
self.data_sec_pix = GdkPixbuf.Pixbuf.new_from_file(datafile_path('data-sec.png'))
self.exp_pix = GdkPixbuf.Pixbuf.new_from_file(datafile_path('export.png'))
self.imp_pix = GdkPixbuf.Pixbuf.new_from_file(datafile_path('import.png'))
评论列表
文章目录