home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3064 / Xkal.ad < prev   
Encoding:
Text File  |  1991-03-15  |  23.0 KB  |  586 lines

  1. !
  2. !    Xkal.ad : Graphical appointment calendar resource file
  3. !
  4. !    George Ferguson (ferguson@cs.rochester.edu), 27 Oct 1990.
  5. !    Version 1.1 - 27 Feb 1991.
  6. !
  7. !    $Id: Xkal.ad,v 2.2 91/03/13 13:30:55 ferguson Exp $
  8. !
  9.  
  10. ! This has must be the first line in the "official" app-defaults file.
  11. Xkal.revision:                  $Revision: 2.2 $
  12.  
  13. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  14. !
  15. ! Options (many of which can be set on the command line)
  16. !
  17.  
  18. ! Where to get system (non-editable) appointments (can use #include)
  19. Xkal.systemAppoints:        /u/ferguson/lib/xkal.appoints
  20.  
  21. ! Where to get and save personal appointments (can use #include)
  22. Xkal.personalAppoints:        ~/.appoints
  23.  
  24. ! The suffix to use when backing up personal appoints before saving.
  25. ! If this is empty then no backups are performed.
  26. Xkal.backupExtension:        ~
  27.  
  28. ! How to write out appointments. See the man page for description of
  29. ! the possible escape sequences.
  30. Xkal.outputFormat:        %w%~%d%~%m%~%y%~%t%~%l%~
  31.  
  32. ! If True, then todays appointments are simply listed to stdout. Using
  33. ! xkal with this option does not require an X server connection. This
  34. ! is usually invoked with the "-listOnly" or "-l" command line argument.
  35. ! The exit status is the number of appointments for the day (see also
  36. ! exitUsesLevels below).
  37. Xkal.listOnly:            False
  38.  
  39. ! If True, then like listOnly but only the exit status is set. This
  40. ! also does not require an X server connection and can be set with the
  41. ! "-silent" or "-s" command line argument.
  42. Xkal.silent:            False
  43.  
  44. ! If True, then the exit status for "listOnly" or "silent" modes is the
  45. ! sum of the criticality levels of the appointments, rather than the number
  46. ! of them. This can be set with the "-exitUsesLevels" or "-e" argument.
  47. Xkal.exitUsesLevels:        False
  48.  
  49. ! If True, then the xkal version and patchlevel are printed to stdout
  50. ! and xkal exits. This also not require an X server connection and
  51. ! can be set with the "-version" or "-v" command line argument.
  52. Xkal.version:            False
  53.  
  54. ! If true, then the day's appointments are shown next to the month(s)
  55. ! display. If false, then clicking on a day pops up it's entries.
  56. Xkal.bothShown:            True
  57.  
  58. ! If true, the titlebar of the main window and any popup day windows is
  59. ! changed to reflect the selected day.
  60. Xkal.useTitlebar:        True
  61.  
  62. ! Can be 1, 2, 3, or 12, indicating the number of months to display upon
  63. ! startup.
  64. Xkal.numMonths:            1
  65.  
  66. ! If true, the day number is drawn opaquely in its box in the month display.
  67. ! This may be clearer on mono displays with certain stipple patterns (see
  68. ! "shades" below.
  69. Xkal.opaqueDates:        True
  70.  
  71. ! If true, then the top of each month's columns is labelled with the
  72. ! appropriate day-of-the-week.
  73. Xkal.dowLabels:            False
  74.  
  75. ! The number of minutes between automatic checkpointing (saving) of the
  76. ! appointments.  If this is zero, then no automatic checkpointing is done.
  77. Xkal.checkpointInterval:    5
  78.  
  79. ! The characters that delimit the "criticality level" of an appointment
  80. ! in an appointments file.
  81. Xkal.levelDelim:    @@
  82.  
  83. ! The default level of criticality when an appointment is added.
  84. Xkal.defaultLevel:    1
  85.  
  86. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  87. !
  88. ! These resources allow you customize the names of days-of-the-week and
  89. ! months for other languages. The "dowOffset" resource indicates which
  90. ! day of the week is "leftmost". This would typically be "0" for North
  91. ! America and "1" for Europe (to put Monday at the left). If the
  92. ! "daySlashMonth" resource is true, then dates with a slash are interpreted
  93. ! as day/mon/year rather than the default mon/day/year.
  94. !
  95. Xkal.longDowStrings:    Sunday Monday Tuesday Wednesday Thursday Friday Saturday
  96. Xkal.shortDowStrings:    Sun Mon Tue Wed Thu Fri Sat
  97. Xkal.longMonthStrings:    January February March April May June \
  98.             July August September October November December
  99. Xkal.shortMonthStrings: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
  100. Xkal.dowOffset:        0
  101. Xkal.daySlashMonth:    False
  102.  
  103. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  104. !
  105. ! These resources customize how a day's appointments are presented. Entries
  106. ! are provided starting at "appsStartTime", going by increments of
  107. ! "appsIncrement" to "appsEndTime". These times can be given in 12- or 24-hr
  108. ! notation; the "appsUseAmPm" resource specifies how they should be displayed.
  109. ! Then "numNotes" entries labelled with "notesLabel" are presented.
  110. ! The "noonStr" and "midnightStr" customize labels for the corresponding slots.
  111. ! (You can make them "12:00pm" and "12:00am" if you just want them all to
  112. ! look the same. Be careful that this doesn't throw off the interpretation
  113. ! of existing appointment files.)
  114. !
  115. ! Entries for times outside this range or entries that collide with other
  116. ! entries are moved. The "rearrangeSilently" resource indicates whether or
  117. ! not to indicate the original time in brackets before the appointment's text.
  118. !
  119. Xkal.appsStartTime:    8:00
  120. Xkal.appsEndTime:    17:00
  121. Xkal.appsIncrement:    :30
  122. Xkal.appsUseAmPm:    False
  123. Xkal.numNotes:        2
  124. Xkal.notesLabel:    NOTES
  125. Xkal.noonStr:        Noon
  126. Xkal.midnightStr:    Midnight
  127. Xkal.rearrangeSilently:    False
  128.  
  129. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  130. !
  131. ! The toplevel shell and form
  132. !
  133. Xkal*allowShellResize:        True
  134. Xkal.bothForm.defaultDistance:    2
  135.  
  136. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  137. !
  138. ! The menu buttons across the top of the main window.
  139. ! These are specified using the EzMenu package.
  140. !
  141. Xkal.bothForm.fileButton.label:        File
  142. Xkal.bothForm.fileButton.menuName:    fileMenu
  143. Xkal.bothForm.fileMenu.menu:\
  144.     (item "File") \
  145.     (line) \
  146.     (item "[S] Save" (action "xkal-save()")) \
  147.     (item "[Q] Quit" (action "xkal-quit()")) \
  148.     (item "[X] Exit" (action "xkal-exit()"))
  149.  
  150. Xkal.bothForm.viewButton.label:        View
  151. Xkal.bothForm.viewButton.fromHoriz:    fileButton
  152. Xkal.bothForm.viewButton.menuName:    viewMenu
  153. Xkal.bothForm.viewMenu.menu:\
  154.     (item "View") \
  155.     (line) \
  156.     (item "[N] Next" (action "xkal-next()")) \
  157.     (item "[P] Prev" (action "xkal-prev()")) \
  158.     (item "[T] Today" (action "xkal-today()")) \
  159.     (item "[1] 1 Month" (action "xkal-numMonths(1)")) \
  160.     (item "[2] 2 Months" (action "xkal-numMonths(2)")) \
  161.     (item "[3] 3 Months" (action "xkal-numMonths(3)")) \
  162.     (item "[12] 12 Months" (action "xkal-numMonths(12)"))
  163.  
  164. Xkal.bothForm.otherButton.label:    Other
  165. Xkal.bothForm.otherButton.fromHoriz:    viewButton
  166. Xkal.bothForm.otherButton.menuName:    otherMenu
  167. Xkal.bothForm.otherMenu.menu:\
  168.     (item "Other") \
  169.     (line) \
  170.     (item "[?] Help" (action "xkal-system(xterm -title 'Xkal Help' -e man xkal)")) \
  171.     (item "[E] Edit defaults" (action "xkal-edit-defaults()"))
  172.  
  173. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  174. !
  175. ! These resources control the layout of the (possibly multiple) months
  176. ! and translations for all widgets having to do with months or the days
  177. ! in them.
  178. !
  179. ! Where there are four sets of entries ending in "1", "2", "3", and "12"
  180. ! respectively, then each set applies when that number of months is being
  181. ! displayed. Entries of the form "X_Y" apply to the Y'th month when X
  182. ! months are being displayed.
  183. !
  184.  
  185. ! All 1, 2, 3, or 12 months are put in "allMonthsForm", which goes under
  186. ! the menuButtons.
  187. Xkal.bothForm.allMonthsForm.fromVert:        fileButton
  188. Xkal.bothForm.allMonthsForm*defaultDistance:    0
  189. Xkal.bothForm.allMonthsForm*resizable:        True
  190. Xkal.bothForm.allMonthsForm*internalWidth:    1
  191. Xkal.bothForm.allMonthsForm*internalHeight:    1
  192. Xkal.bothForm.allMonthsForm*translations:#override\n\
  193.     <Key>Q:        xkal-quit() \n\
  194.     <Key>X:        xkal-exit() \n\
  195.     <Key>N:        xkal-next() \n\
  196.     <Key>P:        xkal-prev() \n\
  197.     <Key>T:        xkal-today() \n\
  198.     <Key>S:        xkal-save() \n\
  199.     <Key>?:        xkal-system("xterm -title 'Xkal Help' -e man xkal") \n\
  200.     <Key>E:        xkal-edit-defaults() \n\
  201.     <Key>1:        xkal-numMonths(1) \n\
  202.     <Key>2:        xkal-numMonths(2) \n\
  203.     <Key>3:        xkal-numMonths(3) \n\
  204.     <Key>1,<Key>2:    xkal-numMonths(12) \n
  205.  
  206. ! When only one month is being displayed its the only one, of course.
  207. Xkal.bothForm.allMonthsForm.monthForm1.fromHoriz:    NULL
  208. Xkal.bothForm.allMonthsForm.monthForm1.fromVert:    NULL
  209.  
  210. ! When two months are being displayed we put them vertically.
  211. Xkal.bothForm.allMonthsForm.monthForm2_1.fromHoriz:    NULL
  212. Xkal.bothForm.allMonthsForm.monthForm2_1.fromVert:    NULL
  213. Xkal.bothForm.allMonthsForm.monthForm2_2.fromVert:    monthForm2_1
  214.  
  215. ! When three months are being displayed we put them vertically.
  216. Xkal.bothForm.allMonthsForm.monthForm3_1.fromHoriz:    NULL
  217. Xkal.bothForm.allMonthsForm.monthForm3_1.fromVert:    NULL
  218. Xkal.bothForm.allMonthsForm.monthForm3_2.fromVert:    monthForm3_1
  219. Xkal.bothForm.allMonthsForm.monthForm3_3.fromVert:    monthForm3_2
  220.  
  221. ! When twelve months are being displayed we put them four across and
  222. ! three down.
  223. Xkal.bothForm.allMonthsForm.monthForm12_1.fromHoriz:    NULL
  224. Xkal.bothForm.allMonthsForm.monthForm12_1.fromVert:    NULL
  225. Xkal.bothForm.allMonthsForm.monthForm12_2.fromHoriz:    monthForm12_1
  226. Xkal.bothForm.allMonthsForm.monthForm12_3.fromHoriz:    monthForm12_2
  227. Xkal.bothForm.allMonthsForm.monthForm12_4.fromHoriz:    monthForm12_3
  228.  
  229. Xkal.bothForm.allMonthsForm.monthForm12_5.fromVert:    monthForm12_1
  230. Xkal.bothForm.allMonthsForm.monthForm12_6.fromHoriz:    monthForm12_5
  231. Xkal.bothForm.allMonthsForm.monthForm12_6.fromVert:    monthForm12_2
  232. Xkal.bothForm.allMonthsForm.monthForm12_7.fromHoriz:    monthForm12_6
  233. Xkal.bothForm.allMonthsForm.monthForm12_7.fromVert:    monthForm12_3
  234. Xkal.bothForm.allMonthsForm.monthForm12_8.fromHoriz:    monthForm12_7
  235. Xkal.bothForm.allMonthsForm.monthForm12_8.fromVert:    monthForm12_4
  236.  
  237. Xkal.bothForm.allMonthsForm.monthForm12_9.fromVert:    monthForm12_5
  238. Xkal.bothForm.allMonthsForm.monthForm12_10.fromHoriz:    monthForm12_9
  239. Xkal.bothForm.allMonthsForm.monthForm12_10.fromVert:    monthForm12_6
  240. Xkal.bothForm.allMonthsForm.monthForm12_11.fromHoriz:    monthForm12_10
  241. Xkal.bothForm.allMonthsForm.monthForm12_11.fromVert:    monthForm12_7
  242. Xkal.bothForm.allMonthsForm.monthForm12_12.fromHoriz:    monthForm12_11
  243. Xkal.bothForm.allMonthsForm.monthForm12_12.fromVert:    monthForm12_8
  244.  
  245. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  246. !
  247. ! The month forms that display shaded/colored boxes for each day.
  248. ! These widgets are all children of Xkal.bothForm.allMonthsForm.monthFormX_Y
  249. ! where X is the number of months being displayed and Y is which month this
  250. ! is of those.
  251.  
  252. ! The month labels in the monthForms (ie. the name of the month). The width
  253. ! has to be specified to make it fit nicely. The best I can come up with is:
  254. !    monthLabelX.width = (dateWidthX+internalWidth)*7+borderWidth*12
  255. !
  256. Xkal*monthLabel1.font:        *fixed*bold*
  257. Xkal*monthLabel1.borderWidth:    0
  258. Xkal*monthLabel1.justify:    center
  259. Xkal*monthLabel1.width:        376
  260. Xkal*monthLabel1.resize:    False
  261.  
  262. Xkal*monthLabel2.font:        6x9
  263. Xkal*monthLabel2.borderWidth:    0
  264. Xkal*monthLabel2.justify:    center
  265. Xkal*monthLabel2.width:        201
  266. Xkal*monthLabel2.resize:    False
  267.  
  268. Xkal*monthLabel3.font:        6x9
  269. Xkal*monthLabel3.borderWidth:    0
  270. Xkal*monthLabel3.justify:    center
  271. Xkal*monthLabel3.width:        201
  272. Xkal*monthLabel3.resize:    False
  273.  
  274. Xkal*monthLabel12.font:        5x8
  275. Xkal*monthLabel12.borderWidth:    0
  276. Xkal*monthLabel12.justify:    center
  277. Xkal*monthLabel12.width:    131
  278. Xkal*monthLabel12.resize:    False
  279.  
  280. ! The day-of-week labels (if .dowLabels is True). Again, here's a crack at
  281. ! figuring the width:
  282. !    dowLabelX.width = dateWidthX+internalWidth*2
  283. !
  284. Xkal*dowLabel1.font:        *fixed*bold*
  285. Xkal*dowLabel1.borderWidth:    1
  286. Xkal*dowLabel1.width:        52
  287. Xkal*dowLabel1.resize:        False
  288.  
  289. Xkal*dowLabel2.font:        6x9
  290. Xkal*dowLabel2.borderWidth:    1
  291. Xkal*dowLabel2.width:        27
  292. Xkal*dowLabel2.resize:        False
  293.  
  294. Xkal*dowLabel3.font:        6x9
  295. Xkal*dowLabel3.borderWidth:    1
  296. Xkal*dowLabel3.width:        27
  297. Xkal*dowLabel3.resize:        False
  298.  
  299. Xkal*dowLabel12.font:        5x8
  300. Xkal*dowLabel12.borderWidth:    1
  301. Xkal*dowLabel12.width:        17
  302. Xkal*dowLabel12.resize:        False
  303.  
  304. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  305. !
  306. ! These control the individual days in the monthForms. Their height and
  307. ! width determine, in large part, the size of the application, so adjust
  308. ! accordingly. The "datePosition" is an offset in pixels from the top,
  309. ! left corner. Note that "dateWidthX" and "dateHeightX" are *not* actually
  310. ! resources of the Command widgets they are specifying. Rather, they are
  311. ! applications resources of Xkal. This is because I can't figure out how
  312. ! to do it any other way and still have the thing come out properly sized.
  313. ! It doesn't really matter, since you'd have to specify it somewhere anyway.
  314. !
  315. ! See also the "level of criticality" resources, below.
  316. !
  317.  
  318. Xkal.dateFont1:            *fixed*bold*
  319. Xkal.datePosition1:        +10+10
  320. Xkal.dateWidth1:        50
  321. Xkal.dateHeight1:        50
  322.  
  323. Xkal.dateFont2:            6x9
  324. Xkal.datePosition2:        +0+6
  325. Xkal.dateWidth2:        25
  326. Xkal.dateHeight2:        25
  327.  
  328. Xkal.dateFont3:            6x9
  329. Xkal.datePosition3:        +0+6
  330. Xkal.dateWidth3:        25
  331. Xkal.dateHeight3:        25
  332.  
  333. Xkal.dateFont12:        5x8
  334. Xkal.datePosition12:        +0+6
  335. Xkal.dateWidth12:        15
  336. Xkal.dateHeight12:        15
  337.  
  338. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  339. ! These resources control the graphical representation of the "criticality"
  340. ! level of appointments. For mono displays this is done by shading the
  341. ! calendar "box" with a pattern; for color displays the box is drawn in
  342. ! the appropriate color. At most "maxLevel" levels can be distinguished;
  343. ! levels above this use the last shade or color. If less than "maxLevel"
  344. ! shades or colors are given in the "shades" or "colors" resources, then
  345. ! the last entry given is used for levels for which none is specified.
  346. !
  347. ! For example, if you want *any* day for which there is at least one
  348. ! non-zero-level appointment to be shaded/colored, simply set "maxLevel"
  349. ! to "1" and set "shades" and/or "colors" to the desired color.
  350. !
  351. ! The shade bitmaps are found in the directory specified by the global
  352. ! resource "bitmapFilePath" (/usr/staff/include/X11/bitmaps by default).
  353. !
  354. ! See also "levelDelim" and "defaultLevel" above.
  355. !
  356.  
  357. ! The shade for calendar boxes without dates
  358. Xkal.noDayShade:    cross_weave
  359.  
  360. ! The number of levels of criticality (reflected by shade or color)
  361. Xkal.maxLevel:        7
  362.  
  363. ! For mono displays, the patterns reflecting the number of appointments
  364. Xkal.shades:    gray3 gray3 light_gray light_gray gray gray flipped_gray
  365.  
  366. ! For color displays, the colors reflecting the number of appointments
  367. Xkal.colors:    green green blue blue yellow yellow red
  368.  
  369. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  370. !
  371. ! The dayForm, that displays one day's appointment. See also "appsStartTime",
  372. ! "appsEndTime", "appsIncrement", and the rest, above. This can be a
  373. ! popup window or not, depending on "bothShown".
  374. !
  375.  
  376. ! if it's a popup
  377. Xkal.popupDayShell.title:                Xkal Day Window
  378.  
  379. Xkal.popupDayShell.popupDayForm.defaultDistance:    2
  380.  
  381. Xkal.popupDayShell.popupDayForm.dismissButton.label:    Dismiss
  382. Xkal.popupDayShell.popupDayForm.selectButton.label:    Select
  383. Xkal.popupDayShell.popupDayForm.selectButton.fromHoriz:    dismissButton
  384. Xkal.popupDayShell.popupDayForm.unselectButton.label:    Unselect
  385. Xkal.popupDayShell.popupDayForm.unselectButton.fromHoriz:selectButton
  386.  
  387. Xkal.popupDayShell.popupDayForm.dayForm.fromVert:    dismissButton
  388. Xkal.popupDayShell.popupDayForm.dayForm.borderWidth:    0
  389.  
  390. ! if it's not a popup
  391. Xkal.bothForm.dayForm.fromHoriz:            allMonthsForm
  392. Xkal.bothForm.dayForm.fromVert:                fileButton
  393. Xkal.bothForm.dayForm.defaultDistance:            4
  394.  
  395. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  396. !
  397. ! Each entry in the dayForm (popup or not) is displayed using an "appointLabel"
  398. ! for the time of the entry and an "appointText" for the text of the entry.
  399. ! The date of the day being displayed is set in the "dayLabel" at the top
  400. ! of the form. Note that the dayLabel is not displayed in popup day
  401. ! windows when "useTitlebar" is true (since is redundant then).
  402. !
  403. Xkal*dayForm*dayLabel.justify:            center
  404. Xkal*dayForm*dayLabel.width:            230
  405. Xkal*dayForm*dayLabel.borderWidth:        0
  406. Xkal*dayForm*dayLabel.label:            Xkal 1.1
  407.  
  408. Xkal*dayForm*appointLabel.font:            fixed
  409. Xkal*dayForm*appointLabel.borderWidth:        0
  410. Xkal*dayForm*appointLabel.vertDistance:        2
  411. Xkal*dayForm*appointLabel.translations:#override\n\
  412.         <Btn1Up>(2):        xkal-edit-appoint() \n
  413.  
  414. Xkal*dayForm*appointText*font:            fixed
  415. Xkal*dayForm*appointText.width:            200
  416. Xkal*dayForm*appointText.height:        20
  417. Xkal*dayForm*appointText.vertDistance:        3
  418. Xkal*dayForm*appointText.borderWidth:        0
  419. Xkal*dayForm*appointText.topMargin:        0
  420. Xkal*dayForm*appointText*editType:        edit
  421. Xkal*dayForm*appointText*resize:        True
  422. Xkal*dayForm*appointText*displayCaret:        False
  423. Xkal*dayForm*appointText.scrollHorizontal:    whenNeeded
  424. Xkal*dayForm*appointText*Scrollbar.thickness:    5
  425. ! These translations allow the input focus to switch between entries
  426. ! using Return and Shift-Return. You could also change them to arrow
  427. ! keys or anything else, but I suggest making Return a no-op() then
  428. ! to avoid losing the text in a one-line window.
  429. Xkal*dayForm*appointText.translations:#override\n\
  430.     <Enter>:        xkal-focus-this-item() \n\
  431.     <Leave>:        xkal-focus-no-item() \n\
  432.     <FocusIn>:        display-caret(True) \n\
  433.     <FocusOut>:        display-caret(False) \n\
  434.         None<Key>Return:    xkal-focus-next-item() \n\
  435.         Shift<Key>Return:    xkal-focus-prev-item() \n\
  436.         <Btn1Up>(2):        xkal-edit-appoint() \n
  437.  
  438.  
  439. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  440. !
  441. ! The popup appointment editing panel.
  442. !
  443. Xkal.editShell.title:        Xkal Appointment Editor
  444.  
  445. Xkal.editShell.editForm.applyButton.label:    Apply
  446.  
  447. Xkal.editShell.editForm.revertButton.label:    Revert
  448. Xkal.editShell.editForm.revertButton.fromHoriz:    applyButton
  449.  
  450. Xkal.editShell.editForm.deleteButton.label:    Delete
  451. Xkal.editShell.editForm.deleteButton.fromHoriz:    revertButton
  452.  
  453. Xkal.editShell.editForm.dismissButton.label:    Dismiss
  454. Xkal.editShell.editForm.dismissButton.fromHoriz:deleteButton
  455.  
  456. Xkal.editShell.editForm.Label.borderWidth:    0
  457. Xkal.editShell.editForm*Text*borderWidth:    0
  458. Xkal.editShell.editForm*Text*editType:        edit
  459. Xkal.editShell.editForm*Text*font:        fixed
  460. Xkal.editShell.editForm*Text*width:        200
  461. Xkal.editShell.editForm*Text*displayCaret:    False
  462. Xkal.editShell.editForm*Text.scrollHorizontal:    whenNeeded
  463. Xkal.editShell.editForm*Text*Scrollbar.thickness:5
  464. ! Note that these translations use "xkal-focus-*-edit-item()".
  465. Xkal.editShell.editForm*Text*translations:#override\n\
  466.     <Enter>:        xkal-focus-this-item() \n\
  467.     <Leave>:        xkal-focus-no-item() \n\
  468.     <FocusIn>:        display-caret(True) \n\
  469.     <FocusOut>:        display-caret(False) \n\
  470.         None<Key>Return:    xkal-focus-next-edit-item() \n\
  471.         Shift<Key>Return:    xkal-focus-prev-edit-item() \n
  472.  
  473. Xkal.editShell.editForm.dowLabel.label:        Day-of-week:
  474. Xkal.editShell.editForm.dowLabel.fromVert:    applyButton
  475. Xkal.editShell.editForm.dowText.fromHoriz:    dowLabel
  476. Xkal.editShell.editForm.dowText.fromVert:    applyButton
  477.  
  478. Xkal.editShell.editForm.dayLabel.label:        Day:
  479. Xkal.editShell.editForm.dayLabel.fromVert:    dowLabel
  480. Xkal.editShell.editForm.dayText.fromHoriz:    dayLabel
  481. Xkal.editShell.editForm.dayText.fromVert:    dowLabel
  482.  
  483. Xkal.editShell.editForm.monLabel.label:        Month:
  484. Xkal.editShell.editForm.monLabel.fromVert:    dayLabel
  485. Xkal.editShell.editForm.monText.fromHoriz:    monLabel
  486. Xkal.editShell.editForm.monText.fromVert:    dayLabel
  487.  
  488. Xkal.editShell.editForm.yearLabel.label:    Year:
  489. Xkal.editShell.editForm.yearLabel.fromVert:    monLabel
  490. Xkal.editShell.editForm.yearText.fromHoriz:    yearLabel
  491. Xkal.editShell.editForm.yearText.fromVert:    monLabel
  492.  
  493. Xkal.editShell.editForm.timeLabel.label:    Time:
  494. Xkal.editShell.editForm.timeLabel.fromVert:    yearLabel
  495. Xkal.editShell.editForm.timeText.fromHoriz:    timeLabel
  496. Xkal.editShell.editForm.timeText.fromVert:    yearLabel
  497.  
  498. Xkal.editShell.editForm.textLabel.label:    Text:
  499. Xkal.editShell.editForm.textLabel.fromVert:    timeLabel
  500. Xkal.editShell.editForm.textText.fromHoriz:    textLabel
  501. Xkal.editShell.editForm.textText.fromVert:    timeLabel
  502.  
  503. Xkal.editShell.editForm.levelLabel.label:    Level:
  504. Xkal.editShell.editForm.levelLabel.fromVert:    textLabel
  505. Xkal.editShell.editForm.levelText.fromHoriz:    levelLabel
  506. Xkal.editShell.editForm.levelText.fromVert:    textLabel
  507.  
  508. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  509. !
  510. ! The popup defaults editing panel.
  511. !
  512. Xkal.defaultsShell.title:        Xkal Defaults Editor
  513.  
  514. Xkal.defaultsShell.defaultsForm.applyButton.label:    Apply
  515.  
  516. Xkal.defaultsShell.defaultsForm.revertButton.label:    Revert
  517. Xkal.defaultsShell.defaultsForm.revertButton.fromHoriz:    applyButton
  518.  
  519. Xkal.defaultsShell.defaultsForm.dismissButton.label:    Dismiss
  520. Xkal.defaultsShell.defaultsForm.dismissButton.fromHoriz:revertButton
  521.  
  522. Xkal.defaultsShell.defaultsForm.Label.borderWidth:    0
  523. Xkal.defaultsShell.defaultsForm*Text*borderWidth:    0
  524. Xkal.defaultsShell.defaultsForm*Text*editType:        edit
  525. Xkal.defaultsShell.defaultsForm*Text*font:        fixed
  526. Xkal.defaultsShell.defaultsForm*Text*width:        200
  527. Xkal.defaultsShell.defaultsForm*Text*displayCaret:    False
  528. Xkal.defaultsShell.defaultsForm*Text.scrollHorizontal:    whenNeeded
  529. Xkal.defaultsShell.defaultsForm*Text*Scrollbar.thickness:5
  530. ! Note that these translations use "xkal-focus-*-defaults-item()".
  531. Xkal.defaultsShell.defaultsForm*Text*translations:#override\n\
  532.     <Enter>:        xkal-focus-this-item() \n\
  533.     <Leave>:        xkal-focus-no-item() \n\
  534.     <FocusIn>:        display-caret(True) \n\
  535.     <FocusOut>:        display-caret(False) \n\
  536.     None<Key>Return:    xkal-focus-next-defaults-item() \n\
  537.     Shift<Key>Return:    xkal-focus-prev-defaults-item() \n
  538.  
  539. Xkal.defaultsShell*personalAppointsLabel.label:        personalAppoints:
  540. Xkal.defaultsShell*personalAppointsLabel.fromVert:    applyButton
  541. Xkal.defaultsShell*personalAppointsText.fromHoriz:    personalAppointsLabel
  542. Xkal.defaultsShell*personalAppointsText.fromVert:    applyButton
  543.  
  544. Xkal.defaultsShell*backupExtensionLabel.label:        backupExtension:
  545. Xkal.defaultsShell*backupExtensionLabel.fromVert:    personalAppointsLabel
  546. Xkal.defaultsShell*backupExtensionText.fromHoriz:    backupExtensionLabel
  547. Xkal.defaultsShell*backupExtensionText.fromVert:    personalAppointsLabel
  548.  
  549. Xkal.defaultsShell*dateLabel.label:            date:
  550. Xkal.defaultsShell*dateLabel.fromVert:            backupExtensionLabel
  551. Xkal.defaultsShell*dateText.fromHoriz:            dateLabel
  552. Xkal.defaultsShell*dateText.fromVert:            backupExtensionLabel
  553.  
  554. Xkal.defaultsShell*numMonthsLabel.label:        numMonths:
  555. Xkal.defaultsShell*numMonthsLabel.fromVert:        dateLabel
  556. Xkal.defaultsShell*numMonthsText.fromHoriz:        numMonthsLabel
  557. Xkal.defaultsShell*numMonthsText.fromVert:        dateLabel
  558.  
  559. Xkal.defaultsShell*checkpointIntervalLabel.label:    checkpointInterval:
  560. Xkal.defaultsShell*checkpointIntervalLabel.fromVert:    numMonthsLabel
  561. Xkal.defaultsShell*checkpointIntervalText.fromHoriz:    checkpointIntervalLabel
  562. Xkal.defaultsShell*checkpointIntervalText.fromVert:    numMonthsLabel
  563.  
  564. Xkal.defaultsShell*rearrangeSilentlyLabel.label:    rearrangeSilently:
  565. Xkal.defaultsShell*rearrangeSilentlyLabel.fromVert:    checkpointIntervalLabel
  566. Xkal.defaultsShell*rearrangeSilentlyText.fromHoriz:    rearrangeSilentlyLabel
  567. Xkal.defaultsShell*rearrangeSilentlyText.fromVert:    checkpointIntervalLabel
  568.  
  569. Xkal.defaultsShell*defaultLevelLabel.label:        defaultLevel:
  570. Xkal.defaultsShell*defaultLevelLabel.fromVert:        rearrangeSilentlyLabel
  571. Xkal.defaultsShell*defaultLevelText.fromHoriz:        defaultLevelLabel
  572. Xkal.defaultsShell*defaultLevelText.fromVert:        rearrangeSilentlyLabel
  573.  
  574. Xkal.defaultsShell*levelDelimLabel.label:        levelDelim:
  575. Xkal.defaultsShell*levelDelimLabel.fromVert:        defaultLevelLabel
  576. Xkal.defaultsShell*levelDelimText.fromHoriz:        levelDelimLabel
  577. Xkal.defaultsShell*levelDelimText.fromVert:        defaultLevelLabel
  578.  
  579. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  580. !
  581. ! The popup alert box, if you defined USE_ALERT.
  582. !
  583. Xkal.popup.allowShellResize:        True
  584. Xkal.popup.alert*resizable:        True
  585. Xkal.popup.alert.okButton.label:    OK
  586.