/Doc/DirRef.html
HTML | 37 lines | 31 code | 6 blank | 0 comment | 0 complexity | bc6c98357cfc6b022d6037a0783c658c MD5 | raw file
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2<html><head><title>PyGUI - DirRef class</title>
3
4 <meta name="GENERATOR" content="Mozilla/3.01Gold (X11; I; SunOS 5.6 sun4u) [Netscape]"></head>
5
6<body>
7
8<h1>class <tt>DirRef</tt></h1>
9
10<p>A DirRef is a platform-independent representation of an existing directory. DirRef objects are immutable.<br>
11</p>
12<p>See also: <a href="FileRef.html">FileRef</a><br>
13</p>
14<h2>Constructor</h2>
15<div style="margin-left: 40px;">
16<dl>
17 <dt><span style="font-family: monospace;">DirRef(path</span> <span style="font-family: monospace;">=</span> string<span style="font-family: monospace;">)</span></dt>
18 <dd>Constructs a DirRef from a full pathname.<br>
19 <br>
20Only the absolute pathname of an existing directory should be used. The
21effect of a relative or nonexistent pathname, or the pathname of
22something which is not a directory, is undefined.<br>
23 </dd>
24</dl>
25</div>
26<h2>Properties</h2>
27<div style="margin-left: 40px;">
28<dl>
29 <dt style="font-family: monospace;">path</dt>
30 <dd><span style="font-style: italic;">Read only.</span> The full pathname of the directory.<br>
31 </dd>
32</dl>
33</div>
34<p>---</p>
35
36
37</body></html>