wxXmlResource

wxXmlResource

wxXmlResource
See external documentation: wxXmlResource.

See external documentation: wxXmlResource.

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

Types

Major = integer()
Minor = integer()
Release = integer()
Revision = integer()

Types

Name = string()
Type = atom()

Looks up a control with Name in a window created with XML resources. You can use it to set/get values from controls. The object is type casted to Type. Example:
Xrc = wxXmlResource:get(),
Dlg = wxDialog:new(),
true = wxXmlResource:loadDialog(Xrc, Dlg, Frame, "controls_dialog"),
LCtrl = xrcctrl(Dlg, "controls_listctrl", wxListCtrl),
wxListCtrl:insertColumn(LCtrl, 0, "Name", [{width, 200}]),

Destroys this object, do not use object again