wxXmlResource.3erl

Langue: en

Autres versions - même langue

Version: 299098 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

wxXmlResource - See external documentation: wxXmlResource.

DESCRIPTION

See external documentation: wxXmlResource <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html>.

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.

EXPORTS

new() -> wxXmlResource()


Equivalent to new([]).

new(Options::[Option]) -> wxXmlResource()

Types
Option = {flags, integer()} | {domain, string()}

See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourcewxxmlresource>.

new(Filemask::string(), Options::[Option]) -> wxXmlResource()

Types
Option = {flags, integer()} | {domain, string()}

See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourcewxxmlresource>.

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()

Types
Option = {parent, wxWindow() (see module wxWindow)}

See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceattachunknowncontrol>.

clearHandlers(This::wxXmlResource()) -> ok


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceclearhandlers>.

compareVersion(This::wxXmlResource(), Major::integer(), Minor::integer(), Release::integer(), Revision::integer()) -> integer()


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourcecompareversion>.

get() -> wxXmlResource()


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceget>.

getFlags(This::wxXmlResource()) -> integer()


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourcegetflags>.

getVersion(This::wxXmlResource()) -> integer()


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourcegetversion>.

getXRCID(Str_id::[string()]) -> integer()


Equivalent to getXRCID(Str_id, []).

getXRCID(Str_id::[string()], Options::[Option]) -> integer()

Types
Option = {value_if_not_found, integer()}

See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourcegetxrcid>.

initAllHandlers(This::wxXmlResource()) -> ok


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceinitallhandlers>.

load(This::wxXmlResource(), Filemask::string()) -> bool()


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceload>.

loadBitmap(This::wxXmlResource(), Name::string()) -> wxBitmap() (see module wxBitmap)


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadbitmap>.

loadDialog(This::wxXmlResource(), Parent::wxWindow() (see module wxWindow), Name::string()) -> wxDialog() (see module wxDialog)


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloaddialog>.

loadDialog(This::wxXmlResource(), Dlg::wxDialog() (see module wxDialog), Parent::wxWindow() (see module wxWindow), Name::string()) -> bool()


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloaddialog>.

loadFrame(This::wxXmlResource(), Parent::wxWindow() (see module wxWindow), Name::string()) -> wxFrame() (see module wxFrame)


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadframe>.

loadFrame(This::wxXmlResource(), Frame::wxFrame() (see module wxFrame), Parent::wxWindow() (see module wxWindow), Name::string()) -> bool()


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadframe>.

loadIcon(This::wxXmlResource(), Name::string()) -> wxIcon() (see module wxIcon)


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadicon>.

loadMenu(This::wxXmlResource(), Name::string()) -> wxMenu() (see module wxMenu)


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadmenu>.

loadMenuBar(This::wxXmlResource(), Name::string()) -> wxMenuBar() (see module wxMenuBar)


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadmenubar>.

loadMenuBar(This::wxXmlResource(), Parent::wxWindow() (see module wxWindow), Name::string()) -> wxMenuBar() (see module wxMenuBar)


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadmenubar>.

loadPanel(This::wxXmlResource(), Parent::wxWindow() (see module wxWindow), Name::string()) -> wxPanel() (see module wxPanel)


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadpanel>.

loadPanel(This::wxXmlResource(), Panel::wxPanel() (see module wxPanel), Parent::wxWindow() (see module wxWindow), Name::string()) -> bool()


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadpanel>.

loadToolBar(This::wxXmlResource(), Parent::wxWindow() (see module wxWindow), Name::string()) -> wxToolBar() (see module wxToolBar)


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadtoolbar>.

set(Res::wxXmlResource()) -> wxXmlResource()


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceset>.

setFlags(This::wxXmlResource(), Flags::integer()) -> ok


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourcesetflags>.

unload(This::wxXmlResource(), Filename::string()) -> bool()


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceunload>.

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