<div dir="ltr">If you use wx_object module the pid is used to access the corresponding erlang process/server.<div><br></div><div>If you fetch the "object" from wxWidgets for example </div><div>from Parent = wxWindow:getParent(Window) you will get an object without the pid set and you can manually set it with wx_object:set_pid/2.</div><div><br></div><div>/Dan</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Aug 6, 2018 at 1:42 PM Frans Schneider <<a href="mailto:fchschneider@gmail.com" target="_blank">fchschneider@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear list,<br>
<br>
I am wondering what purpose the wx_object:set_pid/2 function serves? Why <br>
would one use this?<br>
<br>
Thanks,<br>
<br>
Frans<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div></div>