X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56572188ee00e43ac185f89dd7acb0872fc00b0f..623114052c4973e3fa9c09569bf3fece351729ed:/samples/xrc/rc/controls.xrc diff --git a/samples/xrc/rc/controls.xrc b/samples/xrc/rc/controls.xrc index e441962fb9..909bbef433 100644 --- a/samples/xrc/rc/controls.xrc +++ b/samples/xrc/rc/controls.xrc @@ -1,10 +1,13 @@ - + + + Controls Example + wxDIALOG_EX_CONTEXTHELP 1 1 @@ -18,7 +21,199 @@ 5 1 - 550,200 + 550,250 + + + + 350,280 + + + + 0 + + 200,180 + + + + + + 1 + + + + 2 + + 200,180 + + + + + + 1 + + 200,180 + + + + + + + + + + 2 + 0 + 0 + 0 + 0,1 + 0,1 + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + + + + wxALIGN_CENTER_VERTICAL|wxALL + 5 + 300,60 + + + 2,2 + + Non-Derived Dialog Example + basicdlg.xpm + The basic instance of wxDialog loaded via XRC + + + Derived Dialog Example + derivdlg.xpm + The most important example: load an XRC for a derived dialog + + + Controls Example + controls.xpm + A notebook displaying all the wxWidgets controls + + + Uncentered Example + uncenter.xpm + Disable autocentering of a dialog on its parent + + + + Custom Class Example + custclas.xpm + Embed your own custom classes into an XRC + + + Platform Specific Example + platform.xpm + Customize parts of an interface for a desired platform + + + wxArtProvider Example + artprov.xpm + Use wxArtProvider to insert desired icons at runtime + + + Variable Expansion Example + variable.xpm + Replace variables in the XRC file at runtime + + + + Just + a combobox + in the toolbar + + + + + Owner Drawn + combobox + in the toolbar + + + + + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + + + + wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + #bbbbff + 2,2 + + Non-Derived Dialog Example + basicdlg.xpm + The basic instance of wxDialog loaded via XRC + + + Derived Dialog Example + derivdlg.xpm + The most important example: load an XRC for a derived dialog + + + Controls Example + controls.xpm + A notebook displaying all the wxWidgets controls + + + Uncentered Example + uncenter.xpm + Disable autocentering of a dialog on its parent + + + + Custom Class Example + custclas.xpm + Embed your own custom classes into an XRC + + + Platform Specific Example + platform.xpm + Customize parts of an interface for a desired platform + + + wxArtProvider Example + artprov.xpm + Use wxArtProvider to insert desired icons at runtime + + + Variable Expansion Example + variable.xpm + Replace variables in the XRC file at runtime + + + + Just + a combobox + in the toolbar + + + + + Owner Drawn + combobox + in the toolbar + + + + + + + + + @@ -211,6 +406,31 @@ + + wxALIGN_TOP|wxALIGN_CENTRE_HORIZONTAL|wxALL + 5 + + 200,-1 + + 2 + + This is a + basicdlg.xpm + + + read-only + derivdlg.xpm + + + wxBitmapComboBox + uncenter.xpm + + + control + custclas.xpm + + + @@ -303,7 +523,7 @@ I dream things that never were, and say why not"</i> <p><pre>Fixed width for code snippets.</pre> <p>Horizontal rules to organize sections: <hr> - <p>A wxImage is worth a thousand words and can be also used. + <p>A wxImage is worth a thousand words and can be also used. @@ -338,6 +558,34 @@ + + + + + 1 + 0 + 0 + 0 + 0 + 0 + + wxALIGN_CENTER|wxALL + 5 + + 250,160 + + + <b>Bold</b> Milk + <i>Rainbow <font color="red">P</font><font color="blue">i</font><font color="yellow">z</font><font color="green">z</font><font color="purple">a</font></i> + <tt>Plain bread</tt> + <font color="orange" size="+1">Orange juice</font> + Paper towels + + + + + + @@ -455,11 +703,13 @@ 1 0 - Power 108 - WMMS 100.7 - Energy 98.3 - CHUM FM + Power 108 + Power 0 + WMMS 100.7 + Energy 98.3 + CHUM FM 92FM + @@ -728,6 +978,21 @@ "So many pretty widgets" said Pooh, said he. "So many pretty widgets", said Pooh. + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + + + + wxALIGN_CENTER_VERTICAL|wxALL + 5 + + 180,-1 + true love + + @@ -752,6 +1017,171 @@ + + + + + + 2 + 0 + 10 + 10 + 0,1 + 0,1,2,3 + + wxALIGN_CENTRE|wxALL + 5 + + + + + + wxGROW|wxALL + + 5 + + #00ff00 + + + + + wxALIGN_CENTRE|wxALL + 5 + + + + + + wxGROW|wxALL + + 5 + + Here goes a message + + *.png + + + + + wxALIGN_CENTRE|wxALL + 5 + + + + + + wxGROW|wxALL + + 5 + + + + Here goes a message + + + + wxALIGN_CENTRE|wxALL + 5 + + + + + + wxGROW|wxALL + + 5 + + + + 20 + wxSYS_DEFAULT_GUI_FONT + + + + + + + + + + + + 2 + 1 + 0 + 0 + 0,1 + 0 + + + wxALIGN_CENTRE|wxALL + 5 + + + + + + + wxALIGN_CENTRE|wxALL + 5 + + throbber.gif + stop.xpm + + + + + + + + + + + + 1 + 1 + 0 + 0 + 0 + 0 + + + wxGROW|wxALL + 5 + + + + 0 + + + + 1 + 1 + 0 + 0 + 0 + 0 + + + wxALIGN_CENTRE|wxALL + 5 + + + + + + + + + + + + + + @@ -821,6 +1251,7 @@ 5 + 1