title: Why can't I grid a bitmap image or photo image tkinter?
body: <p>I have this code, which uses the tkinter bitmap image:</p>
  
  <pre><code>def ask(msg='Question?',title='Question'):
      root=Tk()
      thing=Thing()
      root.title(title)
      imgw=BitmapImage(root,file='Question.xbm')
      root.iconbitmap('Question.ico')
      imgw.grid(rowspan=2,padx=5,pady=5,sticky=NSEW)
      msgw=Label(root,text=msg)
      msgw.grid(column=1,padx=10,pady=5,sticky=NSEW,columnspan=2)
      button1=Button(root,text='Yes',command=lambda:thing.change('Yes',root),underline=0)
      button1.grid(column=1,row=1,padx=5,pady=5,sticky=NSEW)
      button1.focus_set()
      button2=Button(root,text='No',command=lambda:thing.change('No',root),underline=0)
      button2.grid(column=2,row=1,padx=5,pady=5,sticky=NSEW)
      root.bind('Key-y',lambda:thing.change('Yes',root))
      root.bind('Key-n',lambda:thing.change('No',root))
      root.mainloop()
  ask()
  </code></pre>
  
  <p>...but I can't grid the bitmap image. I've tried poth photo image and bitmap image but they both say:</p>
  
  <pre><code>Traceback (most recent call last):
  File "E:\gui.py", line 18, in &lt;module&gt;
  ask()
  File "E:\gui.py", line 7, in ask
  imgw.grid(rowspan=2,padx=5,pady=5,sticky=NSEW)
  AttributeError: 'BitmapImage' object has no attribute 'grid'
  </code></pre>
  
  <p>I am using Python 3.4.2. Is there a way of doing this or is it just an annoying thing in tkinter?</p>
  
  <p>By the way, here is the <code>Thing</code> class:</p>
  
  <pre><code>class Thing:
      def __init__(self,val=None):
          self.val=val
      def change(self,val=None,win=None):
          self.val=val
          if win:win.destroy()
  </code></pre>