customize patcher tabs

Aug 19, 2013 at 3:45am

customize patcher tabs

hello max list,

i am working on an interface with the patcher tab feature.
works great by setting the “Show on Parent Patcher Tab” property.

i have 3 questions concerning this feature.

1) is it possible to set the size of the tabs ?
2) is it possible to “auto select” a tab by code/patcher/external ? (without clicking with the mouse onto it)
3) is it possible to set “Show root patcher on Tab” by code/patcher/external (without right clicking on the grey empty tab area)

thanks in advance,
yon

#259248
Aug 20, 2013 at 9:44am

does nobody has a hint for me ?

#259436
Aug 21, 2013 at 2:31am

1) and 2)

– Pasted Max Patch, click to expand. –

-

3) ??

#259505
Aug 22, 2013 at 1:20am

thanks metamax,

but i need a hint for the patcher tabs, not for the [tab] object !

perhaps sombody from cycling74 has a tip ?

yon

#259616
Aug 22, 2013 at 2:28am

you’re adventuring in a new territory, not well documented for now… but as a guess, those tabs are probably an implementation of some standard OS feature, so it might be difficult to customize them.
For 2) i thought you could send a (front) message to a [thispatcher] inside the patcher tab, but this brings a separate window, which is actually like a “New View” of said patcher tab.
For 3) : you can freeze the attribute – wait, no, you can’t ! You can drag and drop from the patcher inspector the attribut value, there you see that the message to sned is “showontab 1″ but i have no idea where you have to send that message… Actuallly yes ! you can send a (showontab 1) or (showontab 0) message to [thispatcher]. You can’t pass [@showontab 1] as an attribute to a subpatcher at its creation, despite the autocompletion showing up.

– Pasted Max Patch, click to expand. –
#259621
Aug 23, 2013 at 3:47am

hello vichung,

thanks for looking int this.
(front) message to a [thispatcher] is not an option.
it behaves like a subpatcher. so there is no benefit using tabs.

seems that the great tab feature is halfhearted implemented.

or is there some undocumented stuff like the (presentation 1) message to the [thispatcher] object ?

yon

#259685
Aug 23, 2013 at 5:25am

I think it’s a bit of both. It’s a bit of a new feature, mainly used for helpfiles, but i’m pretty sure there’s a lot of undocumented features about this – just look at any c74 help patch, check “show root patcher on tab” and you have a [js helpstarter] with potentially mysteries inside…

#259690

You must be logged in to reply to this topic.