Well, the function is gtk_widget_destroy() that you should add to your callback. However, are you going to be recreating these widgets multiple times? If so, maybe you should just connect the hbox to gtk_widget_hide_all().
Ah..so my problem was a typo...oops. And no, these will be a one off creation.
I have another question though...I have a list of parameters which I need to be able to individually edit their initialised values. I was hoping to do this with gtk_entry_new.
I am developing my code in the Maemo environment (for running on a Nokia N700) and I have a vbox full of gtk_entry widgets, filled in with their initialised values. Whenever I click on one of the entry boxes the little virtual keyboard of the Nokia pops up. My question is, what signal is triggered whenever I select the entry box to edit the value?
Or more to the point, at what stage could I insert the new parameter value from the entry widget to its allocated variable?