message box

Is there a built in way to popup a message box for errors in panda?
thanks,

You could do something like this:

from direct.gui.DirectGui import *
def gotOk(value):
  d.cleanup()
d = OkDialog(text = "Here's a message", command = cleanup)

David