📄 controls.xrc
字号:
<?xml version="1.0" encoding="ISO-8859-1"?><!-- $Id: controls.xrc,v 1.17 2006/11/27 15:02:49 VZ Exp $ --><resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.3.0.1"><object class="wxDialog" name="controls_dialog"> <title>Controls Example</title> <style>wxCAPTION|wxSYSTEM_MENU|wxRESIZE_BORDER</style> <exstyle>wxDIALOG_EX_CONTEXTHELP</exstyle> <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="wxNotebook" name="controls_notebook"> <usenotebooksizer>1</usenotebooksizer> <size>550,250</size> <object class="notebookpage"> <label>wxTreebook</label> <object class="wxTreebook" name="controls_treebook"> <size>350,280</size> <style>wxSUNKEN_BORDER</style> <object class="treebookpage"> <label>Page 1</label> <depth>0</depth> <object class="wxButton" name="controls_treebook_button1"> <size>200,180</size> <label>Button N1</label> </object> </object> <object class="treebookpage"> <label>Empty Page 2</label> <depth>1</depth> </object> <object class="treebookpage"> <label>Page 3</label> <depth>2</depth> <object class="wxButton" name="controls_treebook_button3"> <size>200,180</size> <label>Button N3</label> </object> </object> <object class="treebookpage"> <label>Page 4</label> <depth>1</depth> <object class="wxButton" name="controls_treebook_button4"> <size>200,180</size> <label>Button N4</label> </object> </object> </object> </object> <object class="notebookpage"> <label>wxToolBar</label> <object class="wxPanel" name="button"> <object class="wxFlexGridSizer"> <cols>2</cols> <rows>0</rows> <vgap>0</vgap> <hgap>0</hgap> <growablecols>0,1</growablecols> <growablerows>0,1</growablerows> <object class="sizeritem"> <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> <border>5</border> <object class="wxStaticText" name="controls_normal_button"> <label>Transparent background:</label> </object> </object> <object class="sizeritem"> <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> <border>5</border> <size>300,60</size> <object class="wxToolBar"> <style>wxTB_FLAT|wxTB_NODIVIDER</style> <margins>2,2</margins> <object class="tool" name="non_derived_dialog_tool_or_menuitem"> <tooltip>Non-Derived Dialog Example</tooltip> <bitmap>basicdlg.xpm</bitmap> <longhelp>The basic instance of wxDialog loaded via XRC</longhelp> </object> <object class="tool" name="derived_tool_or_menuitem"> <tooltip>Derived Dialog Example</tooltip> <bitmap>derivdlg.xpm</bitmap> <longhelp>The most important example: load an XRC for a derived dialog</longhelp> </object> <object class="tool" name="controls_tool_or_menuitem"> <tooltip>Controls Example</tooltip> <bitmap>controls.xpm</bitmap> <longhelp>A notebook displaying all the wxWidgets controls</longhelp> </object> <object class="tool" name="uncentered_tool_or_menuitem"> <tooltip>Uncentered Example</tooltip> <bitmap>uncenter.xpm</bitmap> <longhelp>Disable autocentering of a dialog on its parent</longhelp> </object> <separator/> <object class="tool" name="custom_class_tool_or_menuitem"> <tooltip>Custom Class Example</tooltip> <bitmap>custclas.xpm</bitmap> <longhelp>Embed your own custom classes into an XRC</longhelp> </object> <object class="tool" name="platform_property_tool_or_menuitem"> <tooltip>Platform Specific Example</tooltip> <bitmap>platform.xpm</bitmap> <longhelp>Customize parts of an interface for a desired platform</longhelp> </object> <object class="tool" name="art_provider_tool_or_menuitem"> <tooltip>wxArtProvider Example</tooltip> <bitmap>artprov.xpm</bitmap> <longhelp>Use wxArtProvider to insert desired icons at runtime</longhelp> </object> <object class="tool" name="variable_expansion_tool_or_menuitem"> <tooltip>Variable Expansion Example</tooltip> <bitmap>variable.xpm</bitmap> <longhelp>Replace variables in the XRC file at runtime</longhelp> </object> <object class="wxComboBox"> <content> <item>Just</item> <item>a combobox</item> <item>in the toolbar</item> </content> </object> <object class="wxOwnerDrawnComboBox"> <content> <item>Owner Drawn</item> <item>combobox</item> <item>in the toolbar</item> </content> </object> </object> </object> <object class="sizeritem"> <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> <border>5</border> <object class="wxStaticText" name="controls_statictext2_button"> <label>Fixed color background:</label> </object> </object> <object class="sizeritem"> <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> <border>5</border> <object class="wxToolBar"> <style>wxTB_FLAT|wxTB_NODIVIDER</style> <bg>#bbbbff</bg> <margins>2,2</margins> <object class="tool" name="non_derived_dialog_tool_or_menuitem"> <tooltip>Non-Derived Dialog Example</tooltip> <bitmap>basicdlg.xpm</bitmap> <longhelp>The basic instance of wxDialog loaded via XRC</longhelp> </object> <object class="tool" name="derived_tool_or_menuitem"> <tooltip>Derived Dialog Example</tooltip> <bitmap>derivdlg.xpm</bitmap> <longhelp>The most important example: load an XRC for a derived dialog</longhelp> </object> <object class="tool" name="controls_tool_or_menuitem"> <tooltip>Controls Example</tooltip> <bitmap>controls.xpm</bitmap> <longhelp>A notebook displaying all the wxWidgets controls</longhelp> </object> <object class="tool" name="uncentered_tool_or_menuitem"> <tooltip>Uncentered Example</tooltip> <bitmap>uncenter.xpm</bitmap> <longhelp>Disable autocentering of a dialog on its parent</longhelp> </object> <separator/> <object class="tool" name="custom_class_tool_or_menuitem"> <tooltip>Custom Class Example</tooltip> <bitmap>custclas.xpm</bitmap> <longhelp>Embed your own custom classes into an XRC</longhelp> </object> <object class="tool" name="platform_property_tool_or_menuitem"> <tooltip>Platform Specific Example</tooltip> <bitmap>platform.xpm</bitmap> <longhelp>Customize parts of an interface for a desired platform</longhelp> </object> <object class="tool" name="art_provider_tool_or_menuitem"> <tooltip>wxArtProvider Example</tooltip> <bitmap>artprov.xpm</bitmap> <longhelp>Use wxArtProvider to insert desired icons at runtime</longhelp> </object> <object class="tool" name="variable_expansion_tool_or_menuitem"> <tooltip>Variable Expansion Example</tooltip> <bitmap>variable.xpm</bitmap> <longhelp>Replace variables in the XRC file at runtime</longhelp> </object> <object class="wxComboBox"> <content> <item>Just</item> <item>a combobox</item> <item>in the toolbar</item> </content> </object> <object class="wxOwnerDrawnComboBox"> <content> <item>Owner Drawn</item> <item>combobox</item> <item>in the toolbar</item> </content> </object> </object> </object> </object> </object> </object> <object class="notebookpage"> <label>wxBitmapButton</label> <object class="wxPanel" name="bitmapbutton"> <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>wxALIGN_CENTRE|wxALL</flag> <border>5</border> <object class="wxBitmapButton" name="controls_bitmapbutton"> <bitmap>controls.xpm</bitmap> </object> </object> </object> </object> </object> <object class="notebookpage"> <label>wxButton</label>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -