65 |
:type 'number |
:type 'number |
66 |
:group 'tooltip) |
:group 'tooltip) |
67 |
|
|
68 |
(defcustom tooltip-x-offset nil |
(defcustom tooltip-x-offset 5 |
69 |
"X offset, in pixels, for the display of tooltips. |
"X offset, in pixels, for the display of tooltips. |
70 |
The offset is relative to the position of the mouse. It must |
The offset is relative to the position of the mouse. It must |
71 |
be chosen so that the tooltip window doesn't contain the mouse |
be chosen so that the tooltip window doesn't contain the mouse |
72 |
when it pops up. If the value is nil, the default offset is 5 |
when it pops up. |
|
pixels. |
|
73 |
|
|
74 |
If `tooltip-frame-parameters' includes the `left' parameter, |
If `tooltip-frame-parameters' includes the `left' parameter, |
75 |
the value of `tooltip-x-offset' is ignored." |
the value of `tooltip-x-offset' is ignored." |
76 |
:tag "X offset" |
:tag "X offset" |
77 |
:type '(choice (const :tag "Default" nil) |
:type 'integer |
|
(integer :tag "Offset" :value 1)) |
|
78 |
:group 'tooltip) |
:group 'tooltip) |
79 |
|
|
80 |
(defcustom tooltip-y-offset nil |
(defcustom tooltip-y-offset +40 |
81 |
"Y offset, in pixels, for the display of tooltips. |
"Y offset, in pixels, for the display of tooltips. |
82 |
The offset is relative to the position of the mouse. It must |
The offset is relative to the position of the mouse. It must |
83 |
be chosen so that the tooltip window doesn't contain the mouse |
be chosen so that the tooltip window doesn't contain the mouse |
84 |
when it pops up. If the value is nil, the default offset is -10 |
when it pops up. |
|
pixels. |
|
85 |
|
|
86 |
If `tooltip-frame-parameters' includes the `top' parameter, |
If `tooltip-frame-parameters' includes the `top' parameter, |
87 |
the value of `tooltip-y-offset' is ignored." |
the value of `tooltip-y-offset' is ignored." |
88 |
:tag "Y offset" |
:tag "Y offset" |
89 |
:type '(choice (const :tag "Default" nil) |
:type 'integer |
|
(integer :tag "Offset" :value 1)) |
|
90 |
:group 'tooltip) |
:group 'tooltip) |
91 |
|
|
92 |
(defcustom tooltip-frame-parameters |
(defcustom tooltip-frame-parameters |
93 |
'((name . "tooltip") |
'((name . "tooltip") |
94 |
(internal-border-width . 5) |
(internal-border-width . 2) |
95 |
(border-width . 1)) |
(border-width . 1)) |
96 |
"Frame parameters used for tooltips. |
"Frame parameters used for tooltips. |
97 |
|
|