View toolbar toggle event to get a value

Is there is any event providing theia for getting a view toolbar value

@bayas27 thank you for the discussion, can you describe the use-case further so we can better understand?

I have added the new menu which is view toolbar while toggling that theia is providing any default event?

@bayas27 I do not believe there is a toolbar event for when it is toggled, however you can always listen to the command attached to the toolbar to know it has been executed:

As for the toolbar item itself, it has an event but it is used to notify the toolbar of an external event (ex: a debug session starts), so it can update itself: