Re-Indenting ImageDrawing.py, also changed Bind event to a Dict... Allowing to pass another key-dict the Bind( ... ) will allow to add option to parse an action inside bindMenuEvents , like self.Bind(event, handler, id=firstId, id2=lastId) and will be added inside the function bindEvents to an alternative of self.Bind(event, handler) by self.Bind(event, handler, **Option )