class="docutils literal"><span class="pre">shape</span></tt> A surface encoding the desired shape for the window.</p>
<p><tt class="docutils literal"><span class="pre">shape_mode</span></tt> The parameters to set for the shaped window.</p>
<p><tt class="docutils literal"><span class="pre">Return</span></tt> <tt class="docutils literal"><span class="pre">0</span></tt> on success, <tt class="docutils literal"><span class="pre">INVALID_SHAPE_ARGUMENT</span></tt> on an invalid shape argument, or <tt class="docu