source: project/release/4/tk/doc/html/Commands/winfo/tkwinfo_name.htm @ 15195

Last change on this file since 15195 was 15195, checked in by felix winkelmann, 11 years ago

imported tk for chicken 4

File size: 16.9 KB
Line 
1<?xml version="1.0"?>
2<html>
3<head>
4
5    <link rel="last" href="tkwinfo_y.htm" title="tk/winfo y" />
6    <link rel="first" href="tkwinfo_atom.htm" title="tk/winfo atom" />
7    <link rel="section" href="../bitmap.htm" title="bitmap" />
8    <link rel="section" href="../evalwish.htm" title="eval-wish" />
9    <link rel="section" href="../gettkvar.htm" title="get-tk-var" />
10    <link rel="section" href="../photo.htm" title="photo" />
11    <link rel="section" href="../settkvar.htm" title="set-tk-var!" />
12    <link rel="section" href="../tk.htm" title="tk" />
13    <link rel="section" href="../tkidwidget.htm" title="tk-id-&gt;widget" />
14    <link rel="section" href="../tkvar.htm" title="tk-var" />
15    <link rel="section" href="../tkafter.htm" title="tk/after" />
16    <link rel="section" href="../tkappname.htm" title="tk/appname" />
17    <link rel="section" href="../tkbind.htm" title="tk/bind" />
18    <link rel="section" href="../tkbindtags.htm" title="tk/bindtags" />
19    <link rel="section" href="../tkcaret.htm" title="tk/caret" />
20    <link rel="section" href="../tkchoosecolor.htm" title="tk/choosecolor" />
21    <link rel="section" href="../tkchoosedirectory.htm" title="tk/choosedirectory" />
22    <link rel="section" href="../tkclipboard.htm" title="tk/clipboard" />
23    <link rel="section" href="../tkconsole.htm" title="tk/console" />
24    <link rel="section" href="../tkdestroy.htm" title="tk/destroy" />
25    <link rel="section" href="../tkdialog.htm" title="tk/dialog" />
26    <link rel="section" href="../tkevent.htm" title="tk/event" />
27    <link rel="section" href="../tkfocus.htm" title="tk/focus" />
28    <link rel="section" href="../tkgetopenfile.htm" title="tk/getopenfile" />
29    <link rel="section" href="../tkgetsavefile.htm" title="tk/getsavefile" />
30    <link rel="section" href="../tkgrab.htm" title="tk/grab" />
31    <link rel="section" href="../tkgrid.htm" title="tk/grid" />
32    <link rel="section" href="../tkimage.htm" title="tk/image" />
33    <link rel="section" href="../tklower.htm" title="tk/lower" />
34    <link rel="section" href="../tkmessagebox.htm" title="tk/messagebox" />
35    <link rel="section" href="../tkoption.htm" title="tk/option" />
36    <link rel="section" href="../tkpack.htm" title="tk/pack" />
37    <link rel="section" href="../tkplace.htm" title="tk/place" />
38    <link rel="section" href="../tkpopup.htm" title="tk/popup" />
39    <link rel="section" href="../tkraise.htm" title="tk/raise" />
40    <link rel="section" href="../tkscaling.htm" title="tk/scaling" />
41    <link rel="section" href="../tkupdate.htm" title="tk/update" />
42    <link rel="section" href="../tkuseinputmethods.htm" title="tk/useinputmethods" />
43    <link rel="section" href="../tkwait.htm" title="tk/wait" />
44    <link rel="section" href="../tkwindowingsystem.htm" title="tk/windowingsystem" />
45    <link rel="section" href="../tkwinfo.htm" title="tk/winfo" />
46    <link rel="section" href="../tkwm.htm" title="tk/wm" />
47    <link rel="up" href="../tkwinfo.htm" title="tk/winfo" />
48    <link rel="prev" href="tkwinfo_manager.htm" title="tk/winfo manager" />
49    <link rel="contents" href="../../Meta/Sitemap.htm" title="Sitemap" />
50    <link rel="start" href="../../../index.htm" title="Chicken/Tk" />
51    <link rel="author" href="../../Meta/Author.htm" title="Author" />
52    <link rel="subsection" href="tkwinfo_atom.htm" title="tk/winfo atom" />
53    <link rel="subsection" href="tkwinfo_atomname.htm" title="tk/winfo atomname" />
54    <link rel="subsection" href="tkwinfo_cells.htm" title="tk/winfo cells" />
55    <link rel="subsection" href="tkwinfo_children.htm" title="tk/winfo children" />
56    <link rel="subsection" href="tkwinfo_class.htm" title="tk/winfo class" />
57    <link rel="subsection" href="tkwinfo_colormapfull.htm" title="tk/winfo colormapfull" />
58    <link rel="subsection" href="tkwinfo_containing.htm" title="tk/winfo containing" />
59    <link rel="subsection" href="tkwinfo_depth.htm" title="tk/winfo depth" />
60    <link rel="subsection" href="tkwinfo_exists.htm" title="tk/winfo exists" />
61    <link rel="subsection" href="tkwinfo_fpixels.htm" title="tk/winfo fpixels" />
62    <link rel="subsection" href="tkwinfo_geometry.htm" title="tk/winfo geometry" />
63    <link rel="subsection" href="tkwinfo_height.htm" title="tk/winfo height" />
64    <link rel="subsection" href="tkwinfo_id.htm" title="tk/winfo id" />
65    <link rel="subsection" href="tkwinfo_interps.htm" title="tk/winfo interps" />
66    <link rel="subsection" href="tkwinfo_ismapped.htm" title="tk/winfo ismapped" />
67    <link rel="subsection" href="tkwinfo_manager.htm" title="tk/winfo manager" />
68    <link rel="subsection" href="tkwinfo_name.htm" title="tk/winfo name" />
69    <link rel="subsection" href="tkwinfo_parent.htm" title="tk/winfo parent" />
70    <link rel="subsection" href="tkwinfo_pathname.htm" title="tk/winfo pathname" />
71    <link rel="subsection" href="tkwinfo_pixels.htm" title="tk/winfo pixels" />
72    <link rel="subsection" href="tkwinfo_pointerx.htm" title="tk/winfo pointerx" />
73    <link rel="subsection" href="tkwinfo_pointerxy.htm" title="tk/winfo pointerxy" />
74    <link rel="subsection" href="tkwinfo_pointery.htm" title="tk/winfo pointery" />
75    <link rel="subsection" href="tkwinfo_reqheight.htm" title="tk/winfo reqheight" />
76    <link rel="subsection" href="tkwinfo_reqwidth.htm" title="tk/winfo reqwidth" />
77    <link rel="subsection" href="tkwinfo_rgb.htm" title="tk/winfo rgb" />
78    <link rel="subsection" href="tkwinfo_rootx.htm" title="tk/winfo rootx" />
79    <link rel="subsection" href="tkwinfo_rooty.htm" title="tk/winfo rooty" />
80    <link rel="subsection" href="tkwinfo_screen.htm" title="tk/winfo screen" />
81    <link rel="subsection" href="tkwinfo_screencells.htm" title="tk/winfo screencells" />
82    <link rel="subsection" href="tkwinfo_screendepth.htm" title="tk/winfo screendepth" />
83    <link rel="subsection" href="tkwinfo_screenheight.htm" title="tk/winfo screenheight" />
84    <link rel="subsection" href="tkwinfo_screenmmheight.htm" title="tk/winfo screenmmheight" />
85    <link rel="subsection" href="tkwinfo_screenmmwidth.htm" title="tk/winfo screenmmwidth" />
86    <link rel="subsection" href="tkwinfo_screenvisual.htm" title="tk/winfo screenvisual" />
87    <link rel="subsection" href="tkwinfo_screenwidth.htm" title="tk/winfo screenwidth" />
88    <link rel="subsection" href="tkwinfo_server.htm" title="tk/winfo server" />
89    <link rel="subsection" href="tkwinfo_toplevel.htm" title="tk/winfo toplevel" />
90    <link rel="subsection" href="tkwinfo_viewable.htm" title="tk/winfo viewable" />
91    <link rel="subsection" href="tkwinfo_visual.htm" title="tk/winfo visual" />
92    <link rel="subsection" href="tkwinfo_visualid.htm" title="tk/winfo visualid" />
93    <link rel="subsection" href="tkwinfo_visualsavailable.htm" title="tk/winfo visualsavailable" />
94    <link rel="subsection" href="tkwinfo_vrootheight.htm" title="tk/winfo vrootheight" />
95    <link rel="subsection" href="tkwinfo_vrootwidth.htm" title="tk/winfo vrootwidth" />
96    <link rel="subsection" href="tkwinfo_vrootx.htm" title="tk/winfo vrootx" />
97    <link rel="subsection" href="tkwinfo_vrooty.htm" title="tk/winfo vrooty" />
98    <link rel="subsection" href="tkwinfo_width.htm" title="tk/winfo width" />
99    <link rel="subsection" href="tkwinfo_x.htm" title="tk/winfo x" />
100    <link rel="subsection" href="tkwinfo_y.htm" title="tk/winfo y" />
101    <link rel="chapter" href="../../Preface.htm" title="Preface" />
102    <link rel="chapter" href="../../Introduction.htm" title="Introduction" />
103    <link rel="chapter" href="../../Tutorial.htm" title="Tutorial" />
104    <link rel="chapter" href="../../Implementation.htm" title="Implementation" />
105    <link rel="chapter" href="../../Commands.htm" title="Commands" />
106    <link rel="chapter" href="../../Options.htm" title="Options" />
107    <link rel="chapter" href="../../Extensions.htm" title="Extensions" />
108    <link rel="chapter" href="../../List_of_Changes.htm" title="List of Changes" />
109    <link rel="next" href="tkwinfo_parent.htm" title="tk/winfo parent" /> 
110<title>
111tk/winfo name</title>
112 
113<link rel="stylesheet" href="../../res/css/examples/navigationtree/BlueGray/layout.css" />
114 
115<link rel="stylesheet" href="../../res/css/examples/navigationtree/BlueGray/color.css" />
116
117<style type="text/css">
118dt {
119        color: #000080;
120        font-family: monospace;
121       
122}
123</style>
124</head>
125 
126<body style="padding: 0; margin: 0"><table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
127<tr>
128<td colspan="2" class="navicolumn">&#160;</td>
129 
130<td></td>
131 
132<td></td>
133 
134<td></td>
135</tr>
136 
137<tr>
138<td rowspan="2" class="navicolumn"><img src="../../res/css/examples/navigationtree/BlueGray/bg_00.gif" height="1" width="20" /></td>
139 
140<td rowspan="2" align="right" class="navicolumn"><img src="../../res/css/examples/navigationtree/BlueGray/Titelhintergrund_l.gif" /></td>
141 
142<td rowspan="2" id="title" width="60%" nowrap="nowrap">
143<h1>tk/winfo name</h1>
144</td>
145 
146<td style="vertical-align: top; background-image: url(../../res/css/examples/navigationtree/BlueGray/SchattenOst.gif); background-repeat: repeat-y; "><img src="../../res/css/examples/navigationtree/BlueGray/SchattenNordOst.gif" width="7" height="7" /></td>
147 
148<td><img src="../../res/css/examples/navigationtree/BlueGray/bg_02_05.gif" width="41" height="7" /></td>
149</tr>
150 
151<tr>
152<td style="background-image: url(../../res/css/examples/navigationtree/BlueGray/SchattenOst.gif)"><img src="../../res/css/examples/navigationtree/BlueGray/SchattenOst.gif" /></td>
153 
154<td></td>
155</tr>
156 
157<tr>
158<td class="navicolumn"><img src="../../res/css/examples/navigationtree/BlueGray/bg_00.gif" /></td>
159 
160<td class="navicolumn" align="right"><img src="../../res/css/examples/navigationtree/BlueGray/SchattenNavi.gif" width="136" height="8" /></td>
161 
162<td style="background-image: url(../../res/css/examples/navigationtree/BlueGray/SchattenSued.gif); background-repeat: repeat-x"><img src="../../res/css/examples/navigationtree/BlueGray/SchattenSued.gif" width="100%" height="8" /></td>
163 
164<td><img src="../../res/css/examples/navigationtree/BlueGray/SchattenSuedOst.gif" width="7" height="8" /></td>
165 
166<td width="80%"><img src="../../res/css/examples/navigationtree/BlueGray/bg_04_05.gif" width="41" height="8" /></td>
167</tr>
168 
169<tr>
170<td class="navicolumn">&#160;</td>
171 
172<td height="100%" nowrap="nowrap" class="navicolumn" id="navi">
173
174<ul>
175<li><a href="../../Preface.htm" target="_top">Preface</a></li>
176<li><a href="../../Introduction.htm" target="_top">Introduction</a></li>
177<li><a href="../../Tutorial.htm" target="_top">Tutorial</a></li>
178<li><a href="../../Implementation.htm" target="_top">Implementation</a></li>
179<li><a href="../../Commands.htm" target="_top">Commands</a>
180<ul>
181<li><a href="../bitmap.htm" target="_top">bitmap</a></li>
182<li><a href="../evalwish.htm" target="_top">eval-wish</a></li>
183<li><a href="../gettkvar.htm" target="_top">get-tk-var</a></li>
184<li><a href="../photo.htm" target="_top">photo</a></li>
185<li><a href="../settkvar.htm" target="_top">set-tk-var!</a></li>
186<li><a href="../tk.htm" target="_top">tk</a></li>
187<li><a href="../tkidwidget.htm" target="_top">tk-id-&gt;widget</a></li>
188<li><a href="../tkvar.htm" target="_top">tk-var</a></li>
189<li><a href="../tkafter.htm" target="_top">tk/after</a></li>
190<li><a href="../tkappname.htm" target="_top">tk/appname</a></li>
191<li><a href="../tkbind.htm" target="_top">tk/bind</a></li>
192<li><a href="../tkbindtags.htm" target="_top">tk/bindtags</a></li>
193<li><a href="../tkcaret.htm" target="_top">tk/caret</a></li>
194<li><a href="../tkchoosecolor.htm" target="_top">tk/choosecolor</a></li>
195<li><a href="../tkchoosedirectory.htm" target="_top">tk/choosedirectory</a></li>
196<li><a href="../tkclipboard.htm" target="_top">tk/clipboard</a></li>
197<li><a href="../tkconsole.htm" target="_top">tk/console</a></li>
198<li><a href="../tkdestroy.htm" target="_top">tk/destroy</a></li>
199<li><a href="../tkdialog.htm" target="_top">tk/dialog</a></li>
200<li><a href="../tkevent.htm" target="_top">tk/event</a></li>
201<li><a href="../tkfocus.htm" target="_top">tk/focus</a></li>
202<li><a href="../tkgetopenfile.htm" target="_top">tk/getopenfile</a></li>
203<li><a href="../tkgetsavefile.htm" target="_top">tk/getsavefile</a></li>
204<li><a href="../tkgrab.htm" target="_top">tk/grab</a></li>
205<li><a href="../tkgrid.htm" target="_top">tk/grid</a></li>
206<li><a href="../tkimage.htm" target="_top">tk/image</a></li>
207<li><a href="../tklower.htm" target="_top">tk/lower</a></li>
208<li><a href="../tkmessagebox.htm" target="_top">tk/messagebox</a></li>
209<li><a href="../tkoption.htm" target="_top">tk/option</a></li>
210<li><a href="../tkpack.htm" target="_top">tk/pack</a></li>
211<li><a href="../tkplace.htm" target="_top">tk/place</a></li>
212<li><a href="../tkpopup.htm" target="_top">tk/popup</a></li>
213<li><a href="../tkraise.htm" target="_top">tk/raise</a></li>
214<li><a href="../tkscaling.htm" target="_top">tk/scaling</a></li>
215<li><a href="../tkupdate.htm" target="_top">tk/update</a></li>
216<li><a href="../tkuseinputmethods.htm" target="_top">tk/useinputmethods</a></li>
217<li><a href="../tkwait.htm" target="_top">tk/wait</a></li>
218<li><a href="../tkwindowingsystem.htm" target="_top">tk/windowingsystem</a></li>
219<li><a href="../tkwinfo.htm" target="_top">tk/winfo</a>
220<ul>
221<li><a href="tkwinfo_atom.htm" target="_top">atom</a></li>
222<li><a href="tkwinfo_atomname.htm" target="_top">atomname</a></li>
223<li><a href="tkwinfo_cells.htm" target="_top">cells</a></li>
224<li><a href="tkwinfo_children.htm" target="_top">children</a></li>
225<li><a href="tkwinfo_class.htm" target="_top">class</a></li>
226<li><a href="tkwinfo_colormapfull.htm" target="_top">colormapfull</a></li>
227<li><a href="tkwinfo_containing.htm" target="_top">containing</a></li>
228<li><a href="tkwinfo_depth.htm" target="_top">depth</a></li>
229<li><a href="tkwinfo_exists.htm" target="_top">exists</a></li>
230<li><a href="tkwinfo_fpixels.htm" target="_top">fpixels</a></li>
231<li><a href="tkwinfo_geometry.htm" target="_top">geometry</a></li>
232<li><a href="tkwinfo_height.htm" target="_top">height</a></li>
233<li><a href="tkwinfo_id.htm" target="_top">id</a></li>
234<li><a href="tkwinfo_interps.htm" target="_top">interps</a></li>
235<li><a href="tkwinfo_ismapped.htm" target="_top">ismapped</a></li>
236<li><a href="tkwinfo_manager.htm" target="_top">manager</a></li>
237<li id="actualdocument"><a>name</a></li>
238<li><a href="tkwinfo_parent.htm" target="_top">parent</a></li>
239<li><a href="tkwinfo_pathname.htm" target="_top">pathname</a></li>
240<li><a href="tkwinfo_pixels.htm" target="_top">pixels</a></li>
241<li><a href="tkwinfo_pointerx.htm" target="_top">pointerx</a></li>
242<li><a href="tkwinfo_pointerxy.htm" target="_top">pointerxy</a></li>
243<li><a href="tkwinfo_pointery.htm" target="_top">pointery</a></li>
244<li><a href="tkwinfo_reqheight.htm" target="_top">reqheight</a></li>
245<li><a href="tkwinfo_reqwidth.htm" target="_top">reqwidth</a></li>
246<li><a href="tkwinfo_rgb.htm" target="_top">rgb</a></li>
247<li><a href="tkwinfo_rootx.htm" target="_top">rootx</a></li>
248<li><a href="tkwinfo_rooty.htm" target="_top">rooty</a></li>
249<li><a href="tkwinfo_screen.htm" target="_top">screen</a></li>
250<li><a href="tkwinfo_screencells.htm" target="_top">screencells</a></li>
251<li><a href="tkwinfo_screendepth.htm" target="_top">screendepth</a></li>
252<li><a href="tkwinfo_screenheight.htm" target="_top">screenheight</a></li>
253<li><a href="tkwinfo_screenmmheight.htm" target="_top">screenmmheight</a></li>
254<li><a href="tkwinfo_screenmmwidth.htm" target="_top">screenmmwidth</a></li>
255<li><a href="tkwinfo_screenvisual.htm" target="_top">screenvisual</a></li>
256<li><a href="tkwinfo_screenwidth.htm" target="_top">screenwidth</a></li>
257<li><a href="tkwinfo_server.htm" target="_top">server</a></li>
258<li><a href="tkwinfo_toplevel.htm" target="_top">toplevel</a></li>
259<li><a href="tkwinfo_viewable.htm" target="_top">viewable</a></li>
260<li><a href="tkwinfo_visual.htm" target="_top">visual</a></li>
261<li><a href="tkwinfo_visualid.htm" target="_top">visualid</a></li>
262<li><a href="tkwinfo_visualsavailable.htm" target="_top">visualsavailable</a></li>
263<li><a href="tkwinfo_vrootheight.htm" target="_top">vrootheight</a></li>
264<li><a href="tkwinfo_vrootwidth.htm" target="_top">vrootwidth</a></li>
265<li><a href="tkwinfo_vrootx.htm" target="_top">vrootx</a></li>
266<li><a href="tkwinfo_vrooty.htm" target="_top">vrooty</a></li>
267<li><a href="tkwinfo_width.htm" target="_top">width</a></li>
268<li><a href="tkwinfo_x.htm" target="_top">x</a></li>
269<li><a href="tkwinfo_y.htm" target="_top">y</a></li>
270</ul></li>
271<li><a href="../tkwm.htm" target="_top">tk/wm</a></li>
272</ul></li>
273<li><a href="../../Options.htm" target="_top">Options</a></li>
274<li><a href="../../Extensions.htm" target="_top">Extensions</a></li>
275<li><a href="../../List_of_Changes.htm" target="_top">Changes</a></li>
276</ul></td>
277 
278<td colspan="3" style="vertical-align: top; padding-top: 1em; padding-left: 16px" id="content">
279
280
281    <dl>
282      <dt>(tk/winfo 'name #&lt;widget>)</dt>
283   
284      <dd>Returns #&lt;widget>'s name (i.e. its name within its parent, as opposed to its full path name). The command (tk/winfo 'name tk) will return the name of the application.</dd>
285    </dl>
286 
287
288<hr />
289
290<p>
291&copy; <a href="../../Meta/Author.htm" target="_top">Author</a> 
292 | <a href="../../../index.htm" target="_top">Home</a> 
293 | <a href="../../Meta/Sitemap.htm" target="_top">Sitemap</a> 
294</p>
295</td>
296</tr>
297</table>
298
299</body>
300</html>
Note: See TracBrowser for help on using the repository browser.