Can the status bar find out in which pane it is displayed?

I'm tinkering with my status bar. Is there a way to determine whether it is currently being displayed in the left pane, right pane or in a single pane lister?

I'd like to display something only at the very right end of the status bar, ie. in a single pane lister or otherwise in the right status bar.

(Using separate definitions for left/right panes doesn't help - and it seems that for single pane listers, the definition for the left pane is used.)

Is this possible?

I can't think of a good way to do it at the moment, but we should be able to add one. I'll put it on our list.

2 Likes

We've added this to the evaluator for the next beta (13.6.2). The value "dual" will be set to 0 for a single display, 1 for left/top and 2 for right/bottom.

3 Likes

Wow, you're fast - thanks! :smiley:

Great, works perfectly in 13.6.2: By using the evaluator
{=(dual == 1) ? "" : "hello" =}
I can show something only in single or right/bottom.
Thank you!

3 Likes

I like it: {=(dual == 1) ? "In Left Lister" : "In Right Lister" =}

1 Like