! The App-defaults file for Editres.

! The top few items are strictly to make it look `nice', users may
! modify these as they see fit.

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:			Comandos
*Box*treeCommands.Label:		Arbol

! Menu Entry Names

*SimpleMenu*sendTree.Label:		Obtener rbol Widget
*SimpleMenu*refreshTree.Label:		Renovar rbol Widget actual
*SimpleMenu*dumpTreeToFile.Label:	Volcar el rbol Widget en un archivo
*SimpleMenu*getResourceList.Label:	Mostrar cuadro de recursos
*SimpleMenu*setValues.Label:		Definir recurso
*SimpleMenu*quit.Label:			Abandonar


*SimpleMenu*showClientWidget.Label:	Seleccionar Widget en cliente
*SimpleMenu*selectAll.Label:		Seleccionar todo
*SimpleMenu*unselectAll.Label:		Deseleccionar todo
*SimpleMenu*invertAll.Label:		Invertir todo
*SimpleMenu*selectChildren.Label:	Seleccionar Hijos
*SimpleMenu*selectParent.Label:		Seleccionar Padre
*SimpleMenu*selectDescendants.Label:	Seleccionar Descendientes
*SimpleMenu*selectAncestors.Label:	Seleccionar Antecesores
*SimpleMenu*showWidgetNames.Label:	Mostrar nombres de Widget
*SimpleMenu*showClassNames.Label:	Mostrar nombres de clase
*SimpleMenu*showWidgetIDs.Label:	Mostrar identificadores de Widget
*SimpleMenu*showWidgetWindows.Label:	Mostrar ventanas de Widget
*SimpleMenu*flashActiveWidgets.Label:	Poner en intermitente Widgets activos

*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)

! Resources for the Resource Box.

*resourceBox*resourceLabel.font:			\
-*-new century schoolbook-bold-r-*-*-20-*-*-*-*-*-*-*

*resourceBox.allowShellResize:				True

*resourceBox*resourceLabel.allowResize:			True

*resourceBox*List.verticalList:				True

*resourceBox*namesAndClasses*BorderWidth:		0
*resourceBox*star.Label:				*
*resourceBox*dot.Label:					.
*resourceBox*single.Label:				Cualquier Widget
*resourceBox*any.Label:					Cualquier cadena Widget

*resourceBox*namesLabel.Label:				Recursos normales
*resourceBox*namesLabel.font:				\
-*-new century schoolbook-bold-r-*-*-17-*-*-*-*-*-*-*
*resourceBox*constraintLabel.Label:			Recursos obligatorios
*resourceBox*constraintLabel.font:			\
-*-new century schoolbook-bold-r-*-*-17-*-*-*-*-*-*-*


*resourceBox*valueLabel.Label:				Introducir el valor del recurso:
*resourceBox*valueLabel.BorderWidth:			0

*resourceBox*valueForm*preferredPaneSize:		100

*resourceBox*valueText*editType:			edit
*resourceBox*valueText.Scroll:				WhenNeeded
*resourceBox*valueText.width:				300

*resourceBox*setFile.Label:				Definir el archivo Guardar
*resourceBox*save.Label:				Guardar
*resourceBox*apply.Label:				Aplicar
*resourceBox*saveAndApply.Label:			Guardar y aplicar
*resourceBox*commandBox.cancel.Label:			Desplegar cuadro de recursos

! 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

! 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:		Usar <Tab> para cambiar los campos.
*setValuesPopup*Label*BorderWidth:	0

*setValuesPopup*resourceLabel.Label:	Nombre de recurso:
*setValuesPopup*valueLabel.Label:	Valor:
*SimpleMenu*setValuesPopup*setValues.Label:	Aplicar
*setValuesPopup*cancel.Label:		Cancelar

*setValuesPopup*Text*EditType:		Edit
*setValuesPopup*Text*resize:		Width

*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)
