Required library edition: Required library file: dhtmlxwindows.js
adds a user button
dhxWins.window(id).addUserButton("tray", 9, "Tray", "tray");