I have python code that displays the 'fileselect' panel to retrieve and image file. I would like to add a button and event code to this panel. Currently I initiate the 'fileselect' panel with the following after setting it up.
context.window_manager.fileselect_add(self)
Thanks