'Set the scrollbar value for the results window'

def set_text_scroll(self, scroll):

    scrollbar = self.result_txt.verticalScrollBar()
    if (scrollbar and (scroll is not None)):
        scrollbar.setValue(scroll)
