PhilC opened this issue on Oct 24, 2005 ยท 5 posts
PhilC posted Mon, 24 October 2005 at 8:59 AM
Could someone be kind enough to show a brief example of how the method "DialogTextEntry" is used. I'm reading the example syntax but am not sure what "parentDialog" is referring to.
Thanks,
mkrueger posted Mon, 24 October 2005 at 12:47 PM
Hi!
Just use:
dte = poser.DialogTextEntry(None, 'YourDialogText')
You show the dialog with
dte.Show()
and get the text with
text = dte.Text()
Hope that helps!
martin
Message edited on: 10/24/2005 12:48
PhilC posted Mon, 24 October 2005 at 5:48 PM
mkrueger posted Mon, 24 October 2005 at 6:37 PM
I don't think it's mentioned in the Poserpython pdf at all. I built myself a console to play around with the Python API in Poser itself, and since there were just the two methods available, it was quite easy to figure it out. As far as the parentDialog is concerned, I don't know what it is actually supposed to be (the Poser Application window?), but None seems to work fine. martin
nruddock posted Tue, 25 October 2005 at 3:24 AM
Attached Link: http://www.renderosity.com/messages.ez?Form.ShowMessage=2340089
The only Python documentation you can really trust, is what gets extracted from modules and classes themselves using documentaion.py Not everything is covered in the supplied script, but it's easy to add what isn't.