X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d64ad2c7e18f23ae0d6458a009bf832c04dde2aa..a6eac99d9edb1e8fef08780903827c8bad3f9bff:/docs/tech/tn0014.txt diff --git a/docs/tech/tn0014.txt b/docs/tech/tn0014.txt index ad67f45742..75b492fda0 100644 --- a/docs/tech/tn0014.txt +++ b/docs/tech/tn0014.txt @@ -291,6 +291,20 @@ attribute name attribute type default value, if any [(optional remarks.................... ...................................)] +Common attributes +----------------- +These attributes are supported by all windows: + +exstyle Int +bg Colour +fg Colour +enabled Boolean true +focused Boolean false +hidden Boolean false +tooltip I18nString +font Font +help I18nString + wxBitmap -------- This is a special case, because it does not create a wxWindow instance but @@ -409,7 +423,8 @@ wxRadioBox This control may have "dimension" (major dimension) and (initial) "selection" Integer subelements and a composite "content" element similar to wxCheckList. The only difference is that the "item" subelements can have an optional -"tooltip=I18nString" attribute to specify the per-item tooltip. +"tooltip=I18nString" and "helptext=I18nString" attributes to specify +the per-item tooltip and helptext. wxScrolledWindow @@ -417,6 +432,7 @@ wxScrolledWindow pos Position -1,-1 size Size -1,-1 style Style[wxScrolledWindow] wxHSCROLL | wxVSCROLL +scrollrate Size 0,0 wxScolledWindow may have children objects. @@ -439,6 +455,14 @@ splitter is created split, either horizontally or vertically depending on the value of "orientation" attribute. +wxStaticText +------------ + +wxStaticText supports one class-specific attribute which wraps the controls +contents at the specified boundary: + +wrap Integer, in pixels None + wxStatusBar ----------- fields Integer number of fields @@ -477,17 +501,9 @@ appear within wxToolBar node. Their attributes are as follows: label I18nString "" tooltip I18nString "" longhelp I18nString "" - pos Position -1,-1 Constraints: At most one of "toggle" and "radio" attributes may be 1. - Attribute "pos" may not appear if "label" or "radio" attributes - are used or if parent wxToolBar's style contains wxTB_TEXT. - - Note: - Use of "pos" attribute is strongly discouraged, it is deprecated - usage of wxToolBar and it is not supported by MSW and GTK - implementations. Children objects are added to the toolbar using AddTool for "tool" class, AddSeparator for "separator" and AddControl for other classes.