Merge branch 'master' of https://git.code.sf.net/p/cdesktopenv/code
[oweals/cde.git] / cde / programs / dtcalc / Dtcalc
1 ! $XConsortium: Dtcalc /main/4 1996/09/04 16:55:07 mustafa $
2 !######################################################################
3 !#
4 !#     Dtcalc
5 !#
6 !#     Common Desktop Environment (CDE)
7 !#
8 !#     Application Defaults for the CDE Desktop Calculator
9 !#
10 !#     (c) Copyright 1993, 1994 Hewlett-Packard Company
11 !#     (c) Copyright 1993, 1994 International Business Machines Corp.
12 !#     (c) Copyright 1993, 1994 Sun Microsystems, Inc.
13 !#     (c) Copyright 1993, 1994 Novell, Inc.
14 !#
15 !######################################################################
16 #include "Dt"
17
18 Dtcalc*enableButtonTab:                 True
19
20 Dtcalc*basePD*menuAccelerator:          <KeyDown>Return
21 Dtcalc*popup*menuAccelerator:           <KeyUp>F4
22 Dtcalc*menu*menuAccelerator:            <KeyUp>F4
23 Dtcalc*blinkRate:                       0
24
25 !#
26 !# The calculator defines the resource XmNcolumns twice:
27 !#   1. For the number of columns in the Display Text area.  This text widget
28 !#      is dynamic and grows or shrinks as text is placed in the Display area.
29 !#      This is the "display" resource.
30 !#   2. For the number of columns in the ASCII converter dialog.  
31 !#      This is the "aframe" resource.
32 !# 
33 !# Since for Multi-byte languages this could be different then 1, this is put
34 !# in the app-defaults file of the calculator.
35 !#
36 Dtcalc*display.columns:         %|nls-5-#1#|
37 Dtcalc*aframe*columns:          %|nls-6-#1#|