X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d14e4f21d2aa9e7edf0cf08a352743619f41e0b..a25a17732c2d4d34d5d35a5318053dd8c6e29722:/docs/doxygen/overviews/xrc_format.h diff --git a/docs/doxygen/overviews/xrc_format.h b/docs/doxygen/overviews/xrc_format.h index fd407a4923..00adb8849b 100644 --- a/docs/doxygen/overviews/xrc_format.h +++ b/docs/doxygen/overviews/xrc_format.h @@ -136,7 +136,7 @@ These come in two varieties: -# Object's properties. A @em property is a value describing part of object's behaviour, for example the "label" property on wxButton defines its label. In the most common form, property is a single element with text content - (""), but they may use nested subelements too (e.g. + ("\Cancel\"), but they may use nested subelements too (e.g. @ref overview_xrcformat_type_font "font property"). A property can only be listed once in an object's definition. -# Child objects. Window childs, sizers, sizer items or notebook pages @@ -482,8 +482,14 @@ from properties lists below. (default: not set).} @row3col{fg, @ref overview_xrcformat_type_colour, Foreground colour of the window (default: window's default).} +@row3col{ownfg, @ref overview_xrcformat_type_colour, + Non-inheritable foreground colour of the window, see + wxWindow::SetOwnForegroundColour() (default: none).} @row3col{bg, @ref overview_xrcformat_type_colour, Background colour of the window (default: window's default).} +@row3col{ownbg, @ref overview_xrcformat_type_colour, + Non-inheritable background colour of the window, see + wxWindow::SetOwnBackgroundColour() (default: none).} @row3col{enabled, @ref overview_xrcformat_type_bool, If set to 0, the control is disabled (default: 1).} @row3col{hidden, @ref overview_xrcformat_type_bool, @@ -492,6 +498,9 @@ from properties lists below. Tooltip to use for the control (default: not set).} @row3col{font, @ref overview_xrcformat_type_font, Font to use for the control (default: window's default).} +@row3col{ownfont, @ref overview_xrcformat_type_font, + Non-inheritable font to use for the control, see + wxWindow::SetOwnFont() (default: none).} @row3col{help, @ref overview_xrcformat_type_text, Context-sensitive help for the control, used by wxHelpProvider (default: not set).} @@ -581,9 +590,13 @@ Example: @beginTable @hdr3col{property, type, description} @row3col{label, @ref overview_xrcformat_type_text, - Label to display on the button (required).} + Label to display on the button (may be empty if only bitmap is used).} +@row3col{bitmap, @ref overview_xrcformat_type_bitmap, + Bitmap to display in the button (optional).} +@row3col{bitmapposition, @c wxLEFT|wxRIGHT|wxTOP|wxBOTTOM, + Position of the bitmap in the button, see wxButton::SetBitmapPosition().} @row3col{default, @ref overview_xrcformat_type_bool, - Should this button be the default button in dialog (default: 0)?} + Should this button be the default button in dialog (default: 0)?} @endTable @@ -983,7 +996,7 @@ wxLC_SMALL_ICON style. Report mode list controls (i.e. created with @c wxLC_REPORT style) can in addition have one or more @ref xrc_wxlistcol child elements. -@subsubsection xrc_wxlistcol listcol +@paragraph xrc_wxlistcol listcol The @c listcol class can only be used for wxListCtrl children. It can have the following properties: @@ -1003,7 +1016,7 @@ The columns are appended to the control in order of their appearance and may be referenced by 0-based index in the @c col attributes of subsequent @c listitem objects. -@subsubsection xrc_wxlistitem listitem +@paragraph xrc_wxlistitem listitem The @c listitem is a child object for the class @ref xrc_wxlistctrl. It can have the following properties: @@ -1042,7 +1055,7 @@ It can have the following properties: @row3col{state, @ref overview_xrcformat_type_style, The item state. Can be any combination of the following values: - @c wxLIST_STATE_FOCUSED: The item has the focus. - - @c wxLIST_STATE_SELECTED: The item is selected. + - @c wxLIST_STATE_SELECTED: The item is selected.} @row3col{text, @ref overview_xrcformat_type_string, The text label for the item. } @row3col{textcolour, @ref overview_xrcformat_type_colour,