Wikipedia

XML Resource

XRC
Filename extension
.xrc
Extended fromXML

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 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:[1]

  • wxFormBuilder
  • XRCed
  • wxDesigner
  • DialogBlocks
  • wxSmith (Code::Blocks plugin)[2]

See also

References

  1. ^ "XML Based Resource System (XRC)". wxWidgets.org. Retrieved 2011-04-18.
  2. ^ "wxSmith features". Retrieved 2011-10-10.

External links


This article is copied from an article on Wikipedia® - the free encyclopedia created and edited by its online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of Wikipedia® encyclopedia articles provide accurate and timely information, please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.

Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.