1 # Based on iwidgets2.2.0/tests/messagedialog.test code.
9 Pmw.aboutversion('1.0')
10 Pmw.aboutcopyright('Copyright Really Good Software')
11 Pmw.aboutcontact('For information about this application contact\nyour' +
12 'system administrator')
17 'applicationname' : 'Really Good Application',
21 (Test.num_options, (), 14),
22 ('message_anchor', 'center'),
23 ('message_justify', 'center'),
24 ('message_wraplength', 0),
25 ('hull_background', '#d9d9d9'),
26 ('icon_bitmap', 'warning'),
27 ('hull_cursor', 'gumby'),
28 ('icon_image', Test.flagup),
29 ('message_font', Test.font['variable']),
30 ('message_foreground', 'red'),
34 (c.title, 'AboutDialog 1: new title', ''),
35 (c.interior, (), Tkinter.Frame),
36 (Pmw.aboutcontact, ''),
40 'applicationname' : 'Another Really Good Application',
48 (c.title, 'AboutDialog 2', ''),
56 testData = ((c, alltests),)
58 if __name__ == '__main__':
59 Test.runTests(testData)