As far as I know, this does not happen in GTK.
In gtk, each widget has a style associated with it. Many widgets can have the same style. Styles and their association with widgets are defined in the theme file or RC user.
Here you can find a bit more information:
Edit: , , Style . , , .