Textures in GLSL

Im wondering how to make textures in GLSL mode, in texture mode i use UV and its easy to make texture as i want, but what about GLSL, how can i edit this texture, cuz UV/Image Editor dont work. plz help