Part Encyclopedia : WkNotebookView

WkNotebookView
WkNotebookView implements a Windows 95/98/NT flavor notebook (as compared to the Windows 3.1 look provided by the AbtPortableWINNotebookView part). All of the page’s (children) tabs are displayed at the top of the notebook. A tab’s height is determined by the tabHeight resource. A tab’s width is the page width divided by the number of tabs per row. The top page which is displaying its widgets is represented by the currentPage resource.
Protocol
tabHeight: anInteger
Specifies the height of the notebook’s tabs in pixels.
 
tabsPerRow: anInteger
Specifies how many page’s tabs are displayed in a row before another row is created.
 
tabWidthPolicy: anInteger
Specifies the technique that will be used to set the width of the tabs in a notebook.
Default: XmVARIABLE (Variable)
Valid resource values:
XmCONSTANT (Constant) - The tabs will be sized according to the value of the tabWidth resource.
XmVARIABLE (Variable) - The tabs will be individually sized to fit their labels.
XmMAXIMUM (Maximum) - The tabs will all be the size of the tab needed to accomodate the widest tab label.
XmBYROW (By Row) - The tabs will be sized so that each row of tabs contains the number of tabs specified in the #tabsPerRow resource.
 
tabWidth: anInteger
Specifies the width of the notebook’s tabs in pixels.
Events
About To Change Pages
These events are triggered just before any switching of pages take place.