X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af1337b041be734b7e64bcf7a06086268ae6895e..afd8770decb39abb628b3a80800b5bba6cf19dd8:/samples/xrc/rc/controls.xrc diff --git a/samples/xrc/rc/controls.xrc b/samples/xrc/rc/controls.xrc index 119716ad1b..d9cf1813b8 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 + + + + + + + + + @@ -130,7 +325,7 @@ - + 1 @@ -142,7 +337,7 @@ wxALIGN_CENTRE|wxALL 5 - + 180,180 Download library @@ -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 + + + + + + @@ -380,6 +628,34 @@ + + + + + 1 + 0 + 0 + 0 + 0 + 0 + + wxALIGN_CENTRE|wxALL + 5 + + 50 + 100 + 400,200 + + #0000FF + + + #00FF00 + + + + + + @@ -427,10 +703,10 @@ 1 0 - Power 108 - WMMS 100.7 - Energy 98.3 - CHUM FM + Power 108 + WMMS 100.7 + Energy 98.3 + CHUM FM 92FM @@ -700,6 +976,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 + + @@ -724,6 +1015,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 + + + + + + + + + + + + + + @@ -793,6 +1249,7 @@ 5 + 1