[erlang-questions] Background wx_object set_id/2

Dan Gudmundsson dangud@REDACTED
Mon Aug 6 14:29:21 CEST 2018


If you use wx_object module the pid is used to access the corresponding
erlang process/server.

If you fetch the "object" from wxWidgets for example
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.

/Dan

On Mon, Aug 6, 2018 at 1:42 PM Frans Schneider <fchschneider@REDACTED>
wrote:

> Dear list,
>
> I am wondering what purpose the wx_object:set_pid/2 function serves? Why
> would one use this?
>
> Thanks,
>
> Frans
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180806/9e7b83c3/attachment.htm>


More information about the erlang-questions mailing list