Any way to know index of current tab from tab widget?

Hi, from within a tab widget, is there any way to know what the index of the current tab is? By this, I don't mean the currently selected tab on the container, I mean, the index of the tab object itself.

In scripting properties, getIndex() should do.

1 Like

is there a way to get the current active tab index ?

That would be the value of the tab container which you can retreive with get().

What if I'm not in a script? If I'm just trying to get this in a general property, can I do something like #{getIndex()}?