def _on_select ( self , * args ) : if callable ( self . __callback ) : self . __callback ( self . selection )
combobox methods in tkinter python
Function bound to event of selection in the Combobox calls callback if callable : param args : Tkinter event
def _on_select(self, *args):
        """
        Function bound to event of selection in the Combobox, calls callback if callable
        
        :param args: Tkinter event
        """
        if callable(self.__callback):
            self.__callback(self.selection)