I am making a poker game using pyGTK. My problem right now is that the other players won't let me play! Each player has a function for betting and they go in order such as amandaBet(), playerBet(), billBet()... where player is you. Since this is a GUI game, I am not using the terminal for input and am relying on Button widgets for the player to call, raise and fold. In my text version, this wasn't a problem because everything gets put on hold while waiting for raw_input. How can I make my playerBet() function wait for input from one of these buttons and not just check their status and move on to the next player?