test_DirectButton.py 132 B

123456
  1. from direct.gui.DirectButton import DirectButton
  2. def test_button_destroy():
  3. btn = DirectButton(text="Test")
  4. btn.destroy()