how to make a trash shelf icon?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 05 May 2007   #1
how to make a trash shelf icon?

i have implemented a shelf bar in a UI and i need the trash icon like the real shelf bar
so i copied the code from shelf.mel and i have my trash icon.

the problem is that it doesn't work
is there any trick or anything to make it work ?

the fun thing is when i drag n drop a shelf button of my window onto the real trash. it works!
__________________
yz - master and servant - strange behaviour
"mort aux coins !!!"
 
Old 05 May 2007   #2
You can delete the shelf items with the 'deleteUI' command
 
Old 05 May 2007   #3
hoho thx for the tip

well i figured out the problem!
i used a tabLayout instead of a shelfTabLayout. it must be something coded in the binaries of maya. i haven't found anything in the mels

now the trash works perfectly. i can have my nice pose remote
__________________
yz - master and servant - strange behaviour
"mort aux coins !!!"
 
Old 05 May 2007   #4
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 04:58 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.