亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? 124.html

?? Tcl 語言的入門級圖書
?? HTML
字號:
<HTML><TITLE>Widget Characteristics: Colors</TITLE><BODY BGCOLOR="#FFF0E0" VLINK="#0FBD0F" TEXT="#101000" LINK="#0F0FDD">
<A NAME="top"><H1>Colors</H1></A>


<P>  Colors are represented as three hexadecimal numbers that determine their
red, green, and blue parts.  Each of these three numbers can be up to four
hexadecimal digits.  You can specify fewer digits if you are consistent and do
it for all three numbers.  When you specify fewer the number is padded with
0s on the right.  A color specification consists of the character "#"
followed by these numbers in the order: red, green, blue.  For example,
<TT>#00ff00</TT> is a specification for pure green.

<P>  Using hexadecimal numbers to identify colors is not much fun.  Figure 12.4a
shows a window displayed by a script designed to help.  Move the sliders in
this window to change the red, green, and blue components of the color
patch on the left.  A color specification for that color appears below.
This script appears below in 
<A HREF="NotHere.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/NotHere.html">Scale</A> where there is an explanation
of how it works.  It is also available on line as Script S15.11a.

<P><CENTER><TABLE BORDER>
<CAPTION><ADDR>Figure 12.4a: Choosing a color interactively.</ADDR></CAPTION>
<TR ALIGN=center><TD><IMG SRC="F12x4a.JPG" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Figs/F12x4a.JPG">
</TD></TR>
</TABLE></CENTER><P>

<P>  Here is a list of color options that can be used with most built-in 
widget types:

<P><CENTER><TABLE BORDER><TR><TD><DL>

<P> <DT><STRONG><PRE><NAME=#S12.4background>-background</A></PRE></STRONG><DD> The widget's background color. This option
is sometimes written <TT><NAME=#S12.4bg>-bg</A>.</TT>

<P>  <DT><STRONG><PRE><NAME=#S12.4foreground>-foreground</A></PRE></STRONG><DD> The widget's foreground color.  (Frame widgets
have no foreground color.)  This option is sometimes written
<TT><NAME=#S12.4fg>-fg</A>.</TT>

<P> <DT><STRONG><PRE><NAME=#S12.4hghlghtclr>-highlightcolor</A></PRE></STRONG><DD> The widget's highlight color is the color
given to a small highlight border around the edge whenever the widget has the
focus.

<P> <DT><STRONG><PRE><NAME=#S12.4hghlghtbckgrnd>-highlightbackground</A></PRE></STRONG><DD> The widget's highlight background color
is the color given to a small highlight border around the edge whenever the
widget does not have the focus.

<P> <DT><STRONG><PRE><NAME=#S12.4hghlghtthcknss>-highlightthickness</A></PRE></STRONG><DD> Not exactly a color option.  Use this
option to control the width of the small highlight border.  A value of 0 means
there will be no visible color change when the widget's focus status changes.
The default value of this option is 0 for widgets whose default configuration
has no use for the focus.  When specifying a nonzero value, you are
specifying a screen distance.

</DL></TD></TR></TABLE></CENTER></P>

<P>  Except for <TT>-highlightthickness</TT>, all these options require
a color specification as a value.  The numeric specification described above
will always work.  Often, you can get away with an ordinary color name such as
white, black, red, green, blue, and so forth.

<P>  There are many other color-related options that are widget specific.  Your
on-line manual and a little experimentation are the best sources of information
about new or unusual widgets.

<P>  <P><A NAME="12.4a">
<STRONG>Exercise 12.4a</STRONG> </A><DL><DD>
  Create and pack a square frame with a white
background. <P>
<A HREF="12.8.html#Sol12.4a" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/12.8.html#Sol12.4a">Solution</A></DL>


<P>  <P><A NAME="12.4b">
<STRONG>Exercise 12.4b</STRONG> </A><DL><DD>
 Finish the following loop to test several possible color
names to see if Tk recognizes them.

<PRE>
foreach C <CITE>LIST_OF_COLOR_NAMES</CITE> { 
   <CITE>...</CITE> 
}
</PRE>

Each color name should create a square frame of that color or a label
whose text is an unusable color name.
<P>
<A HREF="12.8.html#Sol12.4b" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/12.8.html#Sol12.4b">Solution</A></DL>


<P> <P><A NAME="12.4c">
<STRONG>Exercise 12.4c</STRONG> </A><DL><DD>
   Finish implementing this procedure

<PRE>
proc box {Parent Color {Shape ""}} { ... }
</PRE>

so that it creates a rectangle of the given <TT>Color</TT> and with the given
<TT>Parent</TT> widget.  If the <TT>Shape</TT> argument is empty the rectangle should
be a square with one centimeter sides.

<P>   The <TT>Shape</TT> argument can have two nonempty values "h" and "v."
When <TT>Shape</TT> is "h," your rectangle should be 3 centimeters long and 1
centimeter high.  When <TT>Shape</TT> is "v," your rectangle should be 1 centimeter
long and 3 centimeters high.

<P>   The <TT>box</TT> procedure must generate a unique name for the widget
it creates.  Like Tk's built-in widget makers, it should return that
name as it finishes.  Here is an example use of <TT>box</TT>:

<PRE>
% box . red
.red1
% pack .red1
</PRE>
<P>
<A HREF="12.8.html#Sol12.4c" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/12.8.html#Sol12.4c">Solution</A></DL>


<!-- Linkbar -->
<P><CENTER><FONT SIZE=2><NOBR>
<STRONG>From</STRONG>
<A HREF="javascript:if(confirm('http://www.mapfree.com/sbf/tcl/book/home.html  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?'))window.location='http://www.mapfree.com/sbf/tcl/book/home.html'" tppabs="http://www.mapfree.com/sbf/tcl/book/home.html">Tcl/Tk For Programmers</A><WBR>
<STRONG>Previous</STRONG>
<A HREF="12.3.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/12.3.html">section</A><WBR>
<STRONG>Next</STRONG>
<A HREF="12.5.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/12.5.html">section</A><WBR>
<STRONG>All</STRONG>
<A HREF="12.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/12.html">sections</A><WBR>
<STRONG>Author</STRONG>
<A HREF="javascript:if(confirm('http://www.mapfree.com/mp/jaz/home.html  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?'))window.location='http://www.mapfree.com/mp/jaz/home.html'" tppabs="http://www.mapfree.com/mp/jaz/home.html">J. A. Zimmer</A><WBR>
<STRONG>Copyright</STRONG>
<A HREF="copyright.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/copyright.html">Notice</A><WBR>
<P>
<I>Jun 17, 1998</I>
 </NOBR></FONT></CENTER></BODY></HTML>


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
免费成人在线观看| 久久久蜜桃精品| 国产精品欧美极品| 不卡高清视频专区| 国产精品久久久久一区| 国产iv一区二区三区| 精品久久久久久久久久久久包黑料 | 欧美顶级少妇做爰| 夜夜操天天操亚洲| 在线观看日韩电影| 亚洲第一电影网| 欧美成人综合网站| 精品一区二区在线看| 久久综合九色综合久久久精品综合| 美女被吸乳得到大胸91| 国产日韩欧美精品在线| 国产高清在线观看免费不卡| 久久久亚洲高清| 国产激情偷乱视频一区二区三区| 综合电影一区二区三区| 91丨porny丨中文| 一区二区三区丝袜| 欧美日韩一区二区三区不卡| 国内成+人亚洲+欧美+综合在线| 国产亚洲欧美在线| 成人激情小说网站| 亚洲欧美偷拍三级| 欧美一区二区福利在线| 国产麻豆精品一区二区| 中文字幕国产精品一区二区| 精品一区二区在线观看| 伊人开心综合网| 欧洲日韩一区二区三区| 日本91福利区| 欧美一级在线免费| 北条麻妃国产九九精品视频| 一区二区三区精品在线| 在线91免费看| 麻豆一区二区三区| 日本一区二区三区高清不卡| 91麻豆蜜桃一区二区三区| 性做久久久久久| 91精品国产91久久久久久最新毛片 | 日本欧美一区二区| 国产精品国产成人国产三级| 欧美美女激情18p| 国产乱码精品一区二区三| 国产精品视频第一区| 制服丝袜亚洲色图| 成人性生交大片免费看视频在线 | 国产精品一区二区在线观看网站| 国产精品成人网| 7777精品久久久大香线蕉| 天堂一区二区在线| 国产精品美女www爽爽爽| 欧美日韩小视频| 成人免费视频caoporn| 日韩理论片中文av| 欧美国产日韩一二三区| 在线免费精品视频| 国产激情视频一区二区在线观看| 五月天激情小说综合| 欧美韩国一区二区| 日韩午夜激情av| 国产福利一区在线观看| 久久草av在线| 一区二区三区产品免费精品久久75| 精品国产乱码久久久久久久久 | 欧美电影一区二区三区| 成人黄动漫网站免费app| 美洲天堂一区二卡三卡四卡视频 | 成人国产亚洲欧美成人综合网 | 国产欧美一区二区精品婷婷| 欧美本精品男人aⅴ天堂| 色综合天天综合在线视频| 免费人成精品欧美精品| 国产精品美女久久久久久久久 | 亚洲免费在线观看| 国产日产精品1区| 日韩一区二区三区精品视频| 555www色欧美视频| 欧美午夜电影在线播放| 色老综合老女人久久久| 9人人澡人人爽人人精品| 国内欧美视频一区二区| 另类综合日韩欧美亚洲| 日韩av午夜在线观看| 亚洲人精品一区| 成人免费在线视频观看| 中文字幕高清一区| 中文字幕+乱码+中文字幕一区| 精品国产麻豆免费人成网站| 欧美一区二区三区精品| 3atv一区二区三区| 欧美精品日韩精品| 欧美高清视频在线高清观看mv色露露十八 | 免费观看30秒视频久久| 无吗不卡中文字幕| 五月天亚洲婷婷| 欧美96一区二区免费视频| 亚洲一区二区在线免费看| 亚洲制服丝袜av| 亚洲精品乱码久久久久久| 欧美国产激情一区二区三区蜜月 | 亚洲美女淫视频| 有码一区二区三区| 亚洲第一主播视频| 日日夜夜一区二区| 久久精品av麻豆的观看方式| 国产成人午夜精品影院观看视频 | 国产精品嫩草影院av蜜臀| 亚洲天堂av老司机| 日韩国产精品久久久久久亚洲| 国产制服丝袜一区| 色综合天天性综合| 欧美美女一区二区在线观看| 久久久不卡网国产精品二区| 亚洲精品一二三区| 久久电影网站中文字幕 | 亚洲一区二区三区视频在线播放 | 色婷婷久久久久swag精品| 日韩三级视频在线观看| 欧美国产精品v| 日韩精品一卡二卡三卡四卡无卡 | 99re这里只有精品视频首页| 欧美男生操女生| 日本一区二区三区国色天香 | 精品奇米国产一区二区三区| 中文字幕一区二区三区色视频| 天堂av在线一区| 白白色 亚洲乱淫| 精品美女一区二区| 亚洲国产成人91porn| 国产福利一区在线| 日韩一区二区电影网| 亚洲女女做受ⅹxx高潮| 国产一区二区女| 欧美一区二区三区在线观看视频| 亚洲欧美怡红院| 国产精品资源在线| 日韩欧美资源站| 亚洲电影一区二区| 99久久精品费精品国产一区二区| 日韩欧美国产精品一区| 亚洲高清久久久| 99精品欧美一区二区三区综合在线| 亚洲精品在线三区| 日日夜夜精品视频天天综合网| 91浏览器入口在线观看| 国产精品另类一区| 国产精品综合二区| 精品国产不卡一区二区三区| 日韩专区一卡二卡| 欧美日韩在线播| 亚洲精品国久久99热| 91在线一区二区| 中文字幕日本乱码精品影院| 国产高清精品久久久久| 久久夜色精品一区| 激情文学综合网| 精品久久久久久久久久久久久久久 | 欧洲亚洲精品在线| 亚洲视频一区二区免费在线观看| 国产精品影音先锋| 国产亚洲人成网站| 国产成人自拍高清视频在线免费播放| 日韩一区二区三区视频在线观看| 日本成人超碰在线观看| 欧美精品123区| 麻豆国产精品一区二区三区 | 国产成a人无v码亚洲福利| 精品国产91亚洲一区二区三区婷婷| 日韩激情一二三区| 欧美高清精品3d| 日本不卡在线视频| 91精品国产黑色紧身裤美女| 美脚の诱脚舐め脚责91| 欧美一区二区三区啪啪| 激情欧美一区二区| 国产夜色精品一区二区av| 成人丝袜高跟foot| 亚洲欧美偷拍卡通变态| 欧美日韩一区久久| 久久国产三级精品| 国产亚洲欧洲一区高清在线观看| 成人黄色777网| 亚洲私人影院在线观看| 欧美性高清videossexo| 美女一区二区在线观看| 久久久久久久综合狠狠综合| www.66久久| 午夜精品一区在线观看| 欧美电影免费观看完整版| 国产成人亚洲综合a∨婷婷| 亚洲乱码中文字幕| 制服丝袜中文字幕亚洲| 国产91丝袜在线播放0| 一区二区三区在线免费播放| 欧美一区二区三区喷汁尤物| 丁香另类激情小说|