Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
XML Resource
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Infobox file format | name = XRC | icon = | logo = | screenshot = | caption = | extension = {{mono|.xrc}} | mime = | type code = | uniform type = | magic = | owner = | genre = | container for = | contained by = | extended from = [[XML]] | extended to = | standard = }} '''XRC''', or '''XML Resource''', or '''XML Based Resource System''' is a [[cross-platform]] [[XML]]-based [[user interface markup language]] used by [[wxWidgets]]. XRC allows [[graphical user interface]] elements, such as dialogs, menu bars and toolbars, to be stored as XML, which can be loaded into the application at run-time or translated into a target [[programming language]] and [[compiler|compiled]]. ==Advantages== * Recompiling and linking is not always necessary when changing the interface. * Separates the interface from the program logic. * Ability to choose between different resource files at run time. * XRC is a wxWidgets standard, so it can be generated and processed by any program that understands it. * They can be written (or generated by other program) once, and used in any supported language which have wxWidgets bindings. * XML is easier to parse than most programming languages. * Existing XML editors can be used to edit XRC files. ==Tools== Specialized software tools, generally [[graphical user interface builder]] or [[rapid application development]] (RAD), allow creation of XRC files, among them are:<ref>{{cite web|title=XML Based Resource System (XRC)|url=http://docs.wxwidgets.org/trunk/overview_xrc.html|publisher=wxWidgets.org|access-date=2011-04-18}}</ref> * [[wxFormBuilder]] * XRCed * wxDesigner * DialogBlocks * wxSmith ([[Code::Blocks]] plugin)<ref>{{cite web|title=wxSmith features|url=http://wiki.codeblocks.org/index.php?title=Comparison_of_wxSmith_features#Features_supported|access-date=2011-10-10}}</ref> ==See also== *[[wxWidgets]] *[[wxGlade]] - an [[open source]] GUI designer that understands and generates XRC *[[List of user interface markup languages]] * [[XUL]] * [[QML]] ==References== <references/> ==External links== *[http://docs.wxwidgets.org/trunk/overview_xrc.html XML Based Resource System overview (current)] *[https://web.archive.org/web/20070429174112/http://www.wxwidgets.org/manuals/stable/wx_xrcoverview.html#xrcsample XML-based resource system overview (stable)] *[http://xrced.sourceforge.net/ XRCed] - an XRC editor *[http://wiki.wxpython.org/XRCTutorial XRC Tutorial] {{wxWidgets}} [[Category:XML-based standards]] [[Category:User interface markup languages]] [[Category:WxWidgets]] {{compu-lang-stub}}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Cite web
(
edit
)
Template:Compu-lang-stub
(
edit
)
Template:Infobox file format
(
edit
)
Template:Prog-lang-stub
(
edit
)
Template:R shell
(
edit
)
Template:WxWidgets
(
edit
)