X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d9abdbfa9cbd699694eaef7f8b345c88bfd498a..25b5adb446774de85425ed8da95f78a75964cd8e:/docs/doxygen/overviews/xrc_format.h diff --git a/docs/doxygen/overviews/xrc_format.h b/docs/doxygen/overviews/xrc_format.h index 324ecb909d..28845bfd4a 100644 --- a/docs/doxygen/overviews/xrc_format.h +++ b/docs/doxygen/overviews/xrc_format.h @@ -607,7 +607,7 @@ No additional properties. @beginTable @hdr3col{property, type, description} -@row3col{content, , +@row3col{content, items, Content of the control; this property has any number of @c \ XML elements as its children, with the items text as their text values (default: empty).} @@ -637,7 +637,7 @@ Example: @hdr3col{property, type, description} @row3col{selection, integer, Index of the initially selected item or -1 for no selection (default: -1).} -@row3col{content, , +@row3col{content, items, Content of the control; this property has any number of @c \ XML elements as its children, with the items text as their text values (default: empty).} @@ -710,7 +710,7 @@ object. @hdr3col{property, type, description} @row3col{selection, integer, Index of the initially selected item or -1 for no selection (default: not used).} -@row3col{content, , +@row3col{content, items, Content of the control; this property has any number of @c \ XML elements as its children, with the items text as their text values (default: empty).} @@ -874,7 +874,7 @@ page. @hdr3col{property, type, description} @row3col{selection, integer, Index of the initially selected item or -1 for no selection (default: -1).} -@row3col{content, , +@row3col{content, items, Content of the control; this property has any number of @c \ XML elements as its children, with the items text as their text values (default: empty).} @@ -1143,7 +1143,7 @@ Each @c propertysheetpage has exactly one non-toplevel window as its child. for a two-dimensional radiobox (default: 1).} @row3col{selection, integer, Index of the initially selected item or -1 for no selection (default: -1).} -@row3col{content, , +@row3col{content, items, Content of the control; this property has any number of @c \ XML elements as its children, with the items text as their text values (see below; default: empty).} @@ -1441,6 +1441,8 @@ properties: Item's kind is wxITEM_RADIO (default: 0)?} @row3col{toggle, @ref overview_xrcformat_type_bool, Item's kind is wxITEM_CHECK (default: 0)?} +@row3col{dropdown, see below, + Item's kind is wxITEM_DROPDOWN (default: 0)? (only available since wxWidgets 2.9.0)} @row3col{tooltip, @ref overview_xrcformat_type_text, Tooltip to use for the tool (default: none).} @row3col{longhelp, @ref overview_xrcformat_type_text, @@ -1449,7 +1451,11 @@ properties: Is the tool initially disabled (default: 0)?} @endTable -@c radio and @c toggle are mutually exclusive. +The presence of a @c dropdown property indicates that the tool is of type +wxITEM_DROPDOWN. It must be either empty or contain exactly one @ref +xrc_wxmenu child object defining the drop-down button associated menu. + +Notice that @c radio, @c toggle and @c dropdown are mutually exclusive. Children that are neither @c tool nor @c separator must be instances of classes derived from wxControl and are added to the toolbar using @@ -1467,6 +1473,20 @@ Example: bar.png + + view.png + + + + + + + + + + + + @@ -1714,8 +1734,8 @@ class-specific properties. All classes support the following properties: @beginTable @hdr3col{property, type, description} -@row3col{rows, integer, Number of rows in the grid (required).} -@row3col{cols, integer, Number of columns in the grid (required).} +@row3col{rows, integer, Number of rows in the grid (default: 0 - determine automatically).} +@row3col{cols, integer, Number of columns in the grid (default: 0 - determine automatically).} @row3col{vgap, integer, Vertical gap between children (default: 0).} @row3col{hgap, integer, Horizontal gap between children (default: 0).} @endTable @@ -1724,8 +1744,8 @@ class-specific properties. All classes support the following properties: @beginTable @hdr3col{property, type, description} -@row3col{rows, integer, Number of rows in the grid (required).} -@row3col{cols, integer, Number of columns in the grid (required).} +@row3col{rows, integer, Number of rows in the grid (default: 0 - determine automatically).} +@row3col{cols, integer, Number of columns in the grid (default: 0 - determine automatically).} @row3col{vgap, integer, Vertical gap between children (default: 0).} @row3col{hgap, integer, Horizontal gap between children (default: 0).} @row3col{growablerows, comma-separated integers list,