aboutsummaryrefslogtreecommitdiff
path: root/doc/refman.tex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/refman.tex')
-rw-r--r--doc/refman.tex9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/refman.tex b/doc/refman.tex
index 6602c1f..6c14e42 100644
--- a/doc/refman.tex
+++ b/doc/refman.tex
@@ -2083,10 +2083,11 @@ false.
\zinccmd{focus}{?tagOrId?}
{\tt\large (\$item, \$part) = \$zinc->{\bf focus}();}\\
-{\tt\large \$zinc->{\bf focus}(tagOrId);}
+{\tt\large \$zinc->{\bf focus}(tagOrId, ?itemPart?);}
\begin{blockindent}
- Set the keyboard focus to the item described by {\tt tagOrId}. If {\tt tagOrId} describes
+ Set the keyboard focus to the item described by {\tt tagOrId}, and to
+ its {\tt itemPart} if the item has parts. If {\tt tagOrId} describes
more than one item, the first item in display list order that accept the focus is
used. If no such item exists, the command has no effect. If {\tt tagOrId} is an empty
string the focus is reset and no item has the focus. If {\tt tagOrId} is not specified,
@@ -3216,7 +3217,9 @@ Applicable attributes for \ident{icon} are:
value is {\tt nw}.}
\attribute{icon}{color}{gradient}{Specifies the uniform (possibly transparent) fill color
-used for drawing the bitmap. The first color of a real gradient color will be used.
+used for drawing the bitmap. The first color of a real gradient color will be used. If
+The icon contains an image, only the transparency of the color is used and
+defines the alpha transparency of the image when \optref{render} is set to true.
The default value is the current value of the widget option \optref{forecolor}.}
\attribute{icon}{composealpha}{boolean}{Specifies if the alpha value inherited from