Q. When you refer to the ??gay gene theory,? what do you mean?

A. We refer to two ideas: one, that one gene has been found or will be found that controls the expression of homosexual (or heterosexual for that matter) attractions and two, that a gene or genes has been or will be found that directly determines the direction of one??s sexual affections.

These temperamental traits will predispose children to prefer activities that are either gender conforming or gender non-conforming. Those children who prefer gender non-conforming activities develop feelings of difference from same sex peers and come to view those of the same sex as being other than them, akin to being the opposite sex.
http://www.drthrockmorton.com/article.asp?id=129