def _toggle_interface(self, show):
"""Helper function to toggle the main game interface on/off when game starts/ends."""
self.bid_text.set_sensitive(show)
self.button_fold.set_sensitive(show)
self.button_check.set_sensitive(show)
self.button_call.set_sensitive(show)
self.button_raise_bid.set_sensitive(show)
if not show:
self.button_shuffle.show()
评论列表
文章目录