When the button is pressed, I want to handle that function call not in the class that the button is in but rather in another class. So here's the following code on what I'm trying to achieve:

```
class TestButton:
    def __init__(self, root):
        self.testButton = Button(root, text ="Test Button", command = testButtonPressed).grid(row = 11, column = 0)
        #testButtonPressed is called in the TestButton class.

class TestClass:

    #The testButtonPressed function is handled in the TestClass. 
    def testButtonPressed():
        print "Button is pressed!"

```

Please let me know how this is achieved and thank you so much!