I would like to know if there’s a simple way of invoking user text input from a menu in Panda.
I’ve written a program that generates certain types of architectural drawings based on user supplied numbers.
The simple terminal version works like this,
and the gui version like this,
dlg = wx.TextEntryDialog(self, 'Enter Depth','Text Entry') dlg.SetValue("1") if dlg.ShowModal() == wx.ID_OK: depth1 = str(dlg.GetValue()) dlg.Destroy()
I would use the latter but for the fact that wx and panda don’t get along too well. I’ve seen examples here of work arounds but I would rather just drop the wx module altogether if possible, and use something native to the engine
EDIT: Oops. Just found DirectEntry in the manual. Literacy fail.