(self,event=None)
return
Check if a hyperlink was clicked
Check if a hyperlink was clicked
Check if a hyperlink was clicked
def check_hyperlink(self,event=None):
        """Check if a hyperlink was clicked"""

        row = self.get_row_clicked(event)
        col = self.get_col_clicked(event)
        #absrow = self.get_AbsoluteRow(row)
        recdata = self.model.getValueAt(row, col)
        try:
            link = recdata['link']
            import webbrowser
            webbrowser.open(link,autoraise=1)
        except:
            pass
        return
def check_hyperlink ( self , event = None ) : row = self . get_row_clicked ( event ) col = self . get_col_clicked ( event ) #absrow = self.get_AbsoluteRow(row) recdata = self . model . getValueAt ( row , col ) try : link = recdata [ 'link' ] import webbrowser webbrowser . open ( link , autoraise = 1 ) except : pass return