Egon*background:                plum
Egon*foreground:                black
!Egon*menubox*background:       plum
!Egon*menubox*foreground:       black
Egon*toolbox*background:        plum3
Egon*toolbox*foreground:        black
Egon*hscroll*background:        plum3
Egon*vscroll*background:        plum3

Egon*Scrollbar*borderWidth:     0
Egon*List*borderWidth:          1

Egon*beNiceToColormap:		False

Egon.geometry:			600x400
Egon*edit_shell.geometry:	600x300
!Egon*topLevel.height:		300
!Egon*label1.width:		600
!Egon*gridpane.width:		600
!Egon*gridpane.height:		100
!Egon*label2.width:		496

!*font:				-*-helvetica-bold-r-*-12-*
Egon*font:			-*-helvetica-medium-r-*-12-*
Egon*Text*font:			-*-helvetica-medium-r-*-12-*
Egon*TextField*font:			-*-helvetica-medium-r-*-12-*
Egon*SimpleMenu*font:		-*-helvetica-medium-r-*-10-*

Egon*Label*borderWidth:		0
Egon*Label*shadowWidth:		0
Egon*Label*justify:			Left
Egon*Label*topShadowContrast:	-40
Egon*Label*bottomShadowContrast:	-20
Egon*textframe.topShadowContrast:	-40
Egon*textframe.bottomShadowContrast:	-20
Egon*formatframe.topShadowContrast:	-40
Egon*formatframe.bottomShadowContrast:	-20
Egon*formatframe.shadowWidth:		1
Egon*formatframe.height:		20

Egon*Text*background:		white
Egon*TextField*background:		white
Egon*topbox*List*background:	white

Egon*Combo*borderWidth:		0
Egon*Combo*height:		18
Egon*combo_viewport.allowHoriz:	False

Egon*TextField*height:		20

!Egon*topbox.MenuButton.height:          24
!Egon*topbox.Toggle.height:              24
!Egon*topbox.Command.height:             24
Egon*topbox.MenuButton.shadowWidth:	0
Egon*topbox.Toggle.shadowWidth:		0
Egon*topbox.Command.shadowWidth:	0
Egon*Toggle.shadowWidth:		1
Egon*Command.shadowWidth:		1
Egon*MenuButton.shadowWidth:		1
Egon*frame.shadowWidth:			1
Egon*menubox.MenuButton.shadowWidth:	0
Egon*toolbox.Toggle.shadowWidth:		0
Egon*toolbox.Command.shadowWidth:	0
Egon*formatbox.Toggle.shadowWidth:		0
Egon*formatbox.Command.shadowWidth:	0
Egon*textbox.borderWidth:		0
Egon*statusbox.borderWidth:		0
Egon*gridpane.borderWidth:		1

!Egon*hsep.width:		600
!Egon*hsep.height:		2
!Egon*hsep.borderWidth:		0
!Egon*hsep.shadowWidth:		1
!Egon*hsep.label:
Egon*vsep.width:		2
Egon*vsep.height:		22
Egon*vsep.borderWidth:		0
Egon*vsep.shadowWidth:		1
Egon*vsep.topShadowContrast:	-40
Egon*vsep.bottomShadowContrast:	-20

! The siag-highlight and siag-unhighlight are replacements for the
! standard highlight and unhighlight actions. They use standout colour
! for the background, rather than a black border around the widget.
Egon*Toggle.translations:       #override                       \n\
        <Enter>:                siag-highlight(2 1)                \n\
        <Leave>:                siag-unhighlight(1 1)

Egon*MenuButton.translations:   #override                       \n\
        <Enter>:                siag-highlight()                \n\
        <Leave>:                siag-unhighlight()

Egon*menubox.MenuButton.translations:   #override                       \n\
        <Enter>:                siag-highlight(1)                \n\
        <Leave>:                siag-unhighlight(0)

Egon*Command.translations:      #override                       \n\
        <Enter>:                siag-highlight()                \n\
        <Leave>:                siag-unhighlight()

Egon*SimpleMenu.translations:   #override                       \n\
        :<EnterWindow>:         highlight()             \n\
        :<LeaveWindow>:         unhighlight()           \n\
        :<BtnMotion>:           highlight() menu-motion()       \n\
        :<BtnUp>:               MenuPopdown() notify() unhighlight()

Egon*submenu.translations:      #override                       \n\
        :<EnterWindow>:         highlight()                     \n\
        :<LeaveWindow>:         MenuPopdown() unhighlight()     \n\
        :<BtnMotion>:           highlight()                     \n\
        :<BtnUp>:               popdown-submenu() notify() unhighlight()

Egon*tooltip_label.background:		LightYellow
Egon*tooltip_label.font:		-*-helvetica-medium-r-*-10-*

Egon*MenuButton.shadowWidth:	0

Egon*List*defaultColumns:	1
Egon*List*forceColumns:		True

Egon*Viewport*allowHoriz:	True
Egon*Viewport*allowVert:	True
Egon*Viewport*useBottom:	True
Egon*Viewport*useRight:		True

Egon*topbox.translations:	#override			\n\
	<Key>F1:		siaghelp(egon.html)


Egon*tbNew.translations:	#override				\n\
	<Enter>:	siag-highlight(1)\
			tooltip()\n\
	<Leave>:	siag-unhighlight(0)\
			draw-input()

Egon*tbOpen.translations:	#override				\n\
	<Enter>:	siag-highlight(1)\
			tooltip(ե򳫤)	\n\
	<Leave>:	siag-unhighlight(0)\
			draw-input()

Egon*tbSave.translations:	#override				\n\
	<Enter>:	siag-highlight(1)\
			tooltip(ե¸)\n\
	<Leave>:	siag-unhighlight(0)\
			draw-input()

Egon*tbView.translations:	#override				\n\
	<Enter>:	siag-highlight(1)\
			tooltip(ץӥ塼)\n\
	<Leave>:	siag-unhighlight(0)\
			draw-input()

Egon*tbPrint.translations:	#override				\n\
	<Enter>:	siag-highlight(1)\
			tooltip()\n\
	<Leave>:	siag-unhighlight(0)\
			draw-input()

Egon*tbQuit.translations:	#override				\n\
	<Enter>:	siag-highlight(1)\
			tooltip(Pop down animation)\n\
	<Leave>:	siag-unhighlight(0)\
			draw-input()

Egon*tbStop.translations:	#override				\n\
	<Enter>:	siag-highlight(1)\
			tooltip(˥᡼)\n\
	<Leave>:	siag-unhighlight(0)\
			draw-input()

Egon*tbPrev.translations:	#override				\n\
	<Enter>:	siag-highlight(1)\
			tooltip(ե졼)\n\
	<Leave>:	siag-unhighlight(0)\
			draw-input()

Egon*tbPlay.translations:	#override				\n\
	<Enter>:	siag-highlight(1)\
			tooltip(˥᡼κ)\n\
	<Leave>:	siag-unhighlight(0)\
			draw-input()

Egon*tbNext.translations:	#override				\n\
	<Enter>:	siag-highlight(1)\
			tooltip(Υե졼˿ʤ)\n\
	<Leave>:	siag-unhighlight(0)\
			draw-input()

Egon*tbHelp.translations:	#override				\n\
	<Enter>:	siag-highlight(1)\
			tooltip(饤ɥ)\n\
	<Leave>:	siag-unhighlight(0)\
			draw-input()

Egon*tbCopy.translations:	#override				\n\
	<Enter>:	siag-highlight(1)\
			tooltip(ԡ饤)\n\
	<Leave>:	siag-unhighlight(0)\
			draw-input()

Egon*btnFont.width:			160
Egon*formatbox*btnFont.translations:	#override	\n\
	<Enter>:	siag-highlight(1)\
			tooltip(եȤѹ)	\n\
	<Leave>:	siag-unhighlight(0)\
			draw-input()

Egon*formatbox*btnSize.translations:	#override	\n\
	<Enter>:	siag-highlight(1)\
			tooltip(ѹ)	\n\
	<Leave>:	siag-unhighlight(0)\
			draw-input()

Egon*formatbox*btnStyle.translations:	#override	\n\
	<Enter>:	siag-highlight(1)\
			tooltip(ѹ)	\n\
	<Leave>:	siag-unhighlight(0)\
			draw-input()

Egon*formatbox*btnColor.translations:	#override	\n\
	<Enter>:	siag-highlight(1)\
			tooltip(ʸѹ)	\n\
	<Leave>:	siag-unhighlight(0)\
			draw-input()

Egon*cmdBold.translations:		#override	\n\
	<Enter>:	siag-highlight(1 1)\
			tooltip()	\n\
	<Leave>:	siag-unhighlight(0 1)\
			draw-input()

Egon*cmdItalic.translations:		#override	\n\
	<Enter>:	siag-highlight(1 1)\
			tooltip()	\n\
	<Leave>:	siag-unhighlight(0 1)\
			draw-input()

Egon*cmdHLeft.translations:		#override	\n\
	<Enter>:	siag-highlight(1 1)\
			tooltip(ͤ)	\n\
	<Leave>:	siag-unhighlight(0 1)\
			draw-input()

Egon*cmdHCenter.translations:		#override	\n\
	<Enter>:	siag-highlight(1 1)\
			tooltip()	\n\
	<Leave>:	siag-unhighlight(0 1)\
			draw-input()

Egon*cmdHRight.translations:		#override	\n\
	<Enter>:	siag-highlight(1 1)\
			tooltip(ͤ)	\n\
	<Leave>:	siag-unhighlight(0 1)\
			draw-input()

Egon*cmdInline.translations:		#override	\n\
        <Enter>:        siag-highlight(1 1)\
                        tooltip(饤⡼)       \n\
        <Leave>:        siag-unhighlight(0 1)\
                        draw-input()


Egon*label1.font:		-*-helvetica-medium-r-*-12-*

Egon*viewport.left:	ChainLeft
Egon*viewport.right:	ChainRight
Egon*viewport.top:	ChainTop
Egon*viewport.bottom:	ChainBottom
Egon*viewport.height:	200
Egon*viewport.width:	600

Egon*grid.background:		white
!*grid.foreground:		black
Egon*grid.left:			ChainLeft
Egon*grid.right:			ChainRight
Egon*grid.top:			ChainTop
Egon*grid.bottom:			ChainBottom
!	<Expose>:		pr-grid()				\n\

Egon*stage.translations:\
	:<Btn1Down>:		place-shortcuts() XtMenuPopup(shortcuts)

Egon*viewport.translations:\
	:<Key>Home:		execute(beginning-of-line)		\n\
	Ctrl<Key>a:		execute(beginning-of-line)		\n\
	:<Key>End:		execute(end-of-line)			\n\
	Ctrl<Key>e:		execute(end-of-line)			\n\
	Ctrl<Key>space:		execute(set-mark-command)		\n\
	:<Key>Left:		execute(backward-char)			\n\
	Ctrl<Key>b:		execute(backward-char)			\n\
	:<Key>Delete:		execute(delete-char)			\n\
	Ctrl<Key>d:		execute(delete-char)			\n\
	:<Key>BackSpace:	execute(delete-char-backward)		\n\
	:<Key>Right:		execute(forward-char)			\n\
	Ctrl<Key>f:		execute(forward-char)			\n\
	:<Key>Down:		execute(next-line)			\n\
	Ctrl<Key>n:		execute(next-line)			\n\
	Ctrl<Key>o:		execute(split-line)			\n\
	:<Key>Return:		execute(newline)			\n\
	Ctrl<Key>k:		execute(kill-line)			\n\
	Ctrl<Key>l:		execute(recenter)			\n\
	Ctrl<Key>x,Ctrl<Key>f:	execute(load-buffer)			\n\
	:<Key>Up:		execute(previous-line)			\n\
	Ctrl<Key>p:		execute(previous-line)			\n\
	Ctrl<Key>x,Ctrl<Key>c:	execute(quit-egon)			\n\
	Ctrl<Key>x,Ctrl<Key>s:	execute(save-buffer)			\n\
	Ctrl<Key>x,Ctrl<Key>w:	execute(save-buffer-as)			\n\
	Ctrl<Key>x,Ctrl<Key>x:	execute(exchange-point-and-mark)	\n\
	Ctrl<Key>x,Ctrl<Key>space: execute(set-block)			\n\
	Meta<Key>x:		execute(execute-extended-command)	\n\
	:Meta<Key>less:		execute(beginning-of-buffer)		\n\
	:Meta<Key>greater:	execute(end-of-buffer)			\n\
	:<Key>Page_Up:		execute(scroll-up)			\n\
	Meta<Key>v:		execute(scroll-up)			\n\
	:<Key>Page_Down:	execute(scroll-down)			\n\
	Ctrl<Key>v:		execute(scroll-down)			\n\
	Ctrl<Key>w:		execute(delete-block)			\n\
	Ctrl<Key>x,<Key>question: execute(what-cursor-position)		\n\
	Ctrl<Key>x,<Key>k:	execute(kill-buffer)			\n\
	Ctrl<Key>x,<Key>b:	execute(switch-to-buffer)		\n\
	Ctrl<Key>x,<Key>2:	execute(split-window-vertically)	\n\
	Ctrl<Key>x,<Key>1:	execute(delete-other-windows)		\n\
	Ctrl<Key>x,<Key>0:	execute(delete-window)			\n\
	Ctrl<Key>x,<Key>o:	execute(other-window)			\n\
	:<Key>F1:		execute(help-contents)			\n\
	Ctrl<Key>h,<Key>c:	execute(help-contents)			\n\
	:<Key>F4:		execute(more complicated test)

Egon*hscroll.left:			ChainLeft
Egon*hscroll.right:		ChainRight
Egon*hscroll.top:			ChainBottom
Egon*hscroll.bottom:		ChainBottom
Egon*hscroll.orientation:		Horizontal

Egon*vscroll.left:			ChainRight
Egon*vscroll.right:		ChainRight
Egon*vscroll.top:			ChainTop
Egon*vscroll.bottom:		ChainBottom
Egon*vscroll.orientation:		Vertical

!*label2.left:			ChainLeft
!*label2.right:			ChainRight
!*label2.top:			ChainBottom
!*label2.bottom:		ChainBottom
!*label2.height:		20
!*label2.width:			480
!*label2.fromVert:		viewport
!*label2.fromVert:		gridpane
!*label2.label:	
Egon*label2.font:			-*-helvetica-medium-r-*-12-*
Egon*label2.shadowWidth:		1
Egon*label3.font:			-*-helvetica-medium-r-*-12-*
Egon*label3.shadowWidth:		1

Egon*pshell.width:			400
Egon*pshell.height:		80

!Egon*dialogLabel.label:
!*dialogLabel.height:		20
!*dialogLabel.width:		200
Egon*dialogLabel.left:		ChainLeft
Egon*dialogLabel.right:		ChainRight
Egon*dialogLabel.top:		ChainTop
Egon*dialogLabel.bottom:		ChainTop

!*dialogText.height:		20
Egon*dialogText.width:		400
Egon*dialogText.left:		ChainLeft
Egon*dialogText.right:		ChainRight
Egon*dialogText.top:		ChainTop
Egon*dialogText.bottom:		ChainTop
Egon*dialogText.fromVert:		dialogLabel

Egon*dialogDone.width:		80
Egon*dialogDone.top:		ChainBottom
Egon*dialogDone.fromVert:		dialogText
!Egon*dialogDone.label:		OK

Egon*dialogCancel.width:		80
Egon*dialogCancel.top:		ChainBottom
Egon*dialogCancel.fromVert:	dialogText
Egon*dialogCancel.fromHoriz:	dialogDone
!Egon*dialogCancel.label:		Cancel

Egon*fsel_pshell.width:		500
Egon*fsel_pshell.height:		300
Egon*fsel_pshell.x:		80
Egon*fsel_pshell.y:		80

!Egon*fsel_filelabel.label:		File Name:
Egon*fsel_filelabel.top:		ChainTop
Egon*fsel_filelabel.bottom:	ChainTop
Egon*fsel_filelabel.left:		ChainLeft
Egon*fsel_filelabel.right:		ChainLeft

Egon*fsel_filetext.top:		ChainTop
Egon*fsel_filetext.bottom:		ChainTop
Egon*fsel_filetext.left:		ChainLeft
Egon*fsel_filetext.right:		ChainLeft
Egon*fsel_filetext.width:		200
Egon*fsel_filetext.fromVert:	fsel_filelabel
Egon*fsel_filetext.font:		-*-helvetica-medium-r-*-12-*
Egon*fsel_filetext.translations: #override\n\
	<Key>Return:		fsel-done()\n\
	<Key>Escape:		fsel-cancel()

Egon*fsel_fileviewport.width:	200
Egon*fsel_fileviewport.top:	ChainTop
Egon*fsel_fileviewport.bottom:	ChainBottom
Egon*fsel_fileviewport.left:	ChainLeft
Egon*fsel_fileviewport.right:	ChainLeft
Egon*fsel_fileviewport.height:	200
Egon*fsel_fileviewport.fromVert:	fsel_filetext

!*fsel_filelist.width:		200
!*fsel_filelist.fromVert:	fsel_filetext

Egon*fsel_formatlabel.top:		ChainBottom
Egon*fsel_formatlabel.bottom:	ChainBottom
Egon*fsel_formatlabel.left:	ChainLeft
Egon*fsel_formatlabel.right:	ChainLeft
!Egon*fsel_formatlabel.label:	Format:
Egon*fsel_formatlabel.fromVert:	fsel_fileviewport

Egon*fsel_formatbutton.top:	ChainBottom
Egon*fsel_formatbutton.bottom:	ChainBottom
Egon*fsel_formatbutton.left:	ChainLeft
Egon*fsel_formatbutton.right:	ChainLeft
Egon*fsel_formatbutton.fromVert:	fsel_formatlabel
Egon*fsel_formatbutton.width:	200
Egon*fsel_formatbutton.justify:	Left
Egon*fsel_formatbutton.shadowWidth:	1

Egon*fsel_dirlabel.top:		ChainTop
Egon*fsel_dirlabel.bottom:		ChainTop
Egon*fsel_dirlabel.left:		ChainLeft
Egon*fsel_dirlabel.right:		ChainRight
!*fsel_dirlabel.width:		200
!Egon*fsel_dirlabel.label:		Directory:
Egon*fsel_dirlabel.fromHoriz:	fsel_fileviewport

Egon*fsel_dirbutton.top:                ChainTop
Egon*fsel_dirbutton.bottom:             ChainTop
Egon*fsel_dirbutton.left:               ChainLeft
Egon*fsel_dirbutton.right:              ChainRight
Egon*fsel_dirbutton.width:              200
Egon*fsel_dirbutton.fromHoriz:          fsel_fileviewport
Egon*fsel_dirbutton.fromVert:           fsel_dirlabel
Egon*fsel_dirbutton.font:               -*-helvetica-medium-r-*-12-*
!*fsel_dirbutton.displayCaret:      False
Egon*fsel_dirbutton.justify:            Left
Egon*fsel_dirbutton.shadowWidth:       1
!Egon*fsel_dirbutton.background:         white
!Egon*fsel_dirbutton.borderWidth:        1
!Egon*fsel_dirbutton.translations:       #override                       \n\
!	<Enter>:						\n\
!	<Leave>:

Egon*fsel_dirviewport.top:		ChainTop
Egon*fsel_dirviewport.bottom:	ChainBottom
Egon*fsel_dirviewport.left:	ChainLeft
Egon*fsel_dirviewport.right:	ChainRight
Egon*fsel_dirviewport.width:	200
Egon*fsel_dirviewport.height:	200
Egon*fsel_dirviewport.fromHoriz:	fsel_fileviewport
Egon*fsel_dirviewport.fromVert:	fsel_filetext

!Egon*fsel_okbutton.label:		OK
!Egon*fsel_cancelbutton.label:		Cancel
!Egon*fsel_findbutton.label:		Find
!Egon*fsel_helpbutton.label:		Help

!*font_pshell.width:		280
!*font_pshell.height:		225
Egon*font_pshell.x:		80
Egon*font_pshell.y:		80

!Egon*font_namelabel.label:		Family Name
!Egon*font_sizelabel.label:		Size
!Egon*font_attrlabel.label:		Attributes
!Egon*font_borderlabel.label:	Borders
!Egon*font_adjlabel.label:		Adjustment
!Egon*font_nolabel.label:		Misc

Egon*font_okbutton.width:		80
!Egon*font_okbutton.label:		OK

Egon*font_cancelbutton.width:	80
!Egon*font_cancelbutton.label:	Cancel

Egon*alert*borderWidth:		0
Egon*alert*topbox.orientation:	vertical
Egon*alert*buttonbox.orientation:	horizontal

Egon*listshell*borderWidth:	0
Egon*listshell*topbox.orientation:	horizontal
Egon*listshell*listbox.orientation:	vertical
Egon*listshell*viewport.borderWidth:	1
Egon*listshell*buttonbox.orientation:	vertical
!Egon*listshell*okbutton.label:	OK
!Egon*listshell*cancelbutton.label:	Cancel

Egon*form_shell*MenuButton.shadowWidth:	1
Egon*inputMethod: kinput2 &
Egon*international: True
Egon*fontSet: a14,r14,k14


