wxXmlResource
Module
wxXmlResource
Module Summary
See external documentation: wxXmlResource.
Description
See external documentation: wxXmlResource.
DATA TYPES
Exports
Equivalent to new([]).
Types
Option = {flags, integer()} | {domain, unicode:chardata()}
Equivalent to attachUnknownControl(This, Name, Control, []).
Types
This = wxXmlResource()
Name = unicode:chardata()
Control = wxWindow:wxWindow()
Option = {parent, wxWindow:wxWindow()}
Types
This = wxXmlResource()
Types
This = wxXmlResource()
Major = integer()
Minor = integer()
Release = integer()
Revision = integer()
Types
This = wxXmlResource()
Types
This = wxXmlResource()
Types
Str_id = [unicode:chardata()]
Equivalent to getXRCID(Str_id, []).
Types
This = wxXmlResource()
Types
This = wxXmlResource()
Dlg = wxDialog:wxDialog()
Parent = wxWindow:wxWindow()
Name = unicode:chardata()
Types
This = wxXmlResource()
Frame = wxFrame:wxFrame()
Parent = wxWindow:wxWindow()
Name = unicode:chardata()
Types
This = wxXmlResource()
Panel = wxPanel:wxPanel()
Parent = wxWindow:wxWindow()
Name = unicode:chardata()
Types
Res = wxXmlResource()
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}]),