! The Resource Database for WebTk.

! Buttons in the toolbars.
! There is one for edit mode and one for browse mode.

*Toolbar.edit.buttonlist: h1 h2 h3 h4 cent bq p | br hr pre | strong em u code | ol ul dl | a img
*Toolbar.edit.h1.text: h1
*Toolbar.edit.h1.command: Input_Tag $win h1
*Toolbar.edit.h2.text: h2
*Toolbar.edit.h2.command: Input_Tag $win h2
*Toolbar.edit.h3.text: h3
*Toolbar.edit.h3.command: Input_Tag $win h3
*Toolbar.edit.h4.text: h4
*Toolbar.edit.h4.command: Input_Tag $win h4
*Toolbar.edit.h5.text: h5
*Toolbar.edit.h5.command: Input_Tag $win h5
*Toolbar.edit.h6.text: h6
*Toolbar.edit.h6.command: Input_Tag $win h6
*Toolbar.edit.br.text: br
*Toolbar.edit.br.command: Input_Tag $win br
*Toolbar.edit.hr.text: hr
*Toolbar.edit.hr.command: Input_Tag $win hr
*Toolbar.edit.p.text: p
*Toolbar.edit.p.command: Input_Tag $win p
*Toolbar.edit.cent.text: cent
*Toolbar.edit.cent.command: Input_Tag $win "div align=center"
*Toolbar.edit.pre.text: pre
*Toolbar.edit.pre.command: Input_Tag $win pre
*Toolbar.edit.bq.text: bq
*Toolbar.edit.bq.command: Input_Tag $win bq
*Toolbar.edit.strong.text: B
*Toolbar.edit.strong.command: Input_Tag $win strong
*Toolbar.edit.em.text: I
*Toolbar.edit.em.command: Input_Tag $win em
*Toolbar.edit.code.text: code
*Toolbar.edit.code.command: Input_Tag $win code
*Toolbar.edit.u.text: U
*Toolbar.edit.u.command: Input_Tag $win u
*Toolbar.edit.ol.text: ol
*Toolbar.edit.ol.command: Input_Tag $win ol
*Toolbar.edit.ul.text: ul
*Toolbar.edit.ul.command: Input_Tag $win ul
*Toolbar.edit.dl.text: dl
*Toolbar.edit.dl.command: Input_Tag $win dl
*Toolbar.edit.a.text: a
*Toolbar.edit.a.command: Url_InsertLink $win
*Toolbar.edit.img.text: img
*Toolbar.edit.img.command: Image_Create $win

*Toolbar.browse.buttonlist: back | reload | stop | openf | openurl
*Toolbar.browse.back.text: Back
*Toolbar.browse.back.command: WinHistoryBack $win
*Toolbar.browse.reload.text: Reload
*Toolbar.browse.reload.command: File_Reload $win
*Toolbar.browse.stop.text: Stop
*Toolbar.browse.stop.command: File_Stop $win
*Toolbar.browse.openf.text: Open File
*Toolbar.browse.openf.command: File_Open $win
*Toolbar.browse.openurl.text: Open Url
*Toolbar.browse.openurl.command: Url_Open $win

! Menus in the main menubar
! menulist is for system-defined menus
! umenulist is for user-added menus
*Menubar.menulist: file edit go pref help html macro
*Menubar.umenulist:

!!!!!!!!!!!!!! FILE MENU !!!!!!!!!!!!!!!!!
*Menubar.file.text: File
*Menubar.file.menu: m
*Menubar.file.m.entrylist: new openf openurl save saveas sep project imagemap frame sep print printsel sep reload refresh savereload sep close quit

*Menubar.file.m.l_new: New...
*Menubar.file.m.c_new: File_New $win
*Menubar.file.m.u_new: 0
*Menubar.file.m.l_openf: Open File
*Menubar.file.m.c_openf: File_Open $win
*Menubar.file.m.u_openf: 0
*Menubar.file.m.l_openurl: Open URL
*Menubar.file.m.c_openurl: Url_Open $win
*Menubar.file.m.u_openurl: 5
*Menubar.file.m.l_save: Save
*Menubar.file.m.c_save: File_Save $win
*Menubar.file.m.u_save: 0
*Menubar.file.m.a_save: <Control-s>
*Menubar.file.m.b_save: TSelect
*Menubar.file.m.l_saveas: Save As...
*Menubar.file.m.c_saveas: File_SaveAs $win
*Menubar.file.m.u_saveas: 1
*Menubar.file.m.t_sep: separator
*Menubar.file.m.l_project: Link Validate/Chart...
*Menubar.file.m.c_project: Project_Setup $win
*Menubar.file.m.u_project: 8
*Menubar.file.m.l_imagemap: Image Map Editor...
*Menubar.file.m.c_imagemap: IME_Init .ime
*Menubar.file.m.u_imagemap: 6
*Menubar.file.m.l_frame: Frame Editor...
*Menubar.file.m.c_frame: Frameset_Edit $win
*Menubar.file.m.u_frame: 0
*Menubar.file.m.l_print: Print File...
*Menubar.file.m.c_print: Print_File $win
*Menubar.file.m.u_print: 0
*Menubar.file.m.l_printsel: Print Selection...
*Menubar.file.m.c_printsel: Print_Selection $win
*Menubar.file.m.u_print: 4
*Menubar.file.m.l_reload: Reload
*Menubar.file.m.c_reload: File_Reload $win
*Menubar.file.m.u_reload: 0
*Menubar.file.m.l_refresh: Refresh
*Menubar.file.m.c_refresh: File_Refresh $win
*Menubar.file.m.u_refresh: 6
*Menubar.file.m.a_refresh: <Control-l>
*Menubar.file.m.b_refresh: TSelect
*Menubar.file.m.l_savereload: Save and Reload
*Menubar.file.m.c_savereload: File_SaveReload $win
*Menubar.file.m.u_savereload: 2
*Menubar.file.m.l_close: Close Window
*Menubar.file.m.c_close: File_Close $win
*Menubar.file.m.u_close: 0
*Menubar.file.m.l_quit: Quit Program
*Menubar.file.m.c_quit: File_Quit $win
*Menubar.file.m.u_quit: 0

!!!!!!!!!!!!!! EDIT MENU !!!!!!!!!!!!!!!!!
*Menubar.edit.text: Edit
*Menubar.edit.m.entrylist: undo sep copy cut paste delete sep find sep cleartag sep pastetext textfile sep image imagedir sep url urldir
*Menubar.edit.m.t_sep: separator
*Menubar.edit.m.l_undo: Undo
*Menubar.edit.m.c_undo: Undo $win
*Menubar.edit.m.u_undo: 0
*Menubar.edit.m.a_undo: <Control-u>
*Menubar.edit.m.b_undo: HText
*Menubar.edit.m.l_copy: Copy Html
*Menubar.edit.m.c_copy: SelCopy $win
*Menubar.edit.m.u_copy: 0
*Menubar.edit.m.a_copy: <Control-c>
*Menubar.edit.m.b_copy: TSelect
*Menubar.edit.m.l_cut: Cut Html
*Menubar.edit.m.c_cut: SelCut $win
*Menubar.edit.m.u_cut: 2
*Menubar.edit.m.a_cut: <Control-x>
*Menubar.edit.m.b_cut: HText
*Menubar.edit.m.l_paste: Paste Html
*Menubar.edit.m.c_paste: SelPaste $win
*Menubar.edit.m.u_paste: 0
*Menubar.edit.m.a_paste: <Control-v>
*Menubar.edit.m.b_paste: HText
*Menubar.edit.m.l_delete: Delete Html
*Menubar.edit.m.c_delete: Edit_Delete $win
*Menubar.edit.m.u_delete: 0
*Menubar.edit.m.a_delete: <Delete>
*Menubar.edit.m.b_delete: HText
*Menubar.edit.m.l_find: Find/Replace...
*Menubar.edit.m.c_find: Search_UI $win
*Menubar.edit.m.u_find: 0
*Menubar.edit.m.l_cleartag: Clear Html Tag
*Menubar.edit.m.c_cleartag: Input_ClearTag $win
*Menubar.edit.m.u_cleartag: 4
*Menubar.edit.m.l_pastetext: Paste Plain Text
*Menubar.edit.m.c_pastetext: Sel_PasteText $win
*Menubar.edit.m.u_pastetext: 3
*Menubar.edit.m.l_textfile: Insert Text File
*Menubar.edit.m.c_textfile: File_InsertPlain $win
*Menubar.edit.m.u_textfile: 0
*Menubar.edit.m.l_image: Image Download
*Menubar.edit.m.c_image: Image_Save $win
*Menubar.edit.m.u_image: 0
*Menubar.edit.m.l_imagedir: Image Download Directory...
*Menubar.edit.m.c_imagedir: Image_SaveDir $win
*Menubar.edit.m.u_imagedir: 1
*Menubar.edit.m.l_url: URL Download
*Menubar.edit.m.c_url: Url_Save $win
*Menubar.edit.m.u_url: 0
*Menubar.edit.m.l_urldir: URL Download Directory...
*Menubar.edit.m.c_urldir: Url_SaveDir $win
*Menubar.edit.m.u_urldir: 1

!!!!!!!!!!!!!! GO MENU !!!!!!!!!!!!!!!!!
*Menubar.go.text: Go
*Menubar.go.m.entrylist: back history
*Menubar.go.m.t_sep: separator
*Menubar.go.m.l_back: Back
*Menubar.go.m.c_back: WinHistoryBack $win
*Menubar.go.m.u_back: 0
*Menubar.go.m.l_history: History List
*Menubar.go.m.c_history: WinHistoryView $win
*Menubar.go.m.u_history: 0

!!!!!!!!!! PREFERENCES MENU !!!!!!!!!!!!
*Menubar.pref.text: Preferences
*Menubar.pref.m.entrylist: proxy cache toolbar font indent anchor ptag status control http
*Menubar.pref.m.l_proxy: Proxy...
*Menubar.pref.m.c_proxy: Http_SetProxy $win
*Menubar.pref.m.u_proxy: 0
*Menubar.pref.m.l_cache: Cache...
*Menubar.pref.m.c_cache: Cache_Preferences $win
*Menubar.pref.m.u_cache: 0
*Menubar.pref.m.l_toolbar: Toolbar...
*Menubar.pref.m.c_toolbar: Toolbar_Edit
*Menubar.pref.m.u_toolbar: 0
*Menubar.pref.m.l_anchor: Colorize Name Anchors
*Menubar.pref.m.t_anchor: check
*Menubar.pref.m.v_anchor: window(colorAnchor)
*Menubar.pref.m.c_anchor: Window_ColorAnchor $win
*Menubar.pref.m.u_anchor: 0
*Menubar.pref.m.l_ptag: Output </p> tags
*Menubar.pref.m.t_ptag: check
*Menubar.pref.m.v_ptag: Output_format(/p)
*Menubar.pref.m.x_ptag: <%s>
*Menubar.pref.m.u_ptag: 0
*Menubar.pref.m.l_status: Log Status
*Menubar.pref.m.t_status: check
*Menubar.pref.m.v_status: WebTkLog
*Menubar.pref.m.u_status: 0
*Menubar.pref.m.t_control: check
*Menubar.pref.m.l_control: Show Controls
*Menubar.pref.m.c_control: WindowControls $main {$tool $status $url}
*Menubar.pref.m.u_control: 0
*Menubar.pref.m.v_control: Controls$main
*Menubar.pref.m.l_http: Show HTTP Queue
*Menubar.pref.m.c_http: HttpTrace
*Menubar.pref.m.u_http: 0

*Menubar.pref.m.l_test: Enable Test Menu
*Menubar.pref.m.t_test: check
*Menubar.pref.m.v_test: teston($win)
*Menubar.pref.m.c_test: test_enable $win
*Menubar.pref.m.u_test: 7

*Menubar.pref.m.l_font: Font Size
*Menubar.pref.m.t_font: cascade
*Menubar.pref.m.m_font: font
*Menubar.pref.m.u_font: 0
*Menubar.pref.m.font.entrylist: small medium large
*Menubar.pref.m.font.l_small: Small
*Menubar.pref.m.font.t_small: radio
*Menubar.pref.m.font.v_small: window(fontsize)
*Menubar.pref.m.font.x_small: 0
*Menubar.pref.m.font.c_small: Window_FontSize $win
*Menubar.pref.m.font.l_medium: Medium
*Menubar.pref.m.font.t_medium: radio
*Menubar.pref.m.font.v_medium: window(fontsize)
*Menubar.pref.m.font.x_medium: 4
*Menubar.pref.m.font.c_medium: Window_FontSize $win
*Menubar.pref.m.font.l_large: Large
*Menubar.pref.m.font.t_large: radio
*Menubar.pref.m.font.v_large: window(fontsize)
*Menubar.pref.m.font.x_large: 8
*Menubar.pref.m.font.c_large: Window_FontSize $win

*Menubar.pref.m.l_indent: Indent Size
*Menubar.pref.m.t_indent: cascade
*Menubar.pref.m.m_indent: indent
*Menubar.pref.m.u_indent: 0
*Menubar.pref.m.indent.entrylist: small medium large
*Menubar.pref.m.indent.l_small: Small
*Menubar.pref.m.indent.t_small: radio
*Menubar.pref.m.indent.v_small: window(indentsize)
*Menubar.pref.m.indent.x_small: 0.6
*Menubar.pref.m.indent.c_small: Window_Indent $win
*Menubar.pref.m.indent.l_medium: Medium
*Menubar.pref.m.indent.t_medium: radio
*Menubar.pref.m.indent.v_medium: window(indentsize)
*Menubar.pref.m.indent.x_medium: 1.2
*Menubar.pref.m.indent.c_medium: Window_Indent $win
*Menubar.pref.m.indent.l_large: Large
*Menubar.pref.m.indent.t_large: radio
*Menubar.pref.m.indent.v_large: window(indentsize)
*Menubar.pref.m.indent.x_large: 2.4
*Menubar.pref.m.indent.c_size: Window_Indent $win

!!!!!!!!!!!!!! HELP MENU !!!!!!!!!!!!!!!!!

*Menubar.help.text: Help
*Menubar.help.side: left
*Menubar.help.m.entrylist: about help reg bug

*Menubar.help.m.l_about: About WebTk...
*Menubar.help.m.c_about: About $win
*Menubar.help.m.u_about: 0
*Menubar.help.m.l_help: WebTk Help
*Menubar.help.m.c_help: Help_Display
*Menubar.help.m.u_help: 0
*Menubar.help.m.l_reg: Register...
*Menubar.help.m.c_reg: Register $win
*Menubar.help.m.u_reg: 2
*Menubar.help.m.l_bug: Bug Report...
*Menubar.help.m.c_bug: Register_Bug $win
*Menubar.help.m.u_bug: 0

!!!!!!!!!!!!!! HTML MENU !!!!!!!!!!!!!!!!!
*Menubar.html.text: Html
*Menubar.html.side: right
*Menubar.html.m.entrylist: br hr sep adda edita sep addimg imagemap sep embed applet sep title head body
*Menubar.html.m.t_sep: separator

*Menubar.html.m.l_br: <br> Line Break
*Menubar.html.m.c_br: Input_Tag $win br
*Menubar.html.m.u_br: 1
*Menubar.html.m.a_br: <Shift-Return>
*Menubar.html.m.b_br: HText
*Menubar.html.m.l_hr: <hr> Horizontal Rule
*Menubar.html.m.c_hr: Input_Tag $win hr
*Menubar.html.m.u_hr: 1
*Menubar.html.m.l_adda: <a> Add Link...
*Menubar.html.m.c_adda: Url_InsertLink $win
*Menubar.html.m.u_adda: 1
*Menubar.html.m.l_edita: Edit Link...
*Menubar.html.m.c_edita: Url_EditLink $win
*Menubar.html.m.u_edita: 0
*Menubar.html.m.l_addimg: <img> Add Image...
*Menubar.html.m.c_addimg: Image_Create $win
*Menubar.html.m.u_addimg: 0
*Menubar.html.m.l_addimg: <img> Add Image...
*Menubar.html.m.c_addimg: Image_Create $win
*Menubar.html.m.u_addimg: 1
*Menubar.html.m.l_embed: <embed> Add Embed...
*Menubar.html.m.c_embed: Embed_Create $win
*Menubar.html.m.u_embed: 1
*Menubar.html.m.l_applet: <applet> Add Applet...
*Menubar.html.m.c_applet: Applet_Create $win
*Menubar.html.m.u_applet: 1
*Menubar.html.m.l_title: <title> Page Title...
*Menubar.html.m.c_title: Head_Display $win
*Menubar.html.m.u_title: 1
*Menubar.html.m.l_head: <head> Edit Header...
*Menubar.html.m.c_head: Head_Display $win
*Menubar.html.m.u_head: 1
*Menubar.html.m.l_body: <body> Body Parameters...
*Menubar.html.m.c_body: Head_BodyEdit $win
*Menubar.html.m.u_body: 1

!!!!!!!!!!!!!! MACRO MENU !!!!!!!!!!!!!!!!!
*Menubar.macro.text: Macro
*Menubar.macro.side: right
*Menubar.macro.m.entrylist: edit sep
*Menubar.macro.m.t_sep: separator

*Menubar.macro.m.l_edit: Edit/Create Macro...
*Menubar.macro.m.c_edit: Macro_Edit
*Menubar.macro.m.u_edit: 0

!!!!!!!!!!!!! FRAMESET EDITOR !!!!!!!!!!!!!

*Frameset.menulist: file
*Frameset.file.text: File
*Frameset.file.m.entrylist: save sep close
*Frameset.file.m.l_save: Save Frameset
*Frameset.file.m.c_save: Frameset_Save $win
*Frameset.file.m.t_sep: separator
*Frameset.file.m.l_close: Close Window
*Frameset.file.m.c_close: Frameset_Close .fse

