Method XbpStatusBar():numItems() Foundation

Returns the number of status bar items (panels) defined for an XbpStatusBar object.

:numItems() => nItems

:numItems() returns a numeric value with the number of panels currently defined for the XbpStatusBar object executing the method.


After an XbpStatusBar object is created, the method :numItems()can be used to determine the number of status bar panels defined. The item count increases each time a new item is added using :addItem(), and decreases each time :delItem() is called.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.