wxXmlResource
See external documentation: wxXmlResource.
- Provided by: erlang-manpages (Version: 1:18.3-dfsg-1ubuntu3.1)
- Source: erlang
- Report a bug
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.
new() -> wxXmlResource()
Equivalent to new([]).
new(Options::[Option]) -> wxXmlResource()
Types:
See external documentation.
new(Filemask, Options::[Option]) -> wxXmlResource()
Types:
See external documentation.
attachUnknownControl(This, Name, Control) -> boolean()
Types:
Equivalent to attachUnknownControl(This, Name, Control, []).
attachUnknownControl(This, Name, Control, Options::[Option])
-> boolean()
Types:
See external documentation.
clearHandlers(This) -> ok
Types:
See external documentation.
compareVersion(This, Major, Minor, Release, Revision) ->
integer()
Types:
See external documentation.
get() -> wxXmlResource()
See external documentation.
getFlags(This) -> integer()
Types:
See external documentation.
getVersion(This) -> integer()
Types:
See external documentation.
getXRCID(Str_id) -> integer()
Types:
Equivalent to getXRCID(Str_id, []).
getXRCID(Str_id, Options::[Option]) -> integer()
Types:
See external documentation.
initAllHandlers(This) -> ok
Types:
See external documentation.
load(This, Filemask) -> boolean()
Types:
See external documentation.
loadBitmap(This, Name) -> wxBitmap() (see module
wxBitmap)
Types:
See external documentation.
loadDialog(This, Parent, Name) -> wxDialog() (see module
wxDialog)
Types:
See external documentation.
loadDialog(This, Dlg, Parent, Name) -> boolean()
Types:
See external documentation.
loadFrame(This, Parent, Name) -> wxFrame() (see module
wxFrame)
Types:
See external documentation.
loadFrame(This, Frame, Parent, Name) -> boolean()
Types:
See external documentation.
loadIcon(This, Name) -> wxIcon() (see module wxIcon)
Types:
See external documentation.
loadMenu(This, Name) -> wxMenu() (see module wxMenu)
Types:
See external documentation.
loadMenuBar(This, Name) -> wxMenuBar() (see module
wxMenuBar)
Types:
See external documentation.
loadMenuBar(This, Parent, Name) -> wxMenuBar() (see module
wxMenuBar)
Types:
See external documentation.
loadPanel(This, Parent, Name) -> wxPanel() (see module
wxPanel)
Types:
See external documentation.
loadPanel(This, Panel, Parent, Name) -> boolean()
Types:
See external documentation.
loadToolBar(This, Parent, Name) -> wxToolBar() (see module
wxToolBar)
Types:
See external documentation.
set(Res) -> wxXmlResource()
Types:
See external documentation.
setFlags(This, Flags) -> ok
Types:
See external documentation.
unload(This, Filename) -> boolean()
Types:
See external documentation.
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
<>