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 Tools Search this Thread Display Modes
  05 May 2007
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 !!!"
  05 May 2007
You can delete the shelf items with the 'deleteUI' command
  05 May 2007
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 !!!"
  05 May 2007
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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
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
Society of Digital Artists

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

All times are GMT. The time now is 03:00 PM.

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