Beispiel #1
0
 def test_configure_avoidmousewheel(self):
     widget = self.create()
     widget_list = tuple([tkmacosx.Colorscale(widget) for i in range(10)])
     self.checkParam(widget, 'avoidmousewheel', widget_list[0])
     widget['avoidmousewheel'] = widget_list
     for w in widget_list:
         self.assertIn(w, widget['avoidmousewheel'])
Beispiel #2
0
 def create(self, **kwargs):
     return tkmacosx.Colorscale(self.root, **kwargs)