erlang gen_fsm/gen_event/gen_server/gen_tcp

gen_fsm:

参考资料
LYSEGG
gen_fsm的例子
Erlang OTP设计原则Gen_Fsm行为
相关博客gen_fsm

gen_event:

参考资料
LYSEGG
[解释加例子]http://erlangdisplay.iteye.com/blog/315391
gen_event 解释
例子
erlang behaviour gen_event

gen_server:

参考资料
看文档吧

wx_object

看文档
http://www.erlang.org/doc/man/wx_object.html
http://www.erlang.org/doc/man/wx.html
当然wx 也是一个 application,The wx application is an erlang binding of wxWidgets;
wx module contains functions for starting and stopping the wx-server, wx 是用于启动和关闭gui 的,使用之前必须首先用 wx:new();
wx_object 是一个bahaviour;
每一个控件对象都对应一个module;

原文地址:https://www.cnblogs.com/ShankYan/p/4202513.html