newbie: gui help

I really sorry if i’m asking a very popular question but i simply dont find
the answer.

My question is simple… i need to tie up a slider and a text field(single
line) together. I mean when the slider is moved , the slider’s value is
reflected in the text field and vice versa.

Also please point me to some good tutorials about widget and phAB ( not please)

thanx in advance.