What do you mean by "sliding drawer"?
An actual physical drawer like a cash drawer in a cash register?
Or some kind of control on the layout that appears when you hover over an object on your layout?
The second might be done with a tool tip. The first might be done with the right plug in, but you need a plug in in order for the "hover" event to perform a script as there is no built in script trigger that can be tripped just by hovering the mouse over a layout object.
What I mean is hovering an object in a layout, that when you put your mouse over that object it will slightly slide. like for example if I have an email icon, if i will put my mouse over it, it will slide to the right and it will show the name of that icon.
I recommend that you use the tooltip feature for this instead. That's a built in feature that pops up specified data and thus does something similar yet is very easy to set up.