X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec376c8fd9ff813392030426acd2317c6fa6527e..cbef7338c1c7763042704c74d5ee6f62c7e10733:/samples/xrc/rc/controls.xrc diff --git a/samples/xrc/rc/controls.xrc b/samples/xrc/rc/controls.xrc index ed706c7857..b50afb8112 100644 --- a/samples/xrc/rc/controls.xrc +++ b/samples/xrc/rc/controls.xrc @@ -1,10 +1,13 @@ + + Controls Example + wxDIALOG_EX_CONTEXTHELP 1 1 @@ -16,212 +19,46 @@ wxGROW|wxALIGN_CENTER_VERTICAL|wxALL 5 - - 1 - 550,200 - - - - 350,280 - - - - 0 - - 200,180 - - - - - - 1 - - - - 2 - - 200,180 - - - - - - 1 - - 200,180 - - - - - - - - + + 550,250 + + + + 2 - 0 + 1 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 - - - - + 0 + - wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + wxALIGN_CENTRE|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 - - - - - - - - - - - - - 1 - 0 - 0 - 0 - 0 - 0 wxALIGN_CENTRE|wxALL 5 - - controls.xpm + + throbber.gif + stop.xpm + - + + - 2 + 4 0 0 0 @@ -256,10 +93,39 @@ + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + + + + wxALIGN_CENTRE|wxALL + 5 + + controls.xpm + + + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + + + + wxALIGN_CENTRE|wxALL + 5 + + + Whatever it might be + + - + @@ -279,7 +145,7 @@ - + @@ -307,7 +173,7 @@ - + @@ -335,7 +201,7 @@ - + @@ -363,7 +229,56 @@ - + + + + + + 1 + 1 + 0 + 0 + 0 + 0 + + + wxGROW|wxALL + 5 + + + + 0 + + + + 1 + 1 + 0 + 0 + 0 + 0 + + + wxALIGN_CENTRE|wxALL + 5 + + + + + + + + + + + + + + + @@ -389,10 +304,35 @@ + + 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 + + + - + @@ -439,16 +379,26 @@ - - + + - 1 - 0 - 0 - 0 - 0 - 0 + 2 + 1 + 1 + + wxALIGN_CENTRE|wxALL + + + + + + wxALIGN_CENTRE|wxALL + + + + + wxALIGN_CENTRE|wxALL 5 @@ -456,10 +406,17 @@ 200,200 + + wxEXPAND|wxALL + 5 + + Text files (*.txt) + + - + @@ -481,14 +438,14 @@ 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. - + @@ -516,9 +473,9 @@ - - - + + + 1 0 @@ -526,18 +483,98 @@ 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 + + + + + + + + + + wxALIGN_CENTER|wxALL 5 220,160 - + + + 16,16 + + + + + + + + + Name + 105 + 0 + + + Weight + wxLIST_FORMAT_RIGHT + 105 + 1 + + + + + + wxALIGN_CENTER|wxALL + 5 + + 220,160 + + + Information + + + + Question? + + + + + + wxALIGN_CENTER|wxALL + 5 + + 220,160 + + + 20,20 + + + + + Information + 0 + + + Question? + 1 + - + @@ -558,7 +595,7 @@ - + @@ -586,7 +623,7 @@ - + @@ -614,7 +651,7 @@ - + @@ -633,18 +670,20 @@ 1 0 - Power 108 + Power 108 + Power 0 WMMS 100.7 Energy 98.3 - CHUM FM + CHUM FM 92FM + - + @@ -668,7 +707,7 @@ - + @@ -715,7 +754,7 @@ - + @@ -737,7 +776,7 @@ - + @@ -759,7 +798,7 @@ - + @@ -773,13 +812,13 @@ wxALIGN_CENTRE|wxALL 5 - appicon.xpm + stop.xpm - + @@ -800,7 +839,7 @@ - + @@ -829,7 +868,7 @@ - + @@ -849,7 +888,7 @@ - + @@ -906,10 +945,253 @@ "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 + + - + + + + + + 2 + 0 + 0 + 0 + 1 + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + + + + wxEXPAND|wxALL + 5 + + + 2,2 + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + 1 + + + + + 1 + + + + + + + Just + a combobox + in the toolbar + + + + + Owner Drawn + combobox + in the toolbar + + + + + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + + + + wxEXPAND|wxALL + 5 + + + #bbbbff + 2,2 + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + 1 + + + + + 1 + + + + + + + Just + a combobox + in the toolbar + + + + + Owner Drawn + combobox + in the toolbar + + + + + + + + + + + + + 350,280 + + + + + + + + 0 + + + + + + + 1 + + + + + + + 2 + + + + + + + + + + + 350,280 + + + 16,16 + + + + + + + + 0 + 0 + 1 + + 200,180 + + + + + + 1 + 1 + 1 + + + + 2 + 2 + + 200,180 + + + + + + 1 + 3 + + 200,180 + + + + + + + @@ -931,7 +1213,7 @@ - + @@ -953,7 +1235,7 @@ 5 - #00ff00 + #00ff00 @@ -972,7 +1254,7 @@ Here goes a message *.png - + @@ -987,7 +1269,7 @@ 5 - + Here goes a message @@ -1005,17 +1287,17 @@ 5 - + 20 wxSYS_DEFAULT_GUI_FONT - + - + @@ -1024,7 +1306,7 @@ 0 0 0 - 0,1,2,3,4,5,6 + 0,1,2,3,4,5 wxALIGN_CENTRE|wxALL 5 @@ -1049,8 +1331,8 @@ wxALIGN_CENTRE|wxALL 5 - - + + @@ -1060,13 +1342,6 @@ - - wxALIGN_CENTRE|wxALL - 5 - - - - wxALIGN_CENTRE|wxALL 5 @@ -1084,6 +1359,7 @@ 5 + 1