Gets the static code for a given widget.
We make the assumption that either the code doesn't exist, or it exists and does not change for the lifetime of the widget.
Optional
Gets the static code for a given widget.
We make the assumption that either the code doesn't exist, or it exists and does not change for the lifetime of the widget.