function tooltipHotkey(text, context, name) constructor { self.text = text; self.hotkey = getHotkey(context, name); static drawTooltip = function() { } }