#
# Configuration file for the W3T project.
# This is sourced by a TCL shell, use correct TCL code.
#
# $Id: w3trc,v 1.82 1994/06/05 14:53:02 d88-kss Exp $

set text ""

# Global defines
set w3t(authors) "w3t@ludd.luth.se"
set w3t(geometry) 570x400
set w3t(minxsize) 570
set w3t(minysize) 300
set w3t(lib) /u4/proj/w3t
set w3t(viewer) mosaic
set w3t(appname_long) "World Wide Web Tools version 0.1"

set w3t(homedir) /u4/proj/w3t/test
set w3t(helpdir) $w3t(lib)/help
set w3t(icondir) $w3t(lib)/icons
set w3t(iconbase) $w3t(icondir)/w3anim

set w3t(home_page) /u4/proj/proj/goggi/in.html
set w3t(pattern) *.html
set w3t(init_load) 0

set w3t(link_background) #ffe4c4
set w3t(link_borderwidth) 2
set w3t(link_relief) ridge
set w3t(link_underline) 0

set w3t(save_at_view) 0
set w3t(save_at_terminate) 0
set w3t(show_keys) 1
set w3t(show_menu) 1

set w3t(icon_big) 1
set w3t(icon_col) 4
set w3t(icon_mode) 2

set w3t(menu_mode) 1

set w3t(debug) 0

set def(commands) [list \
	 	   doc open_file save \
		   mail normal kill \
                   italic bold underline \
		   emph pre code strong \
     		   paragraph list_ul list_ol \
     		   cut copy paste \
                   reload mark recycle \
		   home_page open_url link \
		   back history forward \
		   view view_source generate \
                   clone close explode \
                   save stop \
                   doc space \
                   open_file space \
                   reload home_page open_url space \
	           back history forward space \
                   kill clone close explode space \
                   mail w3t space \
                   view view_source generate space \
     		   ]

set w3t(icon_d&d) [list \
	 	   save home_page explode kill \
		   doc open_file open_url reload  \
		   w3t back history forward \
		   mail view view_source link  \
     		   mark cut copy paste \
		   recycle paragraph list_ul list_ol \
                   normal italic bold underline \
		   strong code emph pre \
     		   ]

set w3t(icon_top) [list \
                   save space \
                   doc open_file open_url reload space \
                   home_page space \
	           back history forward w3t space \
                   mail view view_source explode space \
		   config space \
		   stop kill \
                   ]

set w3t(icon_bottom) [list \
                   recycle space \
                   mark cut copy paste space \
                   link space \
		   strong code emph pre space \
                   normal italic bold underline space \
                   paragraph space \
                   list_ul list_ol space \
		   ]

set w3t(load_cmd) [list \
		   terminate up down left right config unselect recycle \
                   link save save_as generate open_file open_url paragraph\
                   view view_source normal remove_bold remove_italic bold\
                   italic h1 h2 h3 h4 h5 h6 home home_page start_line \
                   end_line kill_end emph strong\
		   destroy code pre history mark mail new_document reload \
		   remove_underline parse_stop strong unselect underline \
                  ]
#Define reverse mouse events via button 3
set w3t(cmd_reverse_bold) boldify_unsel
set w3t(cmd_reverse_italic) italic_unsel
set w3t(cmd_reverse_underline) underline_unsel
set w3t(cmd_reverse_strong) strong_unsel
set w3t(cmd_reverse_emph) emphasize_unsel
set w3t(cmd_reverse_code) code_unsel
set w3t(cmd_reverse_pre) pre_unsel
set w3t(cmd_reverse_mark) unselect_all


# Define key bindings
set w3t(cmd_bold) Control-b
set w3t(cmd_code) Control-Key-8
set w3t(cmd_config) Control-z
set w3t(cmd_copy) Control-Shift-L
set w3t(cmd_cut) Control-Shift-K
set w3t(cmd_destroy) Control-Shift-Q
set w3t(cmd_dismiss) Escape
set w3t(cmd_down) Down
set w3t(cmd_emph) Control-Key-9
set w3t(cmd_end_line) Control-e
set w3t(cmd_generate) Control-g
set w3t(cmd_h1) Control-Key-1
set w3t(cmd_h2) Control-Key-2
set w3t(cmd_h3) Control-Key-3
set w3t(cmd_h4) Control-Key-4
set w3t(cmd_h5) Control-Key-5
set w3t(cmd_h6) Control-Key-6
set w3t(cmd_history) Control-h
set w3t(cmd_home) Home
set w3t(cmd_home_page) Shift-Home
set w3t(cmd_italic) Control-i
set w3t(cmd_kill_end) Control-k
set w3t(cmd_left) Left
set w3t(cmd_link) Control-l
set w3t(cmd_mark) Control-j
set w3t(cmd_mail) Control-m
set w3t(cmd_new_document) Control-Shift-N
set w3t(cmd_normal) Control-n
set w3t(cmd_open_file) Control-f
set w3t(cmd_open_url) Control-o
set w3t(cmd_paste) Control-Shift-Y
set w3t(cmd_paragraph) Control-p
set w3t(cmd_pre) Control-Key-0
set w3t(cmd_recycle) Control-Shift-R
set w3t(cmd_reload) Control-r
set w3t(cmd_remove_bold) Control-Shift-B
set w3t(cmd_remove_italic) Control-Shift-I
set w3t(cmd_remove_underline) Control-Shift-U
set w3t(cmd_right) Right 
set w3t(cmd_save) Control-Shift-S
set w3t(cmd_save_as) Control-Shift-W
set w3t(cmd_parse_stop) Control-Shift-P
set w3t(cmd_start_line) Control-a
set w3t(cmd_strong) Control-Key-7
set w3t(cmd_terminate) Escape
set w3t(cmd_unselect) Control-Shift-J 
set w3t(cmd_underline) Control-u
set w3t(cmd_up) Up 
set w3t(cmd_view) Control-v
set w3t(cmd_view_source) Control-Shift-V

# Define where to find the icons
set w3t(icon) $w3t(icondir)/Icon.gif

set w3t(icon_w3t) $w3t(icondir)/w3t.gif
set w3t(icon_back) $w3t(icondir)/back.gif
set w3t(icon_bold) $w3t(icondir)/bold.gif
set w3t(icon_clone) $w3t(icondir)/clone.gif
set w3t(icon_close) $w3t(icondir)/close.gif
set w3t(icon_code) $w3t(icondir)/code.gif
set w3t(icon_config) $w3t(icondir)/config.gif
set w3t(icon_copy) $w3t(icondir)/copy.gif
set w3t(icon_cut) $w3t(icondir)/cut.gif
set w3t(icon_doc) $w3t(icondir)/doc.gif
set w3t(icon_emph) $w3t(icondir)/emph.gif
set w3t(icon_empty) $w3t(icondir)/empty.gif
set w3t(icon_exit) $w3t(icondir)/exit.gif
set w3t(icon_explode) $w3t(icondir)/explode.gif
set w3t(icon_forward) $w3t(icondir)/forward.gif
set w3t(icon_generate) $w3t(icondir)/generate.gif
set w3t(icon_history) $w3t(icondir)/history.gif
set w3t(icon_home) $w3t(icondir)/home.gif
set w3t(icon_home_page) $w3t(icondir)/home.gif
set w3t(icon_italic) $w3t(icondir)/italic.gif
set w3t(icon_kill) $w3t(icondir)/terminate.gif
set w3t(icon_link) $w3t(icondir)/link.gif
set w3t(icon_list_ol) $w3t(icondir)/list_ol.gif
set w3t(icon_list_ul) $w3t(icondir)/list_ul.gif
set w3t(icon_normal) $w3t(icondir)/normalize.gif
set w3t(icon_mail) $w3t(icondir)/mail.gif
set w3t(icon_mark) $w3t(icondir)/mark.gif
set w3t(icon_remove_bold) $w3t(icondir)/remove_bold.gif
set w3t(icon_remove_emph) $w3t(icondir)/remove_emph.gif
set w3t(icon_remove_strong) $w3t(icondir)/remove_strong.gif
set w3t(icon_remove_pre) $w3t(icondir)/remove_pre.gif
set w3t(icon_remove_italic) $w3t(icondir)/remove_italic.gif
set w3t(icon_remove_underline) $w3t(icondir)/remove_underline.gif
set w3t(icon_open_file) $w3t(icondir)/open_file.gif
set w3t(icon_open_url) $w3t(icondir)/open_url.gif
set w3t(icon_paragraph) $w3t(icondir)/paragraph.gif
set w3t(icon_paste) $w3t(icondir)/paste.gif
set w3t(icon_pre) $w3t(icondir)/pre.gif
set w3t(icon_recycle) $w3t(icondir)/recycle.gif
set w3t(icon_reload) $w3t(icondir)/reload.gif
set w3t(icon_save) $w3t(icondir)/save.gif
set w3t(icon_stop) $w3t(icondir)/stop.gif
set w3t(icon_parse_stop) $w3t(icondir)/stop.gif
set w3t(icon_strong) $w3t(icondir)/strong.gif
set w3t(icon_underline) $w3t(icondir)/underline.gif
set w3t(icon_unknown) $w3t(icondir)/unknown.gif
set w3t(icon_view) $w3t(icondir)/view.gif
set w3t(icon_view_source) $w3t(icondir)/view_source.gif

# Define where to find the icons for drag and drop
set w3t(icon_W3t) $w3t(icondir)/W3t.gif
set w3t(icon_Bold) $w3t(icondir)/Bold.gif
set w3t(icon_Back) $w3t(icondir)/Back.gif
set w3t(icon_Clone) $w3t(icondir)/Clone.gif
set w3t(icon_Close) $w3t(icondir)/Close.gif
set w3t(icon_Code) $w3t(icondir)/Code.gif
set w3t(icon_Config) $w3t(icondir)/Config.gif
set w3t(icon_Copy) $w3t(icondir)/Copy.gif
set w3t(icon_Cut) $w3t(icondir)/Cut.gif
set w3t(icon_Doc) $w3t(icondir)/Doc.gif
set w3t(icon_Emph) $w3t(icondir)/Emph.gif
set w3t(icon_Empty) $w3t(icondir)/Empty.gif
set w3t(icon_Exit) $w3t(icondir)/Exit.gif
set w3t(icon_Explode) $w3t(icondir)/Explode.gif
set w3t(icon_Forward) $w3t(icondir)/Forward.gif
set w3t(icon_Italic) $w3t(icondir)/Italic.gif
set w3t(icon_Generate) $w3t(icondir)/Generate.gif
set w3t(icon_History) $w3t(icondir)/History.gif
set w3t(icon_Home) $w3t(icondir)/Home.gif
set w3t(icon_Home_page) $w3t(icondir)/Home.gif
set w3t(icon_Kill) $w3t(icondir)/Terminate.gif
set w3t(icon_List_ol) $w3t(icondir)/List_ol.gif
set w3t(icon_List_ul) $w3t(icondir)/List_ul.gif
set w3t(icon_Link) $w3t(icondir)/Link.gif
set w3t(icon_Mail) $w3t(icondir)/Mail.gif
set w3t(icon_Mark) $w3t(icondir)/Mark.gif
set w3t(icon_Normal) $w3t(icondir)/Normalize.gif
set w3t(icon_Remove_bold) $w3t(icondir)/Remove_bold.gif
set w3t(icon_Remove_italic) $w3t(icondir)/Remove_italic.gif
set w3t(icon_Remove_underline) $w3t(icondir)/Remove_underline.gif
set w3t(icon_Remove_emph) $w3t(icondir)/remove_emph.gif
set w3t(icon_Remove_strong) $w3t(icondir)/remove_strong.gif
set w3t(icon_Remove_pre) $w3t(icondir)/remove_pre.gif
set w3t(icon_Open_file) $w3t(icondir)/Open_file.gif
set w3t(icon_Open_url) $w3t(icondir)/Open_url.gif
set w3t(icon_Paragraph) $w3t(icondir)/Paragraph.gif
set w3t(icon_Paste) $w3t(icondir)/Paste.gif
set w3t(icon_Pre) $w3t(icondir)/Pre.gif
set w3t(icon_Recycle) $w3t(icondir)/Recycle.gif
set w3t(icon_Reload) $w3t(icondir)/Reload.gif
set w3t(icon_Save) $w3t(icondir)/Save.gif
set w3t(icon_Stop) $w3t(icondir)/Stop.gif
set w3t(icon_Strong) $w3t(icondir)/Strong.gif
set w3t(icon_Underline) $w3t(icondir)/Underline.gif
set w3t(icon_Unknown) $w3t(icondir)/Unknown.gif
set w3t(icon_View) $w3t(icondir)/View.gif
set w3t(icon_View_source) $w3t(icondir)/View_source.gif

#Settings for the history-tree
set w3t(icon_Treenode) $w3t(icondir)/singledoc.gif

# Define fonts
set w3t(font_bold) -adobe-times-bold-r-normal-*-17-*-*-*-*-*-iso8859-1
set w3t(font_button) -adobe-helvetica-bold-r-normal--14-*-*-*-*-*-iso8859-1
set w3t(font_h1) -adobe-times-bold-r-normal-*-24-*-*-*-*-*-iso8859-1
set w3t(font_h2) -adobe-times-bold-r-normal-*-18-*-*-*-*-*-iso8859-1
set w3t(font_h3) -adobe-times-bold-r-normal-*-17-*-*-*-*-*-iso8859-1
set w3t(font_h4) -adobe-times-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
set w3t(font_h5) -adobe-times-bold-r-normal-*-12-*-*-*-*-*-iso8859-1
set w3t(font_h6) -adobe-times-bold-r-normal-*-10-*-*-*-*-*-iso8859-1
set w3t(font_italic) -adobe-times-medium-i-normal-*-17-*-*-*-*-*-iso8859-1
set w3t(font_text) -*-lucidatypewriter-medium-r-normal-*-14-*-iso8859-1
set w3t(font_title) -adobe-times-bold-r-normal-*-24-*-*-*-*-*-iso8859-1
set w3t(font_menu) -*-helvetica-bold-o-normal-*-14-*-iso8859-1
set w3t(font_menu_bar) -*-helvetica-bold-o-normal-*-14-*-iso8859-1
set w3t(font_link) -*-lucidatypewriter-medium-r-normal-*-14-*-iso8859-1
set w3t(font_pre) -*-lucidatypewriter-medium-r-normal-sans-10-*-iso8859-1
set w3t(font_code) -*-lucidatypewriter-medium-r-normal-sans-12-*-iso8859-1
set w3t(font_source) -*-lucidatypewriter-medium-r-normal-sans-14-*-iso8859-1
set w3t(font_status) -Adobe-Helvetica-Medium-R-Normal--*-120-*
set w3t(font_entry) -misc-fixed-medium-*-normal-*-15-*-*-*-*-*-iso8859-1
#Global font variable
set w3t(active_font) $w3t(font_text)

#Define list icons
set w3t(list_icon1) "*"
set w3t(list_icon2) "-"
set w3t(list_icon3) ""

# _Must_ be the numbers of icons set above!
set w3t(list_icons) 3

#Options to change the cursors
option add "*Scrollbar.Cursor" sb_v_double_arrow
option add "*Button.Cursor" hand2



