The shotgun wrapper needs an attribute query procedure. We use python and QT to build UI's and it would be nice to include in your shotgun wrapper a procedure to query a field and return valid values. Typically we would use this to populate a list box with valid values from a list field from shotgun.
-Romey