def METHOD_NAME(self, widget):
    tree_iter = self.store.get_iter(self.selected_path)
    obj_type = self.store.get_value(tree_iter, 1)
    obj_path = self.store.get_value(tree_iter, 4)
    if obj_type == "function":
        obj_path += "()"
    Gtk.Entry.do_insert_at_cursor(self.module.parent.command_line, obj_path)
    self.module.parent.command_line.grab_focus_without_selecting()