1! $Xorg: Editres.ad,v 1.3 2000/08/17 19:53:51 cpqbld Exp $ 2! 3! 4! 5! 6! $XFree86: xc/programs/editres/Editres.ad,v 1.2 1999/05/09 10:52:00 dawes Exp $ 7! 8! The App-defaults file for Editres. 9 10Editres.Geometry: 500x568 11 12*ShapeStyle: Oval 13*Tree*ShapeStyle: Rectangle 14 15! The rest of this file are either button names, or important for 16! functionality, modifying these values may cause strange program 17! behavior. 18 19*flash.BorderWidth: 0 20 21! Menu Button Names 22 23*Box.commands.Label: Commands 24*Box.treeCommands.Label: Tree 25 26*porthole.tree.width: 500 27*porthole.tree.height: 480 28 29! Universal Menu Entry Names 30*xt.sendTree.Label: Get Tree 31*xt.quit.Label: Quit 32 33*xt.selectAll.Label: Select All 34*xt.unselectAll.Label: Unselect All 35*xt.invertAll.Label: Invert All 36*xt.selectChildren.Label: Select Children 37*xt.selectParent.Label: Select Parent 38*xt.selectDescendants.Label: Select Descendants 39*xt.selectAncestors.Label: Select Ancestors 40 41! Xt Menu Entry Names 42 43*xt.refreshTree.Label: Refresh Current Widget Tree 44*xt.dumpTreeToFile.Label: Dump Widget Tree to a File 45*xt.getResourceList.Label: Show Resource Box 46*xt.setValues.Label: Set Resource 47 48*xt.showClientWidget.Label: Select Widget in Client 49*xt.showWidgetNames.Label: Show Widget Names 50*xt.showClassNames.Label: Show Class Names 51*xt.showWidgetIDs.Label: Show Widget IDs 52*xt.showWidgetWindows.Label: Show Widget Windows 53*xt.flashActiveWidgets.Label: Flash Active Widgets 54 55! InterViews Menu Entry Names 56 57*iv*refreshTree.Label: Refresh Current Style Tree 58*iv*dumpTreeToFile.Label: Dump Style Tree to a File 59*iv*getResourceList.Label: Show Attribute Box 60*iv*setValues.Label: Set Attribute 61 62*iv*showClientWidget.Label: Select Style in Client 63*iv*showWidgetNames.Label: Show Style Names 64*iv*showClassNames.Label: Show Class Names 65*iv*showWidgetIDs.Label: Show Style IDs 66*iv*showWidgetWindows.Label: Show Style Windows 67*iv*flashActiveWidgets.Label: Flash Active Styles 68 69! Universal Toolkit Messages 70 71*label0: Action `%s' must have the Editres Protocol. 72*label1: Action %s's argument must be either `cancel' or `okay'. 73*label2: Action `%s' must have exactly one argument. 74*label3: Unknown parameter to action `%s' must be one of:\n 75*label4: It appears that this client does not understand\nthe Editres Protocol. 76*label5: Can't grab the mouse.\n 77*label6: Click the mouse pointer on any toolkit client. 78*label8: Message sent to client%s. 79*label9: Incorrectly formatted message from client. 80*label10: Unable to own the Resource Editor Command Selection 81*label11: Unknown Error code %d 82*label13: Welcome to the X Resource Editor version 1.1 83*label15: That window does not appear to be\nin the currently displayed client. 84*label16: Editres Internal Error: Unable to FindNode.\n 85*label18: There are no active nodes. 86*label20: ApplyResource: found no matches. 87*label21: Error: SVActiveEntry Action must have exactly one argument. 88*label22: Error: SVActiveEntry Action's first Argument must be either 'Resource' or 'Value'. 89*label24: Unable to open the file `%s' for writing. 90*label25: Error while trying to save Context\nAborting file dialog popup. 91*label26: Error while trying to find Context\nAborting... 92*label28: Loop in tree: node %s's parent (%s) has not been created yet\n 93*label30: There are no active nodes. 94*label31: Internal Error: Unknown select type. 95*label32: Internal Error: Unknown label type. 96*label33: Internal Error: Unknown activate type. 97*label34: Only one Resource Box can be active at a time. 98*label35: Unable to unpack protocol request. 99*label36: This version of editres uses protocol version %s,\nbut the client speaks version %s. 100 101! Xt Messages 102 103*xt*label7: Unable to own the Resource Selection 104*xt*label12: Widget Tree for client %s(%s). 105*xt*label14: Click on any widget in the client.\nEditres will select that widget in the tree display. 106*xt*label17: No widget Tree is avaliable. 107*xt*label19: This function requires exactly one (1) widget to be selected. 108*xt*label23: There are no currently active widgets. 109*xt*label27: There is no widget tree to display. 110*xt*label29: XSaveContext failed on widget %s. 111 112! InterViews Messages 113 114*iv*label7: Unable to own the Attribute Selection 115*iv*label12: Style Tree for client %s(%s). 116*iv*label14: Click on any style in the client.\nEditres will select that style in the tree display. 117*iv*label17: No style Tree is avaliable. 118*iv*label19: This function requires exactly one (1) style to be selected. 119*iv*label23: There are no currently active styles. 120*iv*label27: There is no style tree to display. 121*iv*label29: XSaveContext failed on style %s. 122 123*MenuButton.leftBitmap: menu10 124 125! For the Top Area 126 127*hPane.orientation: horizontal 128*hPane.preferredPaneSize: 100 129*hPane.Panner.width: 100 130*hPane.Panner.height: 100 131*hPane.Panner.preferredPaneSize: 100 132*Paned.Panner.showGrip: False 133*Paned.box.showGrip: False 134*Paned.hPane.showGrip: True 135 136! For the Filename popup dialog. 137 138*fileDialog*value: 139*fileDialog*allowShellResize: True 140*fileDialog*Text.baseTranslations: #override \n\ 141 <Key>Return: PopdownFileDialog(okay) 142 143 144! Universal Resources for the Resource Box. 145 146*mainViewport*resourceLabel.font: \ 147-*-new century schoolbook-bold-r-*-*-14-*-*-*-*-*-*-* 148*allowShellResize: True 149*resourceLabel.allowResize: True 150*List.verticalList: True 151*namesAndClasses*BorderWidth: 0 152*star.Label: * 153*dot.Label: . 154*namesLabel.font: \ 155-*-new century schoolbook-bold-r-*-*-14-*-*-*-*-*-*-* 156*constraintLabel.font: \ 157-*-new century schoolbook-bold-r-*-*-14-*-*-*-*-*-*-* 158*valueLabel.BorderWidth: 0 159*valueForm*preferredPaneSize: 40 160*valueForm*min: 28 161*valueText*editType: edit 162*valueText.Scroll: WhenNeeded 163*valueText.width: 297 164*setValuesPopup*resourceText.width: 297 165*setFile.Label: Set Save File 166*save.Label: Save 167*apply.Label: Apply 168*saveAndApply.Label: Save and Apply 169*commandBox.show.Label: Show 170*commandBox.min: 28 171 172! InterViews Resources for the Resource Box. 173 174*iv*single.Label: Any Style 175*iv*any.Label: Any Style Chain 176*iv*namesLabel.Label: Normal Attributes: mb2 gets a value 177*iv*constraintLabel.Label: Constraint Attributes 178*iv*valueLabel.Label: Enter Attribute Value: 179*iv*commandBox.cancel.Label: Popdown Attribute Box 180 181! Xt Resources for the Resource Box. 182 183*xt*single.Label: ? 184*xt*any.Label: * 185*xt*namesLabel.Label: Normal Resources: mb2 gets a value 186*xt*constraintLabel.Label: Constraint Resources 187*xt*valueLabel.Label: Enter Resource Value: 188*xt*commandBox.cancel.Label: Popdown Resource Box 189 190! This gives us an exactly one of many toggle, if toggle is 191! not set in each group the application will probabally core dump. 192 193*namesAndClasses*Toggle.baseTranslations: #override \n\ 194 <Btn1Down>,<Btn1Up>: set() notify() 195 196 197*commandBox.skipAdjust: True 198 199! Get resource values action binding. 200 201*List.baseTranslations: #override \n\ 202 <Btn2Down>,<Btn2Up>: Set() EnableGetVal() Notify() 203 204! Keyboard Actions for Tree and children of the Tree. 205 206*Tree.baseTranslations: #override \n\ 207 :<Key>space: Select(nothing) \n\ 208 :<Key>w: Select(widget) \n\ 209 :<Key>s: Select(all) \n\ 210 :<Key>i: Select(invert) \n\ 211 :<Key>c: Select(children) \n\ 212 :<Key>d: Select(descendants) \n\ 213 :<Key>p: Select(parent) \n\ 214 :<Key>a: Select(ancestors) \n\ 215 :<Key>N: Relabel(name) \n\ 216 :<Key>C: Relabel(class) \n\ 217 :<Key>I: Relabel(id) \n\ 218 :<Key>W: Relabel(window) 219 220*Tree.Toggle.baseTranslations: #override \n\ 221 :<Key>space: Select(nothing) \n\ 222 :<Key>w: Select(widget) \n\ 223 :<Key>s: Select(all) \n\ 224 :<Key>i: Select(invert) \n\ 225 :<Key>c: Select(children) \n\ 226 :<Key>d: Select(descendants) \n\ 227 :<Key>p: Select(parent) \n\ 228 :<Key>a: Select(ancestors) \n\ 229 :<Key>N: Relabel(name) \n\ 230 :<Key>C: Relabel(class) \n\ 231 :<Key>I: Relabel(id) \n\ 232 :<Key>W: Relabel(window) \n\ 233 <Btn2Down>,<Btn2Up>: Select(nothing) toggle() notify() \n\ 234 <Btn3Down>,<Btn3Up>: Relabel(toggle) 235 236! For the SetValues popup 237 238*setValuesPopup.form.?.resizable: True 239*setValuesPopup.form.?.left: ChainLeft 240*setValuesPopup.form.?.right: ChainLeft 241 242*setValuesPopup.form.label.Label: Use <Tab> to Change Fields. 243*setValuesPopup.form.Label.BorderWidth: 0 244 245*xt*setValuesPopup.form.resourceLabel.Label: Resource Name: 246*xt*setValuesPopup.form.resourceLabel.width: 114 247*xt*setValuesPopup.form.resourceLabel.justify: right 248*xt*setValuesPopup.form.valueLabel.Label: Resource Value: 249*xt*setValuesPopup.form.valueLabel.width: 114 250*xt*setValuesPopup.form.setValues.Label: Apply 251*xt*setValuesPopup.form.cancel.Label: Cancel 252 253*setValuesPopup.form.Text.?.EditType: Edit 254*setValuesPopup.form.Text.resize: Width 255 256*setValuesPopup.form.resourceText.baseTranslations: #override \ 257 <Key>Return: no-op(RingBell) \n\ 258 Ctrl<Key>q,<Key>Tab: insert-char() \n\ 259 <Btn1Down>: select-start() SVActiveEntry(Resource) \n\ 260 <Key>Tab: SVActiveEntry(Value) 261 262*setValuesPopup.form.valueText.baseTranslations: #override \ 263 <Key>Return: no-op(RingBell) \n\ 264 Ctrl<Key>q,<Key>Tab: insert-char() \n\ 265 <Btn1Down>: select-start() SVActiveEntry(Value)\n\ 266 <Key>Tab: SVActiveEntry(Resource) 267 268*Text.translations: #override \ 269 m<Key>I: no-op(r)\n\ 270 c<Key>S: no-op(r)\n\ 271 c<Key>R: no-op(r)\n\ 272 <Key>Escape: no-op() 273 274*fileDialog.?.Text.width: 280 275 276! New resource settings 277*normalViewport.min: 19 278*normalViewport.allowVert: True 279*constraintViewport.min: 19 280*constraintViewport.allowVert: True 281*mainViewport.allowHoriz: True 282*mainViewport.pane.namesAndClasses.defaultDistance: 0 283*mainViewport.useBottom: True 284*mainViewport.pane.Label.min: 22 285*mainViewport.pane.Label.max: 22 286*mainViewport.pane.Form.showGrip: False 287*mainViewport.pane.Label.showGrip: False 288*mainViewport.pane.Form.min: 66 289*mainViewport.pane.Form.max: 66 290*tree*TransientShell.translations: #override \ 291<Map>: get-values(1, $w, width) \ 292 set-values(1, maxWidth, $w) 293