Check out this discussion and this discussion. They should give you the information you need.
You can extend the TextureButton class. Inside this class, in the _ready() function, you can connect its "pressed" signal to a function in a card manager/etc and pass the card's name'id/etc to the the function in the card manager and treat it how you need to. That help at all?