Gradientcontrol->rampcolor

Help.
How to connection gradientControl on the rampColor for perParticle attr.?
setAttr.position/value-->GRADIENTCONTROL->portString
setAttr colorEntryList[1].position/color-->RAMP-->float and doble values

{
string $test;
string $ramp = createNode ramp;
window;
columnLayout;
gradientControlNoAttr test;
columnLayout;
rampColorPort -node $ramp;
showWindow;
};

note thet gradient controll does not do anything without a anode taht computers the result its just a ui item that reflects things in nodes internals but you vcan use it wothout someshuch node. (you have)

(just like making buttons does not do enything untill you tell it what it is supposed to do!)

USe particle array mapoper and connect it to a shading node of the ramp.

use athe dafault ramp mapping of aprticle node to se how it owrks...