def draw_callback_tooltip(self, context): if self.draw_tooltip: s = bpy.context.scene sr = s.get('search results') r = sr[self.active_index] ui.draw_tooltip_with_author(r, 0, 500)
def draw_callback_tooltip(self, context): if self.draw_tooltip: wm = bpy.context.window_manager sr = wm.get('search results') r = sr[self.active_index] ui.draw_tooltip_with_author(r, 0, 500)