@@ -389,28 +389,73 @@ Message Box dialog
389
389
from quo.dialog import MessageBox
390
390
391
391
MessageBox(
392
- title = " Message pop up window" ,
393
- text = " Do you want to continue?\n Press ENTER to quit."
394
- )
392
+ title = ' Message window' ,
393
+ text = ' Do you want to continue?\n Press ENTER to quit.' )
395
394
396
395
```
397
- ![ Message Box] ( https://github.com/scalabli/quo/raw/master/docs/images/messagebox .png )
396
+ ![ Message Box] ( https://github.com/scalabli/quo/raw/master/docs/images/dialog/message .png )
398
397
399
398
** Example 2**
400
399
401
- Input Box dialog
400
+ - Input dialog
402
401
403
402
``` python
404
403
405
404
from quo.dialog import InputBox
406
405
407
406
InputBox(
408
- title = " InputBox shenanigans" ,
409
- text = " What Country are you from? :"
410
- )
407
+ title = ' PromptBox Shenanigans' ,
408
+ text = ' What Country are you from?:' )
411
409
412
410
```
413
- ![ Prompt Box] ( https://github.com/scalabli/quo/raw/master/docs/images/promptbox.png )
411
+ ![ Input Box] ( https://github.com/scalabli/quo/raw/master/docs/images/dialog/input.png )
412
+
413
+
414
+ - Multiline Input dialog
415
+
416
+ ``` python
417
+
418
+ from quo.dialog import InputBox
419
+
420
+ InputBox(
421
+ title = ' PromptBox Shenanigans' ,
422
+ text = ' What Country are you from?:' ,
423
+ multiline = True )
424
+
425
+ ```
426
+ ![ Input Box] ( https://github.com/scalabli/quo/raw/master/docs/images/dialog/multiline.png )
427
+
428
+ - Password Input dialog
429
+
430
+ ``` python
431
+
432
+ from quo.dialog import InputBox
433
+
434
+ InputBox(
435
+ title = ' PromptBox Shenanigans' ,
436
+ text = ' What Country are you from?:' ,
437
+ hide = True )
438
+
439
+ ```
440
+ ![ Input Box] ( https://github.com/scalabli/quo/raw/master/docs/images/dialog/password.png )
441
+
442
+ - Radiolist
443
+
444
+ ``` python
445
+
446
+ from quo.dialog import RadiolistBox
447
+
448
+ RadiolistBox(
449
+ title = " RadioList dialog example" ,
450
+ text = " Which breakfast would you like ?" ,
451
+ values = [
452
+ (" breakfast1" , " Eggs and beacon" ),
453
+ (" breakfast2" , " French breakfast" ),
454
+ (" breakfast3" , " Equestrian breakfast" )
455
+ ])
456
+
457
+ ```
458
+ ![ Radiolist] ( https://github.com/scalabli/quo/raw/master/docs/images/dialog/radiolist1.png )
414
459
415
460
Read more on [ Dialogs] ( https://quo.readthedocs.io/en/latest/dialogs.html )
416
461
0 commit comments