diff options
author | mertz | 2003-07-09 07:27:53 +0000 |
---|---|---|
committer | mertz | 2003-07-09 07:27:53 +0000 |
commit | 15026658e8277412342ab35cb3f8fbfffe1ae452 (patch) | |
tree | fe9667821d51748ce6eb9450400af50b7b953611 /doc | |
parent | 7ac8976b4cddf6ca773ab40ed4108417acc2f18a (diff) | |
download | tkzinc-15026658e8277412342ab35cb3f8fbfffe1ae452.zip tkzinc-15026658e8277412342ab35cb3f8fbfffe1ae452.tar.gz tkzinc-15026658e8277412342ab35cb3f8fbfffe1ae452.tar.bz2 tkzinc-15026658e8277412342ab35cb3f8fbfffe1ae452.tar.xz |
- focus method may have an itemPart argument
- -color option of an icon containing an image can be used to set the alpha
Diffstat (limited to 'doc')
-rw-r--r-- | doc/refman.tex | 9 |
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 |