1!resources for the Column layout and labels 2 3*entryLabelAlignment: ALIGNMENT_END 4 5*column.tabLabelString: Demo 6*name.entryLabelString: Name 7*address1.entryLabelString: Address 8*address2.showEntryLabel: False 9*address1.columns: 30 10*address2.columns: 30 11*address1.fillStyle: FILL_RAGGED 12*address2.fillStyle: FILL_RAGGED 13*city.entryLabelString: City 14*state.entryLabelString: State 15*state.columns: 2 16*state.fillStyle: FILL_RAGGED 17*zip.entryLabelString: Zip+4 Code 18*zip.columns: 10 19*zip.fillStyle: FILL_RAGGED 20*phone.entryLabelString: USA Telephone 21*phone.entryLabelType: pixmap 22 23! resources for picture definitions 24*state.picture: && 25*zip.picture: #####-#### 26*phone.picture: ###-###-#### 27 28! resources for the pop-up tips 29*column.XmTextField.toolTip.tipEnabled: True 30*column.XmDataField.toolTip.tipEnabled: True 31*column.name.toolTip.labelString: Customer's Name 32*column.address1.toolTip.labelString: Address, First Line 33*column.address2.toolTip.labelString: Address, Second Line 34*column.city.toolTip.labelString: Customer's City 35*column.state.toolTip.labelString: Two-Letter Abbreviation 36*column.zip.toolTip.labelString: Zip+4 USA Postal Code 37*column.phone.toolTip.labelString: Telephone ###-###-#### 38 39!resources for the explanation screen 40*explanationSW.tabLabelString: Explanation 41*explanation.editMode: MULTI_LINE_EDIT 42*explanation.editable: False 43*explanation.value: \ 44This is a demo of the XmColumn widget, showing its\n\ 45ability to lay out widgets and their associated labels.\n\ 46This usage is very simple; please consult the manual\n\ 47page for extra resource values which can be used. \n\n\ 48Note the ability to right-justify labels. Note also\n\ 49that labels can be text or pixmap (or missing). In\n\ 50addition, the children can be of different widths\n\ 51or filled to the same width.\n\ 52\n\ 53In addition, this demo shows use of the XmDataField\n\ 54widget and its XmNpicture resource. Certain data\n\ 55fields are set up so that the input should match \n\ 56a particular format.\n\ 57\n\ 58This demo also shows use of the pop-up help library.\n\ 59The "tool tips" appear near widgets to provide extra\n\ 60help or hints in data entry. 61 62 63 64