133c89af1Smrg! $Xorg: Editres.ad,v 1.3 2000/08/17 19:53:51 cpqbld Exp $
233c89af1Smrg!
333c89af1Smrg!
433c89af1Smrg!
533c89af1Smrg!
633c89af1Smrg! $XFree86: xc/programs/editres/Editres.ad,v 1.2 1999/05/09 10:52:00 dawes Exp $
733c89af1Smrg!
833c89af1Smrg! The App-defaults file for Editres.
933c89af1Smrg
1033c89af1SmrgEditres.Geometry:			500x568
1133c89af1Smrg
1233c89af1Smrg*ShapeStyle:				Oval
1333c89af1Smrg*Tree*ShapeStyle:			Rectangle
1433c89af1Smrg
1533c89af1Smrg! The rest of this file are either button names, or important for
1633c89af1Smrg! functionality, modifying these values may cause strange program
1733c89af1Smrg! behavior.
1833c89af1Smrg
1933c89af1Smrg*flash.BorderWidth:			0
2033c89af1Smrg
2133c89af1Smrg! Menu Button Names
2233c89af1Smrg
2333c89af1Smrg*Box.commands.Label:			Commands
2433c89af1Smrg*Box.treeCommands.Label:		Tree
2533c89af1Smrg
2633c89af1Smrg*porthole.tree.width:			500
2733c89af1Smrg*porthole.tree.height:			480
2833c89af1Smrg
2933c89af1Smrg! Universal Menu Entry Names
3033c89af1Smrg*xt.sendTree.Label:		Get Tree
3133c89af1Smrg*xt.quit.Label:			Quit
3233c89af1Smrg
3333c89af1Smrg*xt.selectAll.Label:		Select All
3433c89af1Smrg*xt.unselectAll.Label:		Unselect All
3533c89af1Smrg*xt.invertAll.Label:		Invert All
3633c89af1Smrg*xt.selectChildren.Label:		Select Children
3733c89af1Smrg*xt.selectParent.Label:		Select Parent
3833c89af1Smrg*xt.selectDescendants.Label:	Select Descendants
3933c89af1Smrg*xt.selectAncestors.Label:		Select Ancestors
4033c89af1Smrg
4133c89af1Smrg! Xt Menu Entry Names
4233c89af1Smrg
4333c89af1Smrg*xt.refreshTree.Label:		Refresh Current Widget Tree
4433c89af1Smrg*xt.dumpTreeToFile.Label:	Dump Widget Tree to a File
4533c89af1Smrg*xt.getResourceList.Label:	Show Resource Box
4633c89af1Smrg*xt.setValues.Label:		Set Resource
4733c89af1Smrg
4833c89af1Smrg*xt.showClientWidget.Label:	Select Widget in Client
4933c89af1Smrg*xt.showWidgetNames.Label:	Show Widget Names
5033c89af1Smrg*xt.showClassNames.Label:	Show Class Names
5133c89af1Smrg*xt.showWidgetIDs.Label:	Show Widget IDs
5233c89af1Smrg*xt.showWidgetWindows.Label:	Show Widget Windows
5333c89af1Smrg*xt.flashActiveWidgets.Label:	Flash Active Widgets
5433c89af1Smrg
5533c89af1Smrg! InterViews Menu Entry Names
5633c89af1Smrg
5733c89af1Smrg*iv*refreshTree.Label:		Refresh Current Style Tree
5833c89af1Smrg*iv*dumpTreeToFile.Label:	Dump Style Tree to a File
5933c89af1Smrg*iv*getResourceList.Label:	Show Attribute Box
6033c89af1Smrg*iv*setValues.Label:		Set Attribute
6133c89af1Smrg
6233c89af1Smrg*iv*showClientWidget.Label:	Select Style in Client
6333c89af1Smrg*iv*showWidgetNames.Label:	Show Style Names
6433c89af1Smrg*iv*showClassNames.Label:	Show Class Names
6533c89af1Smrg*iv*showWidgetIDs.Label:	Show Style IDs
6633c89af1Smrg*iv*showWidgetWindows.Label:	Show Style Windows
6733c89af1Smrg*iv*flashActiveWidgets.Label:	Flash Active Styles
6833c89af1Smrg
6933c89af1Smrg! Universal Toolkit Messages
7033c89af1Smrg
7133c89af1Smrg*label0: Action `%s' must have the Editres Protocol.
7233c89af1Smrg*label1: Action %s's argument must be either `cancel' or `okay'.
7333c89af1Smrg*label2: Action `%s' must have exactly one argument.
7433c89af1Smrg*label3: Unknown parameter to action `%s' must be one of:\n
7533c89af1Smrg*label4: It appears that this client does not understand\nthe Editres Protocol.
7633c89af1Smrg*label5: Can't grab the mouse.\n
7733c89af1Smrg*label6: Click the mouse pointer on any toolkit client.
7833c89af1Smrg*label8: Message sent to client%s.
7933c89af1Smrg*label9: Incorrectly formatted message from client.
8033c89af1Smrg*label10: Unable to own the Resource Editor Command Selection
8133c89af1Smrg*label11: Unknown Error code %d
8233c89af1Smrg*label13: Welcome to the X Resource Editor version 1.1
8333c89af1Smrg*label15: That window does not appear to be\nin the currently displayed client.
8433c89af1Smrg*label16: Editres Internal Error: Unable to FindNode.\n
8533c89af1Smrg*label18: There are no active nodes.
8633c89af1Smrg*label20: ApplyResource: found no matches.
8733c89af1Smrg*label21: Error: SVActiveEntry Action must have exactly one argument.
8833c89af1Smrg*label22: Error: SVActiveEntry Action's first Argument must be either 'Resource' or 'Value'.
8933c89af1Smrg*label24: Unable to open the file `%s' for writing.
9033c89af1Smrg*label25: Error while trying to save Context\nAborting file dialog popup.
9133c89af1Smrg*label26: Error while trying to find Context\nAborting...
9233c89af1Smrg*label28: Loop in tree: node %s's parent (%s) has not been created yet\n
9333c89af1Smrg*label30: There are no active nodes.
9433c89af1Smrg*label31: Internal Error: Unknown select type.
9533c89af1Smrg*label32: Internal Error: Unknown label type.
9633c89af1Smrg*label33: Internal Error: Unknown activate type.
9733c89af1Smrg*label34: Only one Resource Box can be active at a time.
9833c89af1Smrg*label35: Unable to unpack protocol request.
9933c89af1Smrg*label36: This version of editres uses protocol version %s,\nbut the client speaks version %s.
10033c89af1Smrg
10133c89af1Smrg! Xt Messages
10233c89af1Smrg
10333c89af1Smrg*xt*label7: Unable to own the Resource Selection
10433c89af1Smrg*xt*label12: Widget Tree for client %s(%s).
10533c89af1Smrg*xt*label14: Click on any widget in the client.\nEditres will select that widget in the tree display.
10633c89af1Smrg*xt*label17: No widget Tree is avaliable.
10733c89af1Smrg*xt*label19: This function requires exactly one (1) widget to be selected.
10833c89af1Smrg*xt*label23: There are no currently active widgets.
10933c89af1Smrg*xt*label27: There is no widget tree to display.
11033c89af1Smrg*xt*label29: XSaveContext failed on widget %s.
11133c89af1Smrg
11233c89af1Smrg! InterViews Messages
11333c89af1Smrg
11433c89af1Smrg*iv*label7: Unable to own the Attribute Selection
11533c89af1Smrg*iv*label12: Style Tree for client %s(%s).
11633c89af1Smrg*iv*label14: Click on any style in the client.\nEditres will select that style in the tree display.
11733c89af1Smrg*iv*label17: No style Tree is avaliable.
11833c89af1Smrg*iv*label19: This function requires exactly one (1) style to be selected.
11933c89af1Smrg*iv*label23: There are no currently active styles.
12033c89af1Smrg*iv*label27: There is no style tree to display.
12133c89af1Smrg*iv*label29: XSaveContext failed on style %s.
12233c89af1Smrg
12333c89af1Smrg*MenuButton.leftBitmap:			menu10
12433c89af1Smrg
12533c89af1Smrg! For the Top Area
12633c89af1Smrg
12733c89af1Smrg*hPane.orientation:			horizontal
12833c89af1Smrg*hPane.preferredPaneSize:		100
12933c89af1Smrg*hPane.Panner.width:			100
13033c89af1Smrg*hPane.Panner.height:			100
13133c89af1Smrg*hPane.Panner.preferredPaneSize:	100
13233c89af1Smrg*Paned.Panner.showGrip:			False
13333c89af1Smrg*Paned.box.showGrip:			False
13433c89af1Smrg*Paned.hPane.showGrip:			True
13533c89af1Smrg
13633c89af1Smrg! For the Filename popup dialog.
13733c89af1Smrg
13833c89af1Smrg*fileDialog*value:		
13933c89af1Smrg*fileDialog*allowShellResize:		True
14033c89af1Smrg*fileDialog*Text.baseTranslations:	#override \n\
14133c89af1Smrg	<Key>Return:		PopdownFileDialog(okay)
14233c89af1Smrg
14333c89af1Smrg
14433c89af1Smrg! Universal Resources for the Resource Box.
14533c89af1Smrg
14633c89af1Smrg*mainViewport*resourceLabel.font:		\
14733c89af1Smrg-*-new century schoolbook-bold-r-*-*-14-*-*-*-*-*-*-*
14833c89af1Smrg*allowShellResize:				True
14933c89af1Smrg*resourceLabel.allowResize:			True
15033c89af1Smrg*List.verticalList:				True
15133c89af1Smrg*namesAndClasses*BorderWidth:		0
15233c89af1Smrg*star.Label:				*
15333c89af1Smrg*dot.Label:					.
15433c89af1Smrg*namesLabel.font:				\
15533c89af1Smrg-*-new century schoolbook-bold-r-*-*-14-*-*-*-*-*-*-*
15633c89af1Smrg*constraintLabel.font:			\
15733c89af1Smrg-*-new century schoolbook-bold-r-*-*-14-*-*-*-*-*-*-*
15833c89af1Smrg*valueLabel.BorderWidth:			0
15933c89af1Smrg*valueForm*preferredPaneSize:		40
16033c89af1Smrg*valueForm*min:				28
16133c89af1Smrg*valueText*editType:			edit
16233c89af1Smrg*valueText.Scroll:				WhenNeeded
16333c89af1Smrg*valueText.width:			297
16433c89af1Smrg*setValuesPopup*resourceText.width:	297
16533c89af1Smrg*setFile.Label:				Set Save File
16633c89af1Smrg*save.Label:				Save
16733c89af1Smrg*apply.Label:				Apply
16833c89af1Smrg*saveAndApply.Label:			Save and Apply
16933c89af1Smrg*commandBox.show.Label:		        Show
17033c89af1Smrg*commandBox.min:			28
17133c89af1Smrg
17233c89af1Smrg! InterViews Resources for the Resource Box.
17333c89af1Smrg
17433c89af1Smrg*iv*single.Label:				Any Style
17533c89af1Smrg*iv*any.Label:					Any Style Chain
17633c89af1Smrg*iv*namesLabel.Label:				Normal Attributes: mb2 gets a value
17733c89af1Smrg*iv*constraintLabel.Label:			Constraint Attributes
17833c89af1Smrg*iv*valueLabel.Label:				Enter Attribute Value:
17933c89af1Smrg*iv*commandBox.cancel.Label:			Popdown Attribute Box
18033c89af1Smrg
18133c89af1Smrg! Xt Resources for the Resource Box.
18233c89af1Smrg
18333c89af1Smrg*xt*single.Label:                              ?
18433c89af1Smrg*xt*any.Label:                                 *
18533c89af1Smrg*xt*namesLabel.Label:                          Normal Resources: mb2 gets a value
18633c89af1Smrg*xt*constraintLabel.Label:                     Constraint Resources
18733c89af1Smrg*xt*valueLabel.Label:                          Enter Resource Value:
18833c89af1Smrg*xt*commandBox.cancel.Label:                   Popdown Resource Box
18933c89af1Smrg
19033c89af1Smrg! This gives us an exactly one of many toggle, if toggle is
19133c89af1Smrg! not set in each group the application will probabally core dump.
19233c89af1Smrg
19333c89af1Smrg*namesAndClasses*Toggle.baseTranslations: #override \n\
19433c89af1Smrg	<Btn1Down>,<Btn1Up>:   set() notify()
19533c89af1Smrg    
19633c89af1Smrg
19733c89af1Smrg*commandBox.skipAdjust:				True
19833c89af1Smrg
19933c89af1Smrg! Get resource values action binding.
20033c89af1Smrg
20133c89af1Smrg*List.baseTranslations: #override \n\
20233c89af1Smrg	<Btn2Down>,<Btn2Up>:		Set() EnableGetVal() Notify()
20333c89af1Smrg
20433c89af1Smrg! Keyboard Actions for Tree and children of the Tree.
20533c89af1Smrg
20633c89af1Smrg*Tree.baseTranslations:	#override \n\
20733c89af1Smrg	:<Key>space:		Select(nothing) \n\
20833c89af1Smrg	:<Key>w:		Select(widget) \n\
20933c89af1Smrg	:<Key>s:		Select(all) \n\
21033c89af1Smrg	:<Key>i:		Select(invert) \n\
21133c89af1Smrg	:<Key>c:		Select(children) \n\
21233c89af1Smrg	:<Key>d:		Select(descendants) \n\
21333c89af1Smrg	:<Key>p:		Select(parent) \n\
21433c89af1Smrg	:<Key>a:		Select(ancestors) \n\
21533c89af1Smrg	:<Key>N:		Relabel(name) \n\
21633c89af1Smrg	:<Key>C:		Relabel(class) \n\
21733c89af1Smrg	:<Key>I:		Relabel(id) \n\
21833c89af1Smrg	:<Key>W:		Relabel(window) 
21933c89af1Smrg
22033c89af1Smrg*Tree.Toggle.baseTranslations:	#override \n\
22133c89af1Smrg	:<Key>space:		Select(nothing) \n\
22233c89af1Smrg	:<Key>w:		Select(widget) \n\
22333c89af1Smrg	:<Key>s:		Select(all) \n\
22433c89af1Smrg	:<Key>i:		Select(invert) \n\
22533c89af1Smrg	:<Key>c:		Select(children) \n\
22633c89af1Smrg	:<Key>d:		Select(descendants) \n\
22733c89af1Smrg	:<Key>p:		Select(parent) \n\
22833c89af1Smrg	:<Key>a:		Select(ancestors) \n\
22933c89af1Smrg	:<Key>N:		Relabel(name) \n\
23033c89af1Smrg	:<Key>C:		Relabel(class) \n\
23133c89af1Smrg	:<Key>I:		Relabel(id) \n\
23233c89af1Smrg	:<Key>W:		Relabel(window) \n\
23333c89af1Smrg	<Btn2Down>,<Btn2Up>:	Select(nothing) toggle() notify() \n\
23433c89af1Smrg	<Btn3Down>,<Btn3Up>:	Relabel(toggle)
23533c89af1Smrg
23633c89af1Smrg! For the SetValues popup
23733c89af1Smrg
23833c89af1Smrg*setValuesPopup.form.?.resizable:		True
23933c89af1Smrg*setValuesPopup.form.?.left:			ChainLeft
24033c89af1Smrg*setValuesPopup.form.?.right:			ChainLeft
24133c89af1Smrg
24233c89af1Smrg*setValuesPopup.form.label.Label:		Use <Tab> to Change Fields.
24333c89af1Smrg*setValuesPopup.form.Label.BorderWidth:	0
24433c89af1Smrg
24533c89af1Smrg*xt*setValuesPopup.form.resourceLabel.Label:	Resource Name:
24633c89af1Smrg*xt*setValuesPopup.form.resourceLabel.width:	114
24733c89af1Smrg*xt*setValuesPopup.form.resourceLabel.justify:	right
24833c89af1Smrg*xt*setValuesPopup.form.valueLabel.Label:	Resource Value:
24933c89af1Smrg*xt*setValuesPopup.form.valueLabel.width:	114
25033c89af1Smrg*xt*setValuesPopup.form.setValues.Label:	Apply
25133c89af1Smrg*xt*setValuesPopup.form.cancel.Label:		Cancel
25233c89af1Smrg
25333c89af1Smrg*setValuesPopup.form.Text.?.EditType:		Edit
25433c89af1Smrg*setValuesPopup.form.Text.resize:		Width
25533c89af1Smrg
25633c89af1Smrg*setValuesPopup.form.resourceText.baseTranslations: #override \
25733c89af1Smrg  <Key>Return:     	   no-op(RingBell) \n\
25833c89af1Smrg   Ctrl<Key>q,<Key>Tab:    insert-char()    \n\
25933c89af1Smrg   <Btn1Down>:             select-start() SVActiveEntry(Resource) \n\
26033c89af1Smrg   <Key>Tab:               SVActiveEntry(Value)
26133c89af1Smrg
26233c89af1Smrg*setValuesPopup.form.valueText.baseTranslations: #override \
26333c89af1Smrg   <Key>Return:     	   no-op(RingBell) \n\
26433c89af1Smrg   Ctrl<Key>q,<Key>Tab:    insert-char()     \n\
26533c89af1Smrg   <Btn1Down>:             select-start() SVActiveEntry(Value)\n\
26633c89af1Smrg   <Key>Tab:               SVActiveEntry(Resource)
26733c89af1Smrg
26833c89af1Smrg*Text.translations: #override \
26933c89af1Smrg   m<Key>I:		no-op(r)\n\
27033c89af1Smrg   c<Key>S:		no-op(r)\n\
27133c89af1Smrg   c<Key>R:		no-op(r)\n\
27233c89af1Smrg   <Key>Escape:		no-op()
27333c89af1Smrg
27433c89af1Smrg*fileDialog.?.Text.width:	280
27533c89af1Smrg
27633c89af1Smrg! New resource settings
27733c89af1Smrg*normalViewport.min:					19
27833c89af1Smrg*normalViewport.allowVert:				True
27933c89af1Smrg*constraintViewport.min:				19
28033c89af1Smrg*constraintViewport.allowVert:				True
28133c89af1Smrg*mainViewport.allowHoriz:				True
28233c89af1Smrg*mainViewport.pane.namesAndClasses.defaultDistance:	0
28333c89af1Smrg*mainViewport.useBottom:				True
28433c89af1Smrg*mainViewport.pane.Label.min:				22
28533c89af1Smrg*mainViewport.pane.Label.max:				22
28633c89af1Smrg*mainViewport.pane.Form.showGrip:			False
28733c89af1Smrg*mainViewport.pane.Label.showGrip:			False
28833c89af1Smrg*mainViewport.pane.Form.min:				66
28933c89af1Smrg*mainViewport.pane.Form.max:				66
29033c89af1Smrg*tree*TransientShell.translations: #override \
29133c89af1Smrg<Map>:	get-values(1, $w, width) \
29233c89af1Smrg	set-values(1, maxWidth, $w)
293