From 15026658e8277412342ab35cb3f8fbfffe1ae452 Mon Sep 17 00:00:00 2001
From: mertz
Date: Wed, 9 Jul 2003 07:27:53 +0000
Subject: - focus method may have an itemPart argument - -color option of an
 icon containing an image can be used to set the alpha

---
 doc/refman.tex | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'doc/refman.tex')

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
-- 
cgit v1.1

