title: Tkinter: Adding icon into menu items
body: <p>I have a perfectly functional TkInter right click context menu, with 4 items and 1 separator, however I am trying to find out how to be able to display an icon with each item, I have managed to get the items to show as icons but this removes visibility of the actual text, which is not ideal. Does anyone know how to get the text to display to the right of the icon?</p>
  
  <p>I will paste snippets of the code and the actual menu.</p>
  
  <pre><code>try:
      def rClick_Copy(e, apnd=0):
          e.widget.event_generate('&lt;Control-c&gt;')
      def rClick_Cut(e):
          e.widget.event_generate('&lt;Control-x&gt;')
      def rClick_Paste(e):
          e.widget.event_generate('&lt;Control-v&gt;')
      def rClick_SelectA(e):
          e.widget.select_range(0, 'end')
          e.widget.icursor('end')
       e.widget.focus()
       nclst=[
              ('Cut', lambda e=e: rClick_Cut(e)),
              ('Copy', lambda e=e: rClick_Copy(e)),
              ('Paste', lambda e=e: rClick_Paste(e)),
              ('Seperator', ''),
              ('Select All', lambda e=e: rClick_SelectA(e)),
              ]
       rmenu = Menu(None, tearoff=0, takefocus=0)
       for (txt, cmd) in nclst:
           if txt == 'Seperator':
               rmenu.add_separator()
               continue
           rmenu.add_command(label=txt, command=cmd,) #image=self._img4 &lt;add this in when using icons.
       rmenu.tk_popup(e.x_root+40, e.y_root+10,entry="0")
  except TclError:
      print ' - rClick menu, something wrong'
      pass
  </code></pre>
  
  <p>The Right Click Menu:</p>
  
  <p><img src="https://i.stack.imgur.com/enygS.png" alt="The Right Click Menu"></p>
  
  <p>The Right Click Menu With Icons:</p>
  
  <p><img src="https://i.stack.imgur.com/HqbXu.png" alt="The Right Click Menu With Icons"></p>