我在官方的Erlang wxWidgets文档中找到了call的定义:
new(Parent, Id, Options::[Option]) -> wxTextCtrl()
Types:
Parent = wxWindow:wxWindow()
Id = integer()
Option = {value, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | **{validator, wx:wx_object()**}
有人知道,如何使用验证器?