how was tkinter module created code example
Example: functions calling upon creation tkinter fix
Make your event handler a lambda function, which calls your command() - in this case get_dir()
- with whatever arguments you want:
xbBrowse = Button(frameN, text="Browse...", font=fontReg, command=lambda : self.get_dir(xbPath))