wxXmlResource
See external documentation: wxXmlResource.
See external documentation:
Functions
new() -> wxXmlResource()
Equivalent to new([]).
new(Options::[Option]) -> wxXmlResource()
Option = {flags, integer()} | {domain, chardata() (see module unicode)}
See
new(Filemask, Options::[Option]) -> wxXmlResource()
Filemask = chardata() (see module unicode)
Option = {flags, integer()} | {domain, chardata() (see module unicode)}
See
attachUnknownControl(This, Name, Control) -> boolean()
This = wxXmlResource()
Name = chardata() (see module unicode)
Control = wxWindow() (see module wxWindow)
Equivalent to attachUnknownControl(This, Name, Control, []).
attachUnknownControl(This, Name, Control, Options::[Option]) -> boolean()
This = wxXmlResource()
Name = chardata() (see module unicode)
Control = wxWindow() (see module wxWindow)
Option = {parent, wxWindow() (see module wxWindow)}
See
clearHandlers(This) -> ok
This = wxXmlResource()
See
compareVersion(This, Major, Minor, Release, Revision) -> integer()
This = wxXmlResource()
Major = integer()
Minor = integer()
Release = integer()
Revision = integer()
See
get() -> wxXmlResource()
See
getFlags(This) -> integer()
This = wxXmlResource()
See
getVersion(This) -> integer()
This = wxXmlResource()
See
getXRCID(Str_id) -> integer()
Str_id = [chardata() (see module unicode)]
Equivalent to getXRCID(Str_id, []).
getXRCID(Str_id, Options::[Option]) -> integer()
Str_id = [chardata() (see module unicode)]
Option = {value_if_not_found, integer()}
See
initAllHandlers(This) -> ok
This = wxXmlResource()
See
load(This, Filemask) -> boolean()
This = wxXmlResource()
Filemask = chardata() (see module unicode)
See
loadBitmap(This, Name) -> wxBitmap() (see module wxBitmap)
This = wxXmlResource()
Name = chardata() (see module unicode)
See
loadDialog(This, Parent, Name) -> wxDialog() (see module wxDialog)
This = wxXmlResource()
Parent = wxWindow() (see module wxWindow)
Name = chardata() (see module unicode)
See
loadDialog(This, Dlg, Parent, Name) -> boolean()
This = wxXmlResource()
Dlg = wxDialog() (see module wxDialog)
Parent = wxWindow() (see module wxWindow)
Name = chardata() (see module unicode)
See
loadFrame(This, Parent, Name) -> wxFrame() (see module wxFrame)
This = wxXmlResource()
Parent = wxWindow() (see module wxWindow)
Name = chardata() (see module unicode)
See
loadFrame(This, Frame, Parent, Name) -> boolean()
This = wxXmlResource()
Frame = wxFrame() (see module wxFrame)
Parent = wxWindow() (see module wxWindow)
Name = chardata() (see module unicode)
See
loadIcon(This, Name) -> wxIcon() (see module wxIcon)
This = wxXmlResource()
Name = chardata() (see module unicode)
See
loadMenu(This, Name) -> wxMenu() (see module wxMenu)
This = wxXmlResource()
Name = chardata() (see module unicode)
See
loadMenuBar(This, Name) -> wxMenuBar() (see module wxMenuBar)
This = wxXmlResource()
Name = chardata() (see module unicode)
See
loadMenuBar(This, Parent, Name) -> wxMenuBar() (see module wxMenuBar)
This = wxXmlResource()
Parent = wxWindow() (see module wxWindow)
Name = chardata() (see module unicode)
See
loadPanel(This, Parent, Name) -> wxPanel() (see module wxPanel)
This = wxXmlResource()
Parent = wxWindow() (see module wxWindow)
Name = chardata() (see module unicode)
See
loadPanel(This, Panel, Parent, Name) -> boolean()
This = wxXmlResource()
Panel = wxPanel() (see module wxPanel)
Parent = wxWindow() (see module wxWindow)
Name = chardata() (see module unicode)
See
loadToolBar(This, Parent, Name) -> wxToolBar() (see module wxToolBar)
This = wxXmlResource()
Parent = wxWindow() (see module wxWindow)
Name = chardata() (see module unicode)
See
set(Res) -> wxXmlResource()
Res = wxXmlResource()
See
setFlags(This, Flags) -> ok
This = wxXmlResource()
Flags = integer()
See
unload(This, Filename) -> boolean()
This = wxXmlResource()
Filename = chardata() (see module unicode)
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