Plugin text input / file selection

I am creating a texture plugin, and I need to allow the user to browse for a file to use. Ideally, I’d like to be able to place a button. When the user clicked the button, they would be able to browse for and select a file (the path of which would be available to the plugin).

A poor alternative would be a text entry box for the user to write in.

Is there any way to do this currently?

I’m pretty sure the answer is no, so…what is the best way to write a texture plugin via Python scripting?

Sorry that I didn’t see this sooner…

I cant help you with the file selector but I did figure out how to add a text input button for seq plugins(check out the framestamp plugin to see it in action) -there are some wierd limits on variable space though and the char limit is dependent on how many other buttons you have in the plugin…let me know if you want a TEX button and I will give you the details on how to implement it