Browse Button for a GUI

Function will place a browse icon on a button

This script implements a function to produce a browse icon (yellow folder) on a Graphicsal User Interface (GUI):

BrowseButton – The widget button that gets passed to this function will have a little folder icon added to it.

Input argument:
– Widget = Takes a widget made by a user and places a yellow folder on the browse icon.

In the example, a small GUI window will appear that will show the yellow folder icon placed on a browse button, when pressed the button will open a window allowing you to browse for a file.