请输入您要查询的百科知识:

 

词条 XML Resource
释义

  1. Advantages

  2. Tools

  3. See also

  4. References

  5. External links

{{Infobox file format
| name = XRC
| icon =
| logo =
| screenshot =
| caption =
| extension = .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 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 (:Blocks plugin)[2]

See also

  • wxWidgets
  • wxGlade - an open source GUI designer that understands and generates XRC
  • List of user interface markup languages
  • XUL
  • QML

References

1. ^{{cite web|title=XML Based Resource System (XRC)|url=http://docs.wxwidgets.org/trunk/overview_xrc.html|publisher=wxWidgets.org|accessdate=2011-04-18}}
2. ^{{cite web|title=wxSmith features|url=http://wiki.codeblocks.org/index.php?title=Comparison_of_wxSmith_features#Features_supported|accessdate=2011-10-10}}

External links

  • 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)]
  • XRCed - an XRC editor
  • XRC Tutorial
{{wxWidgets}}{{compu-lang-stub}}

3 : XML-based standards|User interface markup languages|WxWidgets

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/28 3:29:40