I think they have proven that there is a genetic component in most cases. I believe they discovered that a certain chromosome in the brain is different in gay people. I'll see if I can find an article about it.
Here is an article that provides research that shows a genetic component.