! $XConsortium: Editres.ad,v 1.16 93/04/28 14:26:57 dave Exp $
! The App-defaults file for Editres.

Editres.Geometry:			500x600

*ShapeStyle:				Oval
*Tree*ShapeStyle:			Rectangle

! The rest of this file are either button names, or important for
! functionality, modifying these values may cause strange program
! behavior.

*flash.BorderWidth:			0

! Menu Button Names

*Box*commands.Label:			Commands  ! FIXME
*Box*treeCommands.Label:		Crann  ! FIXME

*porthole.tree.width:			500
*porthole.tree.height:			480

! Universal Menu Entry Names
*sendTree.Label:		Get Tree  ! FIXME
*quit.Label:			Ealu

*selectAll.Label:		Tg gach rud
*unselectAll.Label:		Unselect All  ! FIXME
*invertAll.Label:		Invert All  ! FIXME
*selectChildren.Label:		Tg Leana
*selectParent.Label:		Select Parent  ! FIXME
*selectDescendants.Label:	Select Descendants  ! FIXME
*selectAncestors.Label:		Select Ancestors  ! FIXME

! Xt Menu Entry Names

*xt*refreshTree.Label:		Refresh Current Widget Tree  ! FIXME
*xt*dumpTreeToFile.Label:	Dump Widget Tree to a File  ! FIXME
*xt*getResourceList.Label:	Show Resource Box  ! FIXME
*xt*setValues.Label:		Set Resource  ! FIXME

*xt*showClientWidget.Label:	Select Widget in Client  ! FIXME
*xt*showWidgetNames.Label:	Show Widget Names  ! FIXME
*xt*showClassNames.Label:	Show Class Names  ! FIXME
*xt*showWidgetIDs.Label:	Show Widget IDs  ! FIXME
*xt*showWidgetWindows.Label:	Show Widget Windows  ! FIXME
*xt*flashActiveWidgets.Label:	Flash Active Widgets  ! FIXME

! InterViews Menu Entry Names

*iv*refreshTree.Label:		Refresh Current Style Tree  ! FIXME
*iv*dumpTreeToFile.Label:	Dump Style Tree to a File  ! FIXME
*iv*getResourceList.Label:	Show Attribute Box  ! FIXME
*iv*setValues.Label:		Set Attribute  ! FIXME

*iv*showClientWidget.Label:	Select Style in Client  ! FIXME
*iv*showWidgetNames.Label:	Show Style Names  ! FIXME
*iv*showClassNames.Label:	Show Class Names  ! FIXME
*iv*showWidgetIDs.Label:	Show Style IDs  ! FIXME
*iv*showWidgetWindows.Label:	Show Style Windows  ! FIXME
*iv*flashActiveWidgets.Label:	Flash Active Styles  ! FIXME

! Universal Toolkit Messages

*label0: Action `%s' must have the Editres Protocol.  ! FIXME
*label1: Action %s's argument must be either `cancel' or `okay'. ! FIXME
*label2: Action `%s' must have exactly one argument. ! FIXME
*label3: Unknown parameter to action `%s' must be one of:\n ! FIXME
*label4: It appears that this client does not understand\nthe Editres Protocol. ! FIXME
*label5: Can't grab the mouse.\n ! FIXME
*label6: Click the mouse pointer on any toolkit client. ! FIXME
*label8: Message sent to client%s. ! FIXME
*label9: Incorrectly formatted message from client. ! FIXME
*label10: Unable to own the Resource Editor Command Selection ! FIXME
*label11: Unknown Error code %d ! FIXME
*label13: Welcome to the X Resource Editor version 1.1 ! FIXME
*label15: That window does not appear to be\nin the currently displayed client. ! FIXME
*label16: Editres Internal Error: Unable to FindNode.\n ! FIXME
*label18: There are no active nodes. ! FIXME
*label20: ApplyResource: found no matches. ! FIXME
*label21: Error: SVActiveEntry Action must have exactly one argument. ! FIXME
*label22: Error: SVActiveEntry Action's first Argument must be either 'Resource' or 'Value'. ! FIXME
*label24: Unable to open the file `%s' for writing. ! FIXME
*label25: Error while trying to save Context\nAborting file dialog popup. ! FIXME
*label26: Error while trying to find Context\nAborting... ! FIXME
*label28: Loop in tree: node %s's parent (%s) has not been created yet\n ! FIXME
*label30: There are no active nodes. ! FIXME
*label31: Internal Error: Unknown select type. ! FIXME
*label32: Internal Error: Unknown label type. ! FIXME
*label33: Internal Error: Unknown activate type. ! FIXME
*label34: Only one Resource Box can be active at a time. ! FIXME
*label35: Unable to unpack protocol request. ! FIXME
*label36: This version of editres uses protocol version %s,\nbut the client speaks version %s. ! FIXME

! Xt Messages

*xt*label7: Unable to own the Resource Selection ! FIXME
*xt*label12: Widget Tree for client %s(%s). ! FIXME
*xt*label14: Click on any widget in the client.\nEditres will select that widget in the tree display. ! FIXME
*xt*label17: No widget Tree is avaliable. ! FIXME
*xt*label19: This function requires exactly one (1) widget to be selected. ! FIXME
*xt*label23: There are no currently active widgets. ! FIXME
*xt*label27: There is no widget tree to display. ! FIXME
*xt*label29: XSaveContext failed on widget %s. ! FIXME

! InterViews Messages

*iv*label7: Unable to own the Attribute Selection ! FIXME
*iv*label12: Style Tree for client %s(%s). ! FIXME
*iv*label14: Click on any style in the client.\nEditres will select that style in the tree display. ! FIXME
*iv*label17: No style Tree is avaliable. ! FIXME
*iv*label19: This function requires exactly one (1) style to be selected. ! FIXME
*iv*label23: There are no currently active styles. ! FIXME
*iv*label27: There is no style tree to display. ! FIXME
*iv*label29: XSaveContext failed on style %s. ! FIXME

*MenuButton.leftBitmap:			menu10

! For the Top Area

*hPane.orientation:			horizontal
*hPane.preferredPaneSize:		100
*hPane.Panner.width:			100
*hPane.Panner.height:			100
*hPane.Panner.preferredPaneSize:	100
*Paned.Panner.showGrip:			False
*Paned.box.showGrip:			False
*Paned.hPane.showGrip:			True

! For the Filename popup dialog.

*fileDialog*value:		
*fileDialog*allowShellResize:		True
*fileDialog*Text.baseTranslations:	#override \n\
	<Key>Return:		PopdownFileDialog(okay)


! Universal Resources for the Resource Box.

*resourceLabel.font:			\
-*-new century schoolbook-bold-r-*-*-20-*-*-*-*-*-*-*
*allowShellResize:				True
*resourceLabel.allowResize:			True
*List.verticalList:				True
*namesAndClasses*BorderWidth:		0
*star.Label:				*
*dot.Label:					.
*namesLabel.font:				\
-*-new century schoolbook-bold-r-*-*-17-*-*-*-*-*-*-*
*constraintLabel.font:			\
-*-new century schoolbook-bold-r-*-*-17-*-*-*-*-*-*-*
*valueLabel.BorderWidth:			0
*valueForm*preferredPaneSize:		100
*valueText*editType:			edit
*valueText.Scroll:				WhenNeeded
*valueText.width:				300
*setFile.Label:				Set Save File ! FIXME 
*save.Label:				Sbhil
*apply.Label:				Den
*saveAndApply.Label:			Save and Apply ! FIXME
*commandBox.show.Label:		        Taispen

! InterViews Resources for the Resource Box.

*iv*single.Label:				Gach Stl ! FIXME
*iv*any.Label:					Any Style Chain ! FIXME
*iv*namesLabel.Label:				Normal Attributes: mb2 gets a value ! FIXME
*iv*constraintLabel.Label:			Constraint Attributes ! FIXME
*iv*valueLabel.Label:				Enter Attribute Value: ! FIXME
*iv*commandBox.cancel.Label:			Popdown Attribute Box ! FIXME

! Xt Resources for the Resource Box.

*xt*single.Label:                              Any Widget ! FIXME
*xt*any.Label:                                 Any Widget Chain ! FIXME
*xt*namesLabel.Label:                          Normal Resources: mb2 gets a value ! FIXME
*xt*constraintLabel.Label:                     Constraint Resources ! FIXME
*xt*valueLabel.Label:                          Enter Resource Value: ! FIXME
*xt*commandBox.cancel.Label:                   Popdown Resource Box ! FIXME

! This gives us an exactly one of many toggle, if toggle is
! not set in each group the application will probabally core dump.

*namesAndClasses*Toggle.baseTranslations: #override \n\
	<Btn1Down>,<Btn1Up>:   set() notify()
    

*commandBox.skipAdjust:				True

! Get resource values action binding.

*List.baseTranslations: #override \n\
	<Btn2Down>,<Btn2Up>:		Set() EnableGetVal() Notify()

! Keyboard Actions for Tree and children of the Tree.

*Tree.baseTranslations:	#override \n\
	:<Key>space:		Select(nothing) \n\
	:<Key>w:		Select(widget) \n\
	:<Key>s:		Select(all) \n\
	:<Key>i:		Select(invert) \n\
	:<Key>c:		Select(children) \n\
	:<Key>d:		Select(descendants) \n\
	:<Key>p:		Select(parent) \n\
	:<Key>a:		Select(ancestors) \n\
	:<Key>N:		Relabel(name) \n\
	:<Key>C:		Relabel(class) \n\
	:<Key>I:		Relabel(id) \n\
	:<Key>W:		Relabel(window) 

*Tree.Toggle.baseTranslations:	#override \n\
	:<Key>space:		Select(nothing) \n\
	:<Key>w:		Select(widget) \n\
	:<Key>s:		Select(all) \n\
	:<Key>i:		Select(invert) \n\
	:<Key>c:		Select(children) \n\
	:<Key>d:		Select(descendants) \n\
	:<Key>p:		Select(parent) \n\
	:<Key>a:		Select(ancestors) \n\
	:<Key>N:		Relabel(name) \n\
	:<Key>C:		Relabel(class) \n\
	:<Key>I:		Relabel(id) \n\
	:<Key>W:		Relabel(window) \n\
	<Btn2Down>,<Btn2Up>:	Select(nothing) toggle() notify() \n\
	<Btn3Down>,<Btn3Up>:	Relabel(toggle)

! For the SetValues popup

*setValuesPopup*resizable:		True
*setValuesPopup*left:			ChainLeft
*setValuesPopup*right:			ChainLeft

*setValuesPopup*label*Label:		Use <Tab> to Change Fields. ! FIXME
*setValuesPopup*Label*BorderWidth:	0

*setValuesPopup*resourceLabel.Label:	Resource Name: ! FIXME
*setValuesPopup*valueLabel.Label:	Luach:
*SimpleMenu*setValuesPopup*setValues.Label:	Den
*setValuesPopup*cancel.Label:		Cealaigh

*setValuesPopup*Text*EditType:		Eagar
*setValuesPopup*Text*resize:		Width ! FIXME

*setValuesPopup*resourceText.baseTranslations: #override \
  <Key>Return:     	   no-op(RingBell) \n\
   Ctrl<Key>q,<Key>Tab:    insert-char()    \n\
   <Btn1Down>:             select-start() SVActiveEntry(Resource) \n\
   <Key>Tab:               SVActiveEntry(Value)

*setValuesPopup*valueText.baseTranslations: #override \
   <Key>Return:     	   no-op(RingBell) \n\
   Ctrl<Key>q,<Key>Tab:    insert-char()     \n\
   <Btn1Down>:             select-start() SVActiveEntry(Value)\n\
   <Key>Tab:               SVActiveEntry(Resource)
