/Doc/DirRef.html

https://bitbucket.org/alsh/pygui-mirror · 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. <meta name="GENERATOR" content="Mozilla/3.01Gold (X11; I; SunOS 5.6 sun4u) [Netscape]"></head>
  4. <body>
  5. <h1>class <tt>DirRef</tt></h1>
  6. <p>A&nbsp;DirRef is a platform-independent representation of an existing directory. DirRef objects are immutable.<br>
  7. </p>
  8. <p>See also: <a href="FileRef.html">FileRef</a><br>
  9. </p>
  10. <h2>Constructor</h2>
  11. <div style="margin-left: 40px;">
  12. <dl>
  13. <dt><span style="font-family: monospace;">DirRef(path</span> <span style="font-family: monospace;">=</span> string<span style="font-family: monospace;">)</span></dt>
  14. <dd>Constructs a DirRef from a full pathname.<br>
  15. <br>
  16. Only the absolute pathname of an existing directory should be used. The
  17. effect of a relative or nonexistent pathname, or the pathname of
  18. something which is not a directory, is undefined.<br>
  19. </dd>
  20. </dl>
  21. </div>
  22. <h2>Properties</h2>
  23. <div style="margin-left: 40px;">
  24. <dl>
  25. <dt style="font-family: monospace;">path</dt>
  26. <dd><span style="font-style: italic;">Read only.</span> The full pathname of the directory.<br>
  27. </dd>
  28. </dl>
  29. </div>
  30. <p>---</p>
  31. </body></html>