code: func WmHintsGet(xu *xgbutil.XUtil, win xproto.Window) (mh *Hints, err error) {
  	lenExpect := 5
  	hints, err := xprop.PropValNums(xprop.GetProperty(xu, win,
  		"_MOTIF_WM_HINTS"))
  	if err != nil {
  		return nil, err
  	}
  	if len(hints) != lenExpect {
  		return nil,
  			fmt.Errorf("motif.WmHintsGet: There are %d fields in "+
  				"_MOTIF_WM_HINTS, but xgbutil expects %d.",
  				len(hints), lenExpect)
  	}
  
  	mh = &Hints{}
  	mh.Flags = hints[0]
  	mh.Function = hints[1]
  	mh.Decoration = hints[2]
  	mh.Input = hints[3]
  	mh.Status = hints[4]
  
  	return
  }
docs: // _MOTIF_WM_HINTS get