Refer to predefined constants in documentation
This commit is contained in:
@@ -238,10 +238,10 @@ protected:
|
||||
calling wxMultiChoiceProperty::GetValueAsArrayInt().
|
||||
|
||||
<b>Supported special attributes:</b>
|
||||
- "UserStringMode": If > 0, allow user to manually enter strings that are
|
||||
not in the list of choices. If this value is 1, user strings are
|
||||
preferably placed in front of valid choices. If value is 2, then those
|
||||
strings will placed behind valid choices.
|
||||
- ::wxPG_ATTR_MULTICHOICE_USERSTRINGMODE: If > 0, allow user to manually
|
||||
enter strings that are not in the list of choices. If this value is 1,
|
||||
user strings are preferably placed in front of valid choices. If value is
|
||||
2, then those strings will placed behind valid choices.
|
||||
*/
|
||||
class wxMultiChoiceProperty : public wxPGProperty
|
||||
{
|
||||
@@ -292,9 +292,9 @@ protected:
|
||||
Property representing wxDateTime.
|
||||
|
||||
<b>Supported special attributes:</b>
|
||||
- "DateFormat": Determines displayed date format.
|
||||
- "PickerStyle": Determines window style used with wxDatePickerCtrl.
|
||||
Default is wxDP_DEFAULT | wxDP_SHOWCENTURY. Using wxDP_ALLOWNONE
|
||||
- ::wxPG_DATE_FORMAT: Determines displayed date format.
|
||||
- ::wxPG_DATE_PICKER_STYLE: Determines window style used with wxDatePickerCtrl.
|
||||
Default is ::wxDP_DEFAULT | ::wxDP_SHOWCENTURY. Using ::wxDP_ALLOWNONE
|
||||
enables additional support for unspecified property value.
|
||||
*/
|
||||
class wxDateProperty : public wxPGProperty
|
||||
|
@@ -1423,7 +1423,7 @@ public:
|
||||
Returns map-like storage of property's attributes.
|
||||
|
||||
@remarks
|
||||
If extra style wxPG_EX_WRITEONLY_BUILTIN_ATTRIBUTES is set,
|
||||
If extra style ::wxPG_EX_WRITEONLY_BUILTIN_ATTRIBUTES is set,
|
||||
then builtin-attributes are not included in the storage.
|
||||
*/
|
||||
const wxPGAttributeStorage& GetAttributes() const;
|
||||
|
@@ -411,7 +411,7 @@ public:
|
||||
Returns map-like storage of property's attributes.
|
||||
|
||||
@remarks
|
||||
Note that if extra style wxPG_EX_WRITEONLY_BUILTIN_ATTRIBUTES is set,
|
||||
Note that if extra style ::wxPG_EX_WRITEONLY_BUILTIN_ATTRIBUTES is set,
|
||||
then builtin-attributes are not included in the storage.
|
||||
*/
|
||||
const wxPGAttributeStorage& GetPropertyAttributes( wxPGPropArg id ) const;
|
||||
|
@@ -35,7 +35,8 @@ public:
|
||||
Basic property with string value.
|
||||
|
||||
<b>Supported special attributes:</b>
|
||||
- "Password": set to 1 in order to enable wxTE_PASSWORD on the editor.
|
||||
- ::wxPG_STRING_PASSWORD: set to @true in order to enable ::wxTE_PASSWORD
|
||||
on the editor.
|
||||
|
||||
@remarks
|
||||
- If value "<composed>" is set, then actual value is formed (or composed)
|
||||
@@ -140,7 +141,7 @@ public:
|
||||
|
||||
|
||||
<b>Supported special attributes:</b>
|
||||
- "Min", "Max": Specify acceptable value range.
|
||||
- ::wxPG_ATTR_MIN, ::wxPG_ATTR_MAX: Specify acceptable value range.
|
||||
*/
|
||||
class wxIntProperty : public wxPGProperty
|
||||
{
|
||||
@@ -181,13 +182,13 @@ public:
|
||||
Seamlessly supports 64-bit integer (wxULongLong) on overflow.
|
||||
|
||||
<b>Supported special attributes:</b>
|
||||
- "Min", "Max": Specify acceptable value range.
|
||||
- "Base": Define base. Valid constants are wxPG_BASE_OCT, wxPG_BASE_DEC,
|
||||
wxPG_BASE_HEX and wxPG_BASE_HEXL (lowercase characters). Arbitrary bases
|
||||
are <b>not</b> supported.
|
||||
- "Prefix": Possible values are wxPG_PREFIX_NONE, wxPG_PREFIX_0x, and
|
||||
wxPG_PREFIX_DOLLAR_SIGN. Only wxPG_PREFIX_NONE works with Decimal and Octal
|
||||
numbers.
|
||||
- ::wxPG_ATTR_MIN, ::wxPG_ATTR_MAX: Specify acceptable value range.
|
||||
- ::wxPG_UINT_BASE: Define base. Valid constants are ::wxPG_BASE_OCT,
|
||||
::wxPG_BASE_DEC, ::wxPG_BASE_HEX and ::wxPG_BASE_HEXL (lowercase characters).
|
||||
Arbitrary bases are <b>not</b> supported.
|
||||
- ::wxPG_UINT_PREFIX: Possible values are ::wxPG_PREFIX_NONE, ::wxPG_PREFIX_0x,
|
||||
and ::wxPG_PREFIX_DOLLAR_SIGN. Only ::wxPG_PREFIX_NONE works with Decimal
|
||||
and Octal numbers.
|
||||
|
||||
@remarks
|
||||
- For example how to use seamless 64-bit integer support, see wxIntProperty
|
||||
@@ -226,8 +227,8 @@ protected:
|
||||
Basic property with double-precision floating point value.
|
||||
|
||||
<b>Supported special attributes:</b>
|
||||
- "Precision": Sets the (max) precision used when floating point value is
|
||||
rendered as text. The default -1 means infinite precision.
|
||||
- ::wxPG_FLOAT_PRECISION: Sets the (max) precision used when floating point
|
||||
value is rendered as text. The default -1 means infinite precision.
|
||||
*/
|
||||
class wxFloatProperty : public wxPGProperty
|
||||
{
|
||||
@@ -267,8 +268,10 @@ protected:
|
||||
Basic property with boolean value.
|
||||
|
||||
<b>Supported special attributes:</b>
|
||||
- "UseCheckbox": Set to 1 to use check box editor instead of combo box.
|
||||
- "UseDClickCycling": Set to 1 to cycle combo box instead showing the list.
|
||||
- ::wxPG_BOOL_USE_CHECKBOX: Set to @true to use check box editor instead
|
||||
of combo box.
|
||||
- ::wxPG_BOOL_USE_DOUBLE_CLICK_CYCLING: Set to @true to cycle combo box
|
||||
instead showing the list.
|
||||
*/
|
||||
class wxBoolProperty : public wxPGProperty
|
||||
{
|
||||
@@ -508,14 +511,14 @@ public:
|
||||
Like wxLongStringProperty, but the button triggers file selector instead.
|
||||
|
||||
<b>Supported special attributes:</b>
|
||||
- "Wildcard": Sets wildcard (see wxFileDialog for format details), "All
|
||||
files..." is default.
|
||||
- "ShowFullPath": Default 1. When 0, only the file name is shown (i.e. drive
|
||||
and directory are hidden).
|
||||
- "ShowRelativePath": If set, then the filename is shown relative to the
|
||||
given path string.
|
||||
- "InitialPath": Sets the initial path of where to look for files.
|
||||
- "DialogTitle": Sets a specific title for the dir dialog.
|
||||
- ::wxPG_FILE_WILDCARD: Sets wildcard (see wxFileDialog for format details),
|
||||
"All files..." is default.
|
||||
- ::wxPG_FILE_SHOW_FULL_PATH: Default 1. When 0, only the file name is shown
|
||||
(i.e. drive and directory are hidden).
|
||||
- ::wxPG_FILE_SHOW_RELATIVE_PATH: If set, then the filename is shown relative
|
||||
to the given path string.
|
||||
- ::wxPG_FILE_INITIAL_PATH: Sets the initial path of where to look for files.
|
||||
- ::wxPG_FILE_DIALOG_TITL: Sets a specific title for the dir dialog.
|
||||
- ::wxPG_FILE_DIALOG_STYLE: Sets a specific wxFileDialog style for the file
|
||||
dialog (since 2.9.4).
|
||||
*/
|
||||
@@ -607,7 +610,7 @@ public:
|
||||
Like wxLongStringProperty, but the button triggers dir selector instead.
|
||||
|
||||
<b>Supported special attributes:</b>
|
||||
- "DialogMessage": Sets specific message in the dir selector.
|
||||
- ::wxPG_DIR_DIALOG_MESSAGE: Sets specific message in the dir selector.
|
||||
*/
|
||||
class wxDirProperty : public wxLongStringProperty
|
||||
{
|
||||
|
Reference in New Issue
Block a user