The greenhouse effect itself happens once short-wave radiation (which isn't obstructed by the greenhouse gases) heats the surface of the world, and also the energy is radiated back through the Earth's atmosphere as heat, with a extended wavelength.
Greenhouse Effect & Mitigation Efforts For Globa...