(self, **kwargs)
| 97 | |
| 98 | class ToolBar(gui.HBox): |
| 99 | def __init__(self, **kwargs): |
| 100 | super(ToolBar, self).__init__(**kwargs) |
| 101 | self.css_align_items = 'center' |
| 102 | self.css_justify_content = 'flex-start' |
| 103 | self.style['background-color'] = 'white' |
| 104 | |
| 105 | def add_command(self, imagePath, callback, title): |
| 106 | icon = gui.Image(imagePath, height='90%', margin='0px 1px') |
no outgoing calls
no test coverage detected