get a float from the user Arguments: title -- the dialog title prompt -- the label text **kw -- see SimpleDialog class Return value is a float
(title, prompt, **kw)
| 367 | |
| 368 | |
| 369 | def askfloat(title, prompt, **kw): |
| 370 | '''get a float from the user |
| 371 | |
| 372 | Arguments: |
| 373 | |
| 374 | title -- the dialog title |
| 375 | prompt -- the label text |
| 376 | **kw -- see SimpleDialog class |
| 377 | |
| 378 | Return value is a float |
| 379 | ''' |
| 380 | d = _QueryFloat(title, prompt, **kw) |
| 381 | return d.result |
| 382 | |
| 383 | |
| 384 | class _QueryString(_QueryDialog): |
no test coverage detected
searching dependent graphs…