frame.xrc
来自「很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.」· XRC 代码 · 共 28 行
XRC
28 行
<?xml version="1.0" encoding="ISO-8859-1"?><resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.3.0.1"><object class="wxFrame" name="main_frame"> <title>XML Resources Demo</title> <centered>1</centered> <object class="wxFlexGridSizer"> <cols>1</cols> <rows>0</rows> <vgap>0</vgap> <hgap>0</hgap> <growablecols>0</growablecols> <growablerows>0</growablerows> <object class="sizeritem"> <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL</flag> <border>5</border> <object class="wxTextCtrl" name="message_textctrl"> <size>500,280</size> <style>wxTE_MULTILINE</style> <value>Welcome to the wxWidgets XmlResource (XRC) sample! Using wxWidgets XML resources makes your GUI C++ programming much faster and easier.\n\nView the examples under the "Basic" menu to learn how to get up and running with XRC quickly, and later have a look at the examples under the "Advanced" menu for advanced techniques.\n\nThe XML file that described this frame is the sample's frame.xrc file, with the menu in menu.xrc, and the toolbar in toolbar.xrc. The frame XRC file structure is exactly the same as the XRC files for the dialogs, except that the top level node is a wxFrame, not a wxDialog. Each of the other dialog in this example is a separate XRC file, each of which can be examined for how they work.</value> </object> </object> </object></object></resource>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?