File: Isdnbutton.ad

package info (click to toggle)
isdnbutton 2.6-970413-13
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 200 kB
  • ctags: 125
  • sloc: ansic: 728; sh: 192; makefile: 112
file content (85 lines) | stat: -rw-r--r-- 3,583 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
! This file lists all of the commonly used application defaults for
! "isdnbutton". You do not really have to install this file, because it
! contains the default values. If you want to modify a value, you can
! install a new application defaults file
! (e.g. in /usr/lib/X11/app-default/Isdnbutton) with just this one entry
! or you can pass the new value on the command line (using the "-xrm"
! option). Contrary to other X11 applications, "isdnbutton" can deal with
! partial resource files.

! If you want to modify the icon that is displayed in the window, then
! you have to provide three Xpm files. Set the following resources to the
! _contents_ of these files (you need to add \n at the end of lines and you
! might have to escape some special characters):
! *redIcon:
! *yellowIcon:
! *greenIcon:

! On some systems, running "isdnbutton" results in slight disk activity after
! every few seconds. If this annoys you, either mount your /dev filesystem
! with the no-atime option set (this might require a kernel patch) or
! disable automatic update of the icon.
! *autoUpdate:         True
! *updateInterval:     3000

! Display the current chargehup time. This option is untested, because I do
! not have access to the chargehup patch; please report success, failure or
! send patches :-)
! I have been told, that this function currently does not work and
! patches would be rather complex. Do not expect that I will fix this
! any time soon --- sorry! If you have plenty of spare time, then
! contact me and I will tell you, what has to be done.
! *showChargehup:      False

! Use the X11 shape extension for displaying the icon (if supported by the
! X11 server). This option comes with a slight performance penalty, but
! might result in visually more pleasing results.
! *shape:              False

! Launch all subprocesses as daemons. Set this option, if your dialup scripts
! take a long time (several seconds) to complete.
! *launchAsDaemon:     False

! Set the default background color for the main window. This setting can be
! overridden on the command line. It has no effect, when the shape option is
! used.
! *background:         MidnightBlue

! Set the default foreground color and some other widget parameters for the
! main window.
! *foreground:         lightblue
! *borderWidth:        0
! *defaultDistance:    0

! Translations provide for a very powerful way to configure "isdnbutton"'s
! user interface.
! Enable support for the WM_DELETE_WINDOW protocol and for the X11 shape
! extension (if enabled).
! *isdnbutton.baseTranslations:
!  <Message>WM_PROTOCOLS: quit()\n
!  <Configure>:       setShape(isdnbutton)

! By default, "isdnbutton" will react to button1 and button3; the former
! executes the connect/disconnect scripts, while the latter pops up a
! dynamically computed menu at the current pointer position.
! *form.baseTranslations:
!  <Btn1Down>:         connectSkript()\n
!  <Btn3Down>:         makeMenu(menu)
! 		       XawPositionSimpleMenu(menu)
! 		       XtMenuPopup(menu)

! Some other resources that change the look of the user interface. Do not
! change unless you know what you are doing.
! *icon.baseTranslations:
! *icon.top:           chainTop
! *icon.bottom:        chainBottom
! *icon.right:         chainRight
! *icon.left:          chainLeft
! *chargehup.fromVert: icon
! *chargehup.top:      chainBottom
! *chargehup.font:     *fixed*60*iso8859*
! *menu*initialResourcesPersistent: False
! *menu.label:         ISDN
! *menu*background:    grey75
! *menu*foreground:    black
! *menu*font:          *times*medium*i*140*