mode xml attibute, set to select to set select mode for corresponding button
from script myToolbar.addButtonSelect(id, pos, text, opts, imgEnabled, imgDisabled, renderSelect, openAll, maxOpen, mode);