xrdb

[...] - X server resource database utility


Manual page [L1 ]


Idiom:

    for class in Label Entry Listbox Button Checkbutton Radiobutton Menu        
    do                                                                          
      echo "*$class.font: helvetica 12"                                         
    done | xrdb -merge