Electric Bass/Guitar Tuning Pegs?

Can someone please help me? I have been wanting to make an electric stick bass for a while, but there's one problem, tuning pegs. I've heard of people using wing nuts, but it seems that I can't get the concept through my head. If someone could please help by giving me an explanation or a better example/instructions on how to make these, it would be greatly appreciated. Thanks.

I made a guitar and i just used eyelet screws