- Electron version: 1.2.7
- Operating system: OSX

Hi everyone,
I'm working on a project where I have a Tray icon, and a window pops out of it when clicked, and this window is hidden when the Tray is clicked again. 
The current behaviour of the Tray when clicked is to be highlighted while clicked, but I'd like to make it stay highlighted while my window is opened.

I haven't found a way to make it work with the latest (1.2.7) version of electron. What I'd suggest is to add a Tray method 'setHighlighted' which takes a boolean, along with 'getHighlighted' which returns a boolean. Is it feasible ?

atom/browser/ui/tray_icon.h
public:
  static TrayIcon* Create();
#if defined(OS_WIN)
  using ImageType = HICON;
#else
  using ImageType = const gfx::Image&;
#endif
  virtual ~TrayIcon();
  
  virtual void SetImage(ImageType image) = 0;
  
  virtual void SetPressedImage(ImageType image);
  
  
  
  
  virtual void SetToolTip(const std::string& tool_tip) = 0;
  
  
  virtual void SetTitle(const std::string& title);
  
  
  virtual void SetHighlightMode(bool highlight);
  
  
  virtual void DisplayBalloon(ImageType icon,
                              const base::string16& title,
                              const base::string16& contents);