wxXmlResource
See external documentation: wxXmlResource.
See external documentation:
DATA TYPES
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.
Functions
new() -> wxXmlResource()
Equivalent to new([]).
new(Options::[Option]) -> wxXmlResource()
Option = {flags, integer()} | {domain, string()}
See
new(Filemask::string(), Options::[Option]) -> wxXmlResource()
Option = {flags, integer()} | {domain, string()}
See
attachUnknownControl(This::wxXmlResource(), Name::string(), Control::wxWindow() (see module wxWindow)) -> bool()
Equivalent to attachUnknownControl(This, Name, Control, []).
attachUnknownControl(This::wxXmlResource(), Name::string(), Control::wxWindow() (see module wxWindow), Options::[Option]) -> bool()
Option = {parent, wxWindow() (see module wxWindow)}
See
clearHandlers(This::wxXmlResource()) -> ok
See
compareVersion(This::wxXmlResource(), Major::integer(), Minor::integer(), Release::integer(), Revision::integer()) -> integer()
See
get() -> wxXmlResource()
See
getFlags(This::wxXmlResource()) -> integer()
See
getVersion(This::wxXmlResource()) -> integer()
See
getXRCID(Str_id::[string()]) -> integer()
Equivalent to getXRCID(Str_id, []).
getXRCID(Str_id::[string()], Options::[Option]) -> integer()
Option = {value_if_not_found, integer()}
See
initAllHandlers(This::wxXmlResource()) -> ok
See
load(This::wxXmlResource(), Filemask::string()) -> bool()
See
loadBitmap(This::wxXmlResource(), Name::string()) -> wxBitmap() (see module wxBitmap)
See
loadDialog(This::wxXmlResource(), Parent::wxWindow() (see module wxWindow), Name::string()) -> wxDialog() (see module wxDialog)
See
loadDialog(This::wxXmlResource(), Dlg::wxDialog() (see module wxDialog), Parent::wxWindow() (see module wxWindow), Name::string()) -> bool()
See
loadFrame(This::wxXmlResource(), Parent::wxWindow() (see module wxWindow), Name::string()) -> wxFrame() (see module wxFrame)
See
loadFrame(This::wxXmlResource(), Frame::wxFrame() (see module wxFrame), Parent::wxWindow() (see module wxWindow), Name::string()) -> bool()
See
loadIcon(This::wxXmlResource(), Name::string()) -> wxIcon() (see module wxIcon)
See
loadMenu(This::wxXmlResource(), Name::string()) -> wxMenu() (see module wxMenu)
See
loadMenuBar(This::wxXmlResource(), Name::string()) -> wxMenuBar() (see module wxMenuBar)
See
loadMenuBar(This::wxXmlResource(), Parent::wxWindow() (see module wxWindow), Name::string()) -> wxMenuBar() (see module wxMenuBar)
See
loadPanel(This::wxXmlResource(), Parent::wxWindow() (see module wxWindow), Name::string()) -> wxPanel() (see module wxPanel)
See
loadPanel(This::wxXmlResource(), Panel::wxPanel() (see module wxPanel), Parent::wxWindow() (see module wxWindow), Name::string()) -> bool()
See
loadToolBar(This::wxXmlResource(), Parent::wxWindow() (see module wxWindow), Name::string()) -> wxToolBar() (see module wxToolBar)
See
set(Res::wxXmlResource()) -> wxXmlResource()
See
setFlags(This::wxXmlResource(), Flags::integer()) -> ok
See
unload(This::wxXmlResource(), Filename::string()) -> bool()
See
xrcctrl(Window::wxWindow() (see module wxWindow), Name::string(), Type::atom()) -> wxObject() (see module wx)
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}]),
destroy(This::wxXmlResource()) -> ok
Destroys this object, do not use object again
- new/0
- new/1
- new/1-1
- attachUnknownControl/1
- attachUnknownControl/1-1
- clearHandlers/1
- compareVersion/1
- get/0
- getFlags/1
- getVersion/1
- getXRCID/1
- getXRCID/1-1
- initAllHandlers/1
- load/1
- loadBitmap/1
- loadDialog/1
- loadDialog/1-1
- loadFrame/1
- loadFrame/1-1
- loadIcon/1
- loadMenu/1
- loadMenuBar/1
- loadMenuBar/1-1
- loadPanel/1
- loadPanel/1-1
- loadToolBar/1
- set/1
- setFlags/1
- unload/1
- xrcctrl/1
- destroy/1