generate cachable consts/enums; gtk example