Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/r/h/rhinopython-HEAD/scripts/rhinoscript/userinterface.py   rhinopython(Download)
def EditBox(default_string=None, message=None, title=None):
    """Display dialog box prompting the user to enter a string value. The
    string value may span multiple lines
    """
    rc, text = Rhino.UI.Dialogs.ShowEditBox(title, message, default_string, True)
def StringBox(message=None, default_value=None, title=None):
    "Display a dialog box prompting the user to enter a string value."
    rc, text = Rhino.UI.Dialogs.ShowEditBox(title, message, default_value, False)
    if rc!=System.Windows.Forms.DialogResult.OK: return None
    return text