# Based on iwidgets2.2.0/tests/promptdialog.test code.
'entryfield_labelpos': 'n',
'label_text' : 'Please enter your password',
'buttons' : ('OK', 'Cancel', 'Help'),
(Test
.num_options
, (), 11),
(c
.title
, 'PromptDialog 1', ''),
('hull_background', '#d9d9d9'),
('hull_cursor', 'gumby'),
('entry_exportselection', 1),
('entry_foreground', 'Black'),
('entry_background', 'GhostWhite'),
('entry_insertbackground', 'Black'),
('entry_insertborderwidth', 1),
('entry_insertborderwidth', 0),
('entry_insertofftime', 400),
('entry_insertontime', 700),
('entry_insertwidth', 3),
('entry_justify', 'left'),
('entry_relief', 'sunken'),
('entry_state', 'disabled'),
('entry_state', 'normal'),
('entry_background', 'GhostWhite'),
('entryfield_validate', 'numeric'),
('entryfield_validate', 'alphabetic'),
('entryfield_validate', 'alphanumeric'),
(c
.interior
, (), Tkinter
.Frame
),
(c
.insertentry
, ('end', 'Test String')),
(c
.get
, (), 'Test String'),
(c
.deleteentry
, (0, 'end')),
(c
.insertentry
, ('end', 'Another Test')),
(c
.indexentry
, 'end', 12),
('label_bitmap', 'warning'),
('label_image', Test
.flagup
),
('entry_font', Test
.font
['variable']),
('entry_foreground', 'red'),
(c
.title
, 'PromptDialog 1: new title', ''),
'entryfield_labelpos': 'w',
'label_text' : 'Please enter your password',
'buttons' : ('OK', 'Cancel'),
(c
.title
, 'PromptDialog 2', ''),
testData
= ((c
, alltests
),)
if __name__
== '__main__':