Lightningbeam/PyGUI-2.5.3/Doc/DirRef.html

36 lines
1.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html><head><title>PyGUI - DirRef class</title>
<meta name="GENERATOR" content="Mozilla/3.01Gold (X11; I; SunOS 5.6 sun4u) [Netscape]"></head>
<body>
<h1>class <tt>Files.DirRef</tt></h1>
<p>A&nbsp;DirRef is a platform-independent representation of an existing directory. DirRef objects are immutable.<br>
</p>
<p>See also: <a href="FileRef.html">FileRef</a><br>
</p>
<h2>Constructor</h2>
<div style="margin-left: 40px;">
<dl>
<dt><span style="font-family: monospace;">DirRef(path</span> <span style="font-family: monospace;">=</span> string<span style="font-family: monospace;">)</span></dt>
<dd>Constructs a DirRef from a full pathname.<br>
<br>
Only the absolute pathname of an existing directory should be used. The
effect of a relative or nonexistent pathname, or the pathname of
something which is not a directory, is undefined.<br>
</dd>
</dl>
</div>
<h2>Properties</h2>
<div style="margin-left: 40px;">
<dl>
<dt style="font-family: monospace;">path</dt>
<dd><span style="font-style: italic;">Read only.</span> The full pathname of the directory.<br>
</dd>
</dl>
</div>
<p>---</p>
</body></html>