'counter_buttonaspect': 2.0,
'counter_initwait': 1000,
'counter_repeatrate': 20,
'label_text' : 'Counter:',
'buttons' : ('OK', 'Cancel', 'Help'),
(Test
.num_options
, (), 11),
('counter_Arrow_borderwidth', 10),
('counter_hull_background', 'yellow'),
('command', Test
.callback1
),
('hull_cursor', 'gumby'),
('counter_datatype', 'time'),
('counter_datatype', 'numeric'),
('entry_borderwidth', 6),
('entry_relief', 'raised'),
('entry_exportselection', 0),
('entry_foreground', 'blue'),
('hull_highlightcolor', 'Red'),
('hull_highlightthickness', 2),
('counter_increment', 1),
('entry_insertbackground', 'Yellow'),
('entry_insertbackground', 'Black'),
('entry_insertborderwidth', 1),
('entry_insertborderwidth', 0),
('entry_insertofftime', 400),
('entry_insertontime', 700),
('entry_insertwidth', 3),
('entryfield_invalidcommand', Test
.callback
),
('entry_background', 'red'),
('entry_justify', 'right'),
('entry_justify', 'center'),
('entry_justify', 'left'),
('entry_relief', 'raised'),
('entry_relief', 'sunken'),
('entry_state', 'disabled'),
('entry_state', 'normal'),
('entry_background', 'GhostWhite'),
('entryfield_validate', 'numeric'),
('entryfield_validate', 'alphabetic'),
('relief', 'bogus', 'KeyError: Unknown option "relief" for CounterDialog'),
(c
.interior
, (), Tkinter
.Frame
),
(c
.invoke
, (), 'Cancel'),
(c
.insert
, ('end', 'Test String')),
(c
.get
, (), 'Test String'),
(c
.insert
, ('end', 'Another Test')),
'label_text' : 'Another counter',
'buttons' : ('OK', 'Cancel'),
(c
.title
, 'CounterDialog 2', ''),
testData
= ((c
, alltests
),)
if __name__
== '__main__':