1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html>
3  <head>
4    <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5    <title>File Index</title>
6    <link href="doxygen.css" rel="stylesheet" type="text/css">
7  </head>
8  <body>
9<!-- Generated by Doxygen 1.7.4 -->
10  <div id="navrow1" class="tabs">
11    <ul class="tablist">
12      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
13      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
14      <li class="current"><a href="files.html"><span>Files</span></a></li>
15    </ul>
16  </div>
17  <div id="navrow2" class="tabs2">
18    <ul class="tablist">
19      <li><a href="files.html"><span>File&#160;List</span></a></li>
20      <li><a href="globals.html"><span>Globals</span></a></li>
21    </ul>
22  </div>
23</div>
24<div id="side-nav" class="ui-resizable side-nav-resizable">
25  <div id="nav-tree">
26    <div id="nav-tree-contents">
27    </div>
28  </div>
29  <div id="splitbar" style="-moz-user-select:none;" 
30       class="ui-resizable-handle">
31  </div>
32</div>
33<script type="text/javascript">
34  initNavTree('dmxprop_8h.html','');
35</script>
36<div id="doc-content">
37<div class="header">
38  <div class="summary">
39<a href="#func-members">Functions</a>  </div>
40  <div class="headertitle">
41<div class="title">dmxprop.h File Reference</div>  </div>
42</div>
43<div class="contents">
44
45<p><a href="dmxprop_8h_source.html">Go to the source code of this file.</a></p>
46<table class="memberdecls">
47<tr><td colspan="2"><h2><a name="func-members"></a>
48Functions</h2></td></tr>
49<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8h.html#a97a10defd6ace86dae6cf8c8765bf0de">dmxPropertyDisplay</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen)</td></tr>
50<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8h.html#aa97527eeaaf0744a67a5c5d188daf8c2">dmxPropertyWindow</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen)</td></tr>
51<tr><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8h.html#a4c53640b27c787d65539555cc3bf3c57">dmxPropertyIterate</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *start, void *(*f)(<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, void *closure), void *closure)</td></tr>
52<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8h.html#ad0a551002589f00b2bac2b081283bc83">dmxPropertySameDisplay</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, const char *name)</td></tr>
53</table>
54<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
55<div class="textblock"><p>Interface for property support. </p>
56<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="dmxprop_8c.html">dmxprop.c</a> </dd></dl>
57</div><hr/><h2>Function Documentation</h2>
58<a class="anchor" id="a97a10defd6ace86dae6cf8c8765bf0de"></a><!-- doxytag: member="dmxprop.h::dmxPropertyDisplay" ref="a97a10defd6ace86dae6cf8c8765bf0de" args="(DMXScreenInfo *dmxScreen)" -->
59<div class="memitem">
60<div class="memproto">
61      <table class="memname">
62        <tr>
63          <td class="memname">int dmxPropertyDisplay </td>
64          <td>(</td>
65          <td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *&#160;</td>
66          <td class="paramname"><em>dmxScreen</em></td><td>)</td>
67          <td></td>
68        </tr>
69      </table>
70</div>
71<div class="memdoc">
72<p>Returns 0 if this is the only Xdmx session on the display; 1 otherwise. </p>
73
74<p>References <a class="el" href="struct__DMXScreenInfo.html#a756ade62a55a52f163a42db6de54c244">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxprop_8c.html#aa5cb343dc33f4f7e12652ca1298a2ed8">DMX_ATOMNAME</a>, <a class="el" href="dmxprop_8c.html#ab3eb5317487025c8ba44312f16d675f7">dmxPropertyCheckOtherServers()</a>, <a class="el" href="dmxprop_8c.html#a5393154b62783c7ff9cb657acbf73cca">dmxPropertyIdentifier()</a>, and <a class="el" href="struct__DMXScreenInfo.html#a1c960b58b8bb306b5fe14edc8d8c2b8d">_DMXScreenInfo::shared</a>.</p>
75
76<p>Referenced by <a class="el" href="dmxinit_8h.html#abe5a8715282907a3ffd7b992c8dd3661">dmxOpenDisplay()</a>.</p>
77
78</div>
79</div>
80<a class="anchor" id="a4c53640b27c787d65539555cc3bf3c57"></a><!-- doxytag: member="dmxprop.h::dmxPropertyIterate" ref="a4c53640b27c787d65539555cc3bf3c57" args="(DMXScreenInfo *start, void *(*f)(DMXScreenInfo *dmxScreen, void *closure), void *closure)" -->
81<div class="memitem">
82<div class="memproto">
83      <table class="memname">
84        <tr>
85          <td class="memname">void* dmxPropertyIterate </td>
86          <td>(</td>
87          <td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *&#160;</td>
88          <td class="paramname"><em>start</em>, </td>
89        </tr>
90        <tr>
91          <td class="paramkey"></td>
92          <td></td>
93          <td class="paramtype">void *(*)(<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, void *closure)&#160;</td>
94          <td class="paramname"><em>f</em>, </td>
95        </tr>
96        <tr>
97          <td class="paramkey"></td>
98          <td></td>
99          <td class="paramtype">void *&#160;</td>
100          <td class="paramname"><em>closure</em>&#160;</td>
101        </tr>
102        <tr>
103          <td></td>
104          <td>)</td>
105          <td></td><td></td>
106        </tr>
107      </table>
108</div>
109<div class="memdoc">
110
111</div>
112</div>
113<a class="anchor" id="ad0a551002589f00b2bac2b081283bc83"></a><!-- doxytag: member="dmxprop.h::dmxPropertySameDisplay" ref="ad0a551002589f00b2bac2b081283bc83" args="(DMXScreenInfo *dmxScreen, const char *name)" -->
114<div class="memitem">
115<div class="memproto">
116      <table class="memname">
117        <tr>
118          <td class="memname">int dmxPropertySameDisplay </td>
119          <td>(</td>
120          <td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *&#160;</td>
121          <td class="paramname"><em>dmxScreen</em>, </td>
122        </tr>
123        <tr>
124          <td class="paramkey"></td>
125          <td></td>
126          <td class="paramtype">const char *&#160;</td>
127          <td class="paramname"><em>name</em>&#160;</td>
128        </tr>
129        <tr>
130          <td></td>
131          <td>)</td>
132          <td></td><td></td>
133        </tr>
134      </table>
135</div>
136<div class="memdoc">
137<p>Returns 1 if the dmxScreen and the display in <em>name</em> are on the same display, or 0 otherwise. We can't just compare the display names because there can be multiple synonyms for the same display, some of which cannot be determined without accessing the display itself (e.g., domain aliases or machines with multiple NICs). </p>
138
139<p>References <a class="el" href="struct__DMXScreenInfo.html#a756ade62a55a52f163a42db6de54c244">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxprop_8c.html#aa5cb343dc33f4f7e12652ca1298a2ed8">DMX_ATOMNAME</a>, <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917fa55e322963608341d32ebb8a0b9d936fe">dmxDebug</a>, <a class="el" href="dmxlog_8c.html#ab6259430a57c3cffdfc9f6259df0ad23">dmxLog()</a>, <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917fae81ae2a11fb7ab8eea902f609574210a">dmxWarning</a>, and <a class="el" href="struct__DMXScreenInfo.html#a5cfc14ffedaafcbe5b00302f972208cf">_DMXScreenInfo::name</a>.</p>
140
141<p>Referenced by <a class="el" href="dmxbackend_8c.html#a69990fbd029b2aff929c909fab8a9125">dmxBackendInitPrivate()</a>, and <a class="el" href="dmxinputinit_8c.html#a5845f0dbf305a8a233d3747489745faa">dmxInputInit()</a>.</p>
142
143</div>
144</div>
145<a class="anchor" id="aa97527eeaaf0744a67a5c5d188daf8c2"></a><!-- doxytag: member="dmxprop.h::dmxPropertyWindow" ref="aa97527eeaaf0744a67a5c5d188daf8c2" args="(DMXScreenInfo *dmxScreen)" -->
146<div class="memitem">
147<div class="memproto">
148      <table class="memname">
149        <tr>
150          <td class="memname">void dmxPropertyWindow </td>
151          <td>(</td>
152          <td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *&#160;</td>
153          <td class="paramname"><em>dmxScreen</em></td><td>)</td>
154          <td></td>
155        </tr>
156      </table>
157</div>
158<div class="memdoc">
159<p>Prints a log message if <em>dmxScreen</em> is on the same backend X server as some other DMX backend (output) screen. Modifies the property (<a class="el" href="dmxprop_8c.html#aa5cb343dc33f4f7e12652ca1298a2ed8">DMX_ATOMNAME</a>) on the backend X server to reflect the creation of <em>dmxScreen</em>.</p>
160<p>The root window of the backend X server holds a list of window ids for all DMX windows (on this DMX server or some other DMX server).</p>
161<p>This list can then be iterated, and the property for each window can be examined. This property contains the following tuple (no quotes):</p>
162<p>"#DMX_IDENT:&lt;hostname running DMX&gt;:&lt;display name of DMX&gt;,&lt;screen number&gt;" </p>
163
164<p>References <a class="el" href="struct__DMXScreenInfo.html#a756ade62a55a52f163a42db6de54c244">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxprop_8c.html#aa5cb343dc33f4f7e12652ca1298a2ed8">DMX_ATOMNAME</a>, <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917fa55e322963608341d32ebb8a0b9d936fe">dmxDebug</a>, <a class="el" href="dmxlog_8c.html#ab6259430a57c3cffdfc9f6259df0ad23">dmxLog()</a>, <a class="el" href="dmxprop_8c.html#a5e976d40a4af5d6cd99b69ead01d0dfb">dmxPropertyCheckOtherWindows()</a>, <a class="el" href="dmxprop_8c.html#a5393154b62783c7ff9cb657acbf73cca">dmxPropertyIdentifier()</a>, <a class="el" href="struct__DMXScreenInfo.html#a28849096f73f9bf14bb7e461dbb5cc94">_DMXScreenInfo::index</a>, <a class="el" href="struct__DMXScreenInfo.html#a5cfc14ffedaafcbe5b00302f972208cf">_DMXScreenInfo::name</a>, <a class="el" href="struct__DMXScreenInfo.html#a24d4641dc02b750b88eb56ced27269d3">_DMXScreenInfo::next</a>, and <a class="el" href="struct__DMXScreenInfo.html#a78c03cd265e1c64b0d4028f0b27f99c4">_DMXScreenInfo::scrnWin</a>.</p>
165
166<p>Referenced by <a class="el" href="dmxscrinit_8h.html#a51bde87df35cd264d315d09e33c4f9e3">dmxBEScreenInit()</a>.</p>
167
168</div>
169</div>
170</div>
171</div>
172  <div id="nav-path" class="navpath">
173    <ul>
174      <li class="navelem"><a class="el" href="dmxprop_8h.html">dmxprop.h</a>      </li>
175    <hr>
176    <address>
177      <small>
178        Generated June 29, 2004 for <a
179        href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
180        <a href="http://www.doxygen.org/index.html">doxygen</a>
181        1.3.4.
182      </small>
183    </addres>
184    </hr>
185  </body>
186</html>
187