[go: up one dir, main page]

File: frame.html

package info (click to toggle)
tile 0.8.2-2.1
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 3,152 kB
  • ctags: 3,093
  • sloc: ansic: 18,144; tcl: 4,607; makefile: 398; sh: 71
file content (76 lines) | stat: -rw-r--r-- 4,991 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<html>
<head>
<link rel="stylesheet" href="manpage.css"><title>Tile package reference: frame</title><meta name="xsl-processor" content="Jochen Loewer (loewerj@hotmail.com), Rolf Ade (rolf@pointsman.de) et. al."><meta name="generator" content="$RCSfile: tmml-html.xsl,v $ $Revision: 1.12 $">
</head><body>
<div class="header">
<div class="navbar" align="center">
<a href="#SECTid8206658">NAME</a>  <a href="#SECTid82066d0">SYNOPSIS</a>  <a href="#SECTid8206798">DESCRIPTION</a>  <a href="#SECTid8206838">STANDARD OPTIONS</a>  <a href="#SECTid8206950">OPTIONS</a>  <a href="#SECTid8206ec8">WIDGET COMMAND</a>  <a href="#SECTid8207008">NOTES</a>  <a href="#SECTid82071c0">SEE ALSO</a>  <a href="#SECTid8207238">KEYWORDS</a>
</div><hr class="navsep">
</div><div class="body">



<h2><a name="SECTid8206658">NAME</a></h2><p class="namesection">
<b class="names">ttk::frame - </b><br>Simple container widget</p>
<h2><a name="SECTid82066d0">SYNOPSIS</a></h2><pre class="syntax">
<b>ttk::frame</b> <i class="m">pathName</i> ?<i class="m">options</i>?
</pre>
<h2><a name="SECTid8206798">DESCRIPTION</a></h2><p>A <b>frame</b> widget is a container, used to group other widgets together.
</p>
<h2><a name="SECTid8206838">STANDARD OPTIONS</a></h2><div class="menu"><table class="menu" width="100%"><tr>
<td width="25%"><a href="widget.html#stdopt_-class">-class</a></td><td width="25%"><a href="widget.html#stdopt_-cursor">-cursor</a></td><td width="25%"><a href="widget.html#stdopt_-style">-style</a></td><td width="25%"><a href="widget.html#stdopt_-takefocus">-takefocus</a></td>
</tr></table></div>
<h2><a name="SECTid8206950">OPTIONS</a></h2><div class="table"><table width="100%" rules="none" cellpadding="5%">
<thead><tr class="heading">
<th width="20%">Name</th><th width="40%">Database name</th><th width="40%">Database class</th>
</tr></thead><tr class="syntax">
<td width="20%" align="left"><a name="option_-borderwidth">-borderwidth</a></td><td width="40%" align="left">borderWidth</td><td width="40%" align="left">BorderWidth</td>
</tr><tr class="desc">
<td class="padding" width="20%"></td><td class="argdesc" width="80%" align="left" colspan="2">The desired width of the widget border.  Defaults to 0. 
</td>
</tr><tr class="syntax">
<td width="20%" align="left"><a name="option_-relief">-relief</a></td><td width="40%" align="left">relief</td><td width="40%" align="left">Relief</td>
</tr><tr class="desc">
<td class="padding" width="20%"></td><td class="argdesc" width="80%" align="left" colspan="2">One of the standard Tk border styles: 
<b>flat</b>, <b>groove</b>, <b>raised</b>, <b>ridge</b>,
<b>solid</b>, or <b>sunken</b>.
Defaults to <b>flat</b>.
</td>
</tr><tr class="syntax">
<td width="20%" align="left"><a name="option_-padding">-padding</a></td><td width="40%" align="left">padding</td><td width="40%" align="left">Padding</td>
</tr><tr class="desc">
<td class="padding" width="20%"></td><td class="argdesc" width="80%" align="left" colspan="2">Additional padding to include inside the border.
</td>
</tr><tr class="syntax">
<td width="20%" align="left"><a name="option_-width">-width</a></td><td width="40%" align="left">width</td><td width="40%" align="left">Width</td>
</tr><tr class="desc">
<td class="padding" width="20%"></td><td class="argdesc" width="80%" align="left" colspan="2">If specified, the widget's requested width in pixels.
</td>
</tr><tr class="syntax">
<td width="20%" align="left"><a name="option_-height">-height</a></td><td width="40%" align="left">height</td><td width="40%" align="left">Height</td>
</tr><tr class="desc">
<td class="padding" width="20%"></td><td class="argdesc" width="80%" align="left" colspan="2">If specified, the widget's requested height in pixels.
</td>
</tr>
</table></div>
<h2><a name="SECTid8206ec8">WIDGET COMMAND</a></h2><p>Supports the standard widget commands
<b>configure</b>, <b>cget</b>, <b>instate</b>, and <b>state</b>;
see <i>widget(n)</i>.
</p>
<h2><a name="SECTid8207008">NOTES</a></h2><p>Note that if the <b class="cmd">pack</b>, <b class="cmd">grid</b>, or other geometry managers
are used to manage the children of the <b>frame</b>,
by the GM's requested size will normally take precedence
over the <b>frame</b> widget's <b>-width</b> and <b>-height</b> options.
[<b>pack propagate</b>] and [<b>grid propagate</b>] can be used
to change this.
</p>
<h2><a name="SECTid82071c0">SEE ALSO</a></h2><p class="seealso">widget(n), <a href="labelframe.html">labelframe(n)</a>
</p>
<h2><a name="SECTid8207238">KEYWORDS</a></h2><p class="keywords">
<a class="keyword" href="keyword-index.html#KW-widget">widget</a>, <a class="keyword" href="keyword-index.html#KW-frame">frame</a>, <a class="keyword" href="keyword-index.html#KW-container">container</a>
</p>
</div><hr class="navsep"><div class="navbar" align="center">
<a class="navaid" href="index.html">Contents</a>  <a class="navaid" href="category-index.html">Index</a>  <a class="navaid" href="keyword-index.html">Keywords</a>
</div>
</body>
</html>