ADOBE AFTER EFFECTS: Forum Expressions Tutorials Podcasts Creative Cloud

Tooltip on a dockable GUI

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
phil largilliereTooltip on a dockable GUI
by on May 20, 2016 at 2:36:58 pm

Hi everyone,

I just created au dockable GUI with pictos (not text) and for my users, I would like to have a tooltip on the Mouse rollover to show the name of every function.

Here is my menu :

function myScript(thisObj) {
function myScript_buildUI(thisObj) {
var myPanel = (thisObj instanceof Panel) ? thisObj : new Window("palette", "Menu Pitchy", undefined, {resizeable:true});

myPanel1: Panel{text:'Mises à jour', orientation:'row',\
myButton01: IconButton{text:'Mise à jour complète', tooltipActive:'Mise à jour complète', image:'D:/PITCHY/Scripts/Images/All.png'},\
myButton02: IconButton{text:'Vidéo', image:'D:/PITCHY/Scripts/Images/Video.png'},\
myButton03: IconButton{text:'Lignes Text', image:'D:/PITCHY/Scripts/Images/Lignes.png'},\
myButton04: IconButton{text:'Info Séquence', image:'D:/PITCHY/Scripts/Images/Info.png'},\
myPanel2: Panel{text:'Débug', orientation:'row',\
myButton05: IconButton{text:'Layer Style', image:'D:/PITCHY/Scripts/Images/Layer.png'},\
myButton06: IconButton{text:'Disable Null', image:'D:/PITCHY/Scripts/Images/Null.png'},\
myButton07: IconButton{text:'Code Camembert', image:'D:/PITCHY/Scripts/Images/Codecam.png'},\
myButton08: IconButton{text:'Code Position line1', image:'D:/PITCHY/Scripts/Images/Posline.png'},\
myPanel3: Panel{text:'Réglages', orientation:'row',\
myButton09: IconButton{text:'Rescale Bloc', image:'D:/PITCHY/Scripts/Images/Rbloc.png'},\
myButton10: IconButton{text:'Rescale Ligne', image:'D:/PITCHY/Scripts/Images/Rligne.png'},\
myButton11: IconButton{text:'Polices', image:'D:/PITCHY/Scripts/Images/Polices.png'},\
myPanel4: Panel{text:'Tests', orientation:'row',\
myButton12: IconButton{text:'Text 40 car.', image:'D:/PITCHY/Scripts/Images/T40.png'},\
myButton13: IconButton{text:'Text 120 car.', image:'D:/PITCHY/Scripts/Images/T120.png'},\
myButton14: IconButton{text:'Time Stretch', image:'D:/PITCHY/Scripts/Images/Time.png'},\

myPanel.grp = myPanel.add(res);

/*---- My buttons settings ----*/

return myPanel;

var myScriptPal = myScript_buildUI(thisObj);

if(myScriptPal != null && myScriptPal instanceof Window){;;


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2016 All Rights Reserved