Hi Jango,
I can try... but I need some more info... what's the purpose of the function/button is it e.g. something like the code hereunder or more something like the attached image?
this is an example from the Maya Docs "iconTextButton.html"...
--------------------------------------------------------------
string $window = `window`;
columnLayout -adjustableColumn true;
iconTextButton -style "textOnly"
-image1 "sphere.xpm" -label "sphere";
iconTextButton -style "iconOnly"
-image1 "spotlight.xpm" -label "spotlight";
iconTextButton -style "iconAndTextHorizontal"
-image1 "cone.xpm" -label "cone";
iconTextButton -style "iconAndTextVertical"
-image1 "cube.xpm" -label "cube";
showWindow $window;
---------------------------------------------------------------
regards
Strarup
------------------------------------------------
Alex V. U. Strarup
One mistake can ruin it all...