panel
The sub-panel children of menupane. The size of the array is menupane.panel_count.
The system provides names for sub-panels with callback facilities. These names may subsequently be used to reference the panels instead of the array elements of menupane.panels. The names provided by the system are, in the case of text sub-panels, derived from the panel label or, in the case of image panels, derived as B<n> where n is the button number in the menupane.
When menupane is a window menubar, then 16 panels, i.e. the menubar buttons, are created but may not all be visible.
A sub-panel name may be changed after creation.
Change the label of the second button on a menubar.
win4.menubar.panels[2].label = '&Drop'
Structures: |