delete a symbol from ubumenu

Jul 11, 2007 at 3:56pm

delete a symbol from ubumenu

hi,

is there a way to delete a symbol from a ubumenu rather than an item??

lost my head on it with out luck.

thank you in advance.

#32843
Jul 11, 2007 at 4:47pm

On 7/11/07, |-[]-| wrote:
>
> hi,
>
> is there a way to delete a symbol from a ubumenu rather than an item??

you could stock your menu items in a coll, or try something like this:

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 77 158 48 9109513 delete blu;
#P message 22 158 48 9109513 delete blo;
#N vpatcher 25 70 306 422;
#P window setfont “Sans Serif” 9.;
#P newex 76 247 69 9109513 prepend delete;
#N comlet delete [symbol];
#P inlet 11 28 15 0;
#N comlet from ubu right outlet;
#P inlet 151 64 15 0;
#N comlet from ubu middle outlet;
#P inlet 106 108 15 0;
#N comlet to ubumenu;
#P outlet 136 288 15 0;
#P newex 76 144 40 9109513 gate;
#P newex 151 110 53 9109513 t 0 i 1 i;
#P newex 76 223 27 9109513 – 1;
#P newex 76 200 62 9109513 zl sub;
#P newex 195 177 27 9109513 – 1;
#P newex 165 151 40 9109513 uzi;
#P newex 151 85 55 9109513 route count;
#P newex 76 172 48 9109513 zl group;
#P newex 11 46 54 9109513 unpack a a;
#P newex 55 73 83 9109513 t count l;
#P connect 13 0 1 0;
#P connect 1 1 0 0;
#P connect 8 2 9 0;
#P lcolor 1;
#P connect 8 0 9 0;
#P lcolor 1;
#P connect 9 0 2 0;
#P connect 2 0 6 0;
#P connect 6 0 7 0;
#P connect 7 0 14 0;
#P connect 11 0 9 1;
#P connect 8 3 2 1;
#P connect 0 1 6 1;
#P fasten 0 0 10 0 60 285 141 285;
#P connect 5 0 10 0;
#P connect 14 0 10 0;
#P connect 12 0 3 0;
#P connect 3 0 8 0;
#P connect 8 1 4 0;
#P connect 4 2 5 0;
#P pop;
#P newobj 212 179 101 9109513 p delete;
#P message 135 118 45 9109513 delete bli;
#P message 83 119 48 9109513 delete ble;
#P message 32 119 48 9109513 delete bla;
#P user ubumenu 212 137 100 9109513 0 1 1 0;
#X add bla;
#X add ble;
#X add bli;
#X add blo;
#X add blu;
#X prefix_set 0 0 0;
#P hidden connect 5 0 4 0;
#P hidden connect 6 0 4 0;
#P hidden connect 1 0 4 0;
#P hidden connect 2 0 4 0;
#P hidden connect 3 0 4 0;
#P fasten 4 0 0 0 217 205 326 205 326 126 217 126;
#P connect 0 2 4 2;
#P connect 0 1 4 1;
#P window clipboard copycount 7;

#108641
Jul 12, 2007 at 2:37pm

thank you e.g.r.

very nice solution!!!

On 11 Jul 2007, at 17:47, e.g.r. wrote:

>
> On 7/11/07, |-[]-| wrote:
> hi,
>
> is there a way to delete a symbol from a ubumenu rather than an item??
>
>
> you could stock your menu items in a coll, or try something like this:
>
> #P window setfont “Sans Serif” 9.;
> #P window linecount 1;
> #P message 77 158 48 9109513 delete blu;
> #P message 22 158 48 9109513 delete blo;
> #N vpatcher 25 70 306 422;
> #P window setfont “Sans Serif” 9.;
> #P newex 76 247 69 9109513 prepend delete;
> #N comlet delete [symbol];
> #P inlet 11 28 15 0;
> #N comlet from ubu right outlet;
> #P inlet 151 64 15 0;
> #N comlet from ubu middle outlet;
> #P inlet 106 108 15 0;
> #N comlet to ubumenu;
> #P outlet 136 288 15 0;
> #P newex 76 144 40 9109513 gate;
> #P newex 151 110 53 9109513 t 0 i 1 i;
> #P newex 76 223 27 9109513 – 1;
> #P newex 76 200 62 9109513 zl sub;
> #P newex 195 177 27 9109513 – 1;
> #P newex 165 151 40 9109513 uzi;
> #P newex 151 85 55 9109513 route count;
> #P newex 76 172 48 9109513 zl group;
> #P newex 11 46 54 9109513 unpack a a;
> #P newex 55 73 83 9109513 t count l;
> #P connect 13 0 1 0;
> #P connect 1 1 0 0;
> #P connect 8 2 9 0;
> #P lcolor 1;
> #P connect 8 0 9 0;
> #P lcolor 1;
> #P connect 9 0 2 0;
> #P connect 2 0 6 0;
> #P connect 6 0 7 0;
> #P connect 7 0 14 0;
> #P connect 11 0 9 1;
> #P connect 8 3 2 1;
> #P connect 0 1 6 1;
> #P fasten 0 0 10 0 60 285 141 285;
> #P connect 5 0 10 0;
> #P connect 14 0 10 0;
> #P connect 12 0 3 0;
> #P connect 3 0 8 0;
> #P connect 8 1 4 0;
> #P connect 4 2 5 0;
> #P pop;
> #P newobj 212 179 101 9109513 p delete;
> #P message 135 118 45 9109513 delete bli;
> #P message 83 119 48 9109513 delete ble;
> #P message 32 119 48 9109513 delete bla;
> #P user ubumenu 212 137 100 9109513 0 1 1 0;
> #X add bla;
> #X add ble;
> #X add bli;
> #X add blo;
> #X add blu;
> #X prefix_set 0 0 0;
> #P hidden connect 5 0 4 0;
> #P hidden connect 6 0 4 0;
> #P hidden connect 1 0 4 0;
> #P hidden connect 2 0 4 0;
> #P hidden connect 3 0 4 0;
> #P fasten 4 0 0 0 217 205 326 205 326 126 217 126;
> #P connect 0 2 4 2;
> #P connect 0 1 4 1;
> #P window clipboard copycount 7;
>
>
>
>

#108642

You must be logged in to reply to this topic.