preferences:add-preference-panel adds the result of f with name name to the preferences dialog box. f's result's parent must be f's argument.