code: func (im *Image) Window(parent xproto.Window) *xwindow.Window {
  	win := xwindow.Must(xwindow.Create(im.X, parent))
  	win.Resize(im.Bounds().Dx(), im.Bounds().Dy())
  
  	im.XSurfaceSet(win.Id)
  	im.XDraw()
  	im.XPaint(win.Id)
  	im.Destroy()
  
  	return win
  }
docs: // Window is a convenience function for painting the provided
  // Image value to a new window, destroying the pixmap created by that image,
  // and returning the window value.
  // The window is sized to the dimensions of the image.