Get action back from Gtkmozembed

Hi guys,

If i use Gtkmozembed without a webserver, using it with just ruby and a
template library, if i make a textinput or button or anything, how can i
read back the data? anyone have a suggestion?