Called when a card is selected by clicking on the
        card or reader tree control or toolbar.

def OnSelectCard(self, card):
        """Called when a card is selected by clicking on the
        card or reader tree control or toolbar."""
        SimpleSCardAppEventObserver.OnSelectCard(self, card)
        self.feedbacktext.SetLabel('Selected card: ' + repr(card))
        if hasattr(self.selectedcard, 'connection'):
            self.transmitbutton.Enable()