Support more styles, bitmaps, margins in wxToggleButtonXmlHandler
Add missing styles, bitmaps, and margin property. Closes #22474.
This commit is contained in:
committed by
Vadim Zeitlin
parent
473c88885c
commit
8f735c695b
@@ -893,6 +893,17 @@ Example:
|
||||
@hdr3col{property, type, description}
|
||||
@row3col{bitmap, @ref overview_xrcformat_type_bitmap,
|
||||
Label to display on the button (default: none).}
|
||||
@row3col{pressed, @ref overview_xrcformat_type_bitmap,
|
||||
Bitmap to show when the button is pressed (default: none, same as @c bitmap). @since 3.1.7}
|
||||
@row3col{focus, @ref overview_xrcformat_type_bitmap,
|
||||
Bitmap to show when the button has focus (default: none, same as @c bitmap). @since 3.1.7}
|
||||
@row3col{disabled, @ref overview_xrcformat_type_bitmap,
|
||||
Bitmap to show when the button is disabled (default: none, same as @c bitmap). @since 3.1.7}
|
||||
@row3col{current, @ref overview_xrcformat_type_bitmap,
|
||||
Bitmap to show when the mouse cursor hovers above the bitmap (default: none, same as @c bitmap). @since 3.1.7}
|
||||
@row3col{margins, @ref overview_xrcformat_type_size,
|
||||
Set the margins between the bitmap and the text of the button.
|
||||
This method is currently only implemented under MSW. If it is not called, a default margin is used around the bitmap. @since 3.1.7}
|
||||
@row3col{checked, @ref overview_xrcformat_type_bool,
|
||||
Should the button be checked/pressed initially (default: 0)?}
|
||||
@endTable
|
||||
@@ -2229,6 +2240,17 @@ No additional properties.
|
||||
Should the button be checked/pressed initially (default: 0)?}
|
||||
@row3col{bitmap, @ref overview_xrcformat_type_bitmap,
|
||||
Bitmap to display in the button (optional). @since 3.1.1}
|
||||
@row3col{pressed, @ref overview_xrcformat_type_bitmap,
|
||||
Bitmap to show when the button is pressed (default: none, same as @c bitmap). @since 3.1.7}
|
||||
@row3col{focus, @ref overview_xrcformat_type_bitmap,
|
||||
Bitmap to show when the button has focus (default: none, same as @c bitmap). @since 3.1.7}
|
||||
@row3col{disabled, @ref overview_xrcformat_type_bitmap,
|
||||
Bitmap to show when the button is disabled (default: none, same as @c bitmap). @since 3.1.7}
|
||||
@row3col{current, @ref overview_xrcformat_type_bitmap,
|
||||
Bitmap to show when the mouse cursor hovers above the bitmap (default: none, same as @c bitmap). @since 3.1.7}
|
||||
@row3col{margins, @ref overview_xrcformat_type_size,
|
||||
Set the margins between the bitmap and the text of the button.
|
||||
This method is currently only implemented under MSW. If it is not called, a default margin is used around the bitmap. @since 3.1.7}
|
||||
@row3col{bitmapposition, @c wxLEFT|wxRIGHT|wxTOP|wxBOTTOM,
|
||||
Position of the bitmap in the button, see wxButton::SetBitmapPosition() (default: wxLEFT). @since 3.1.1}
|
||||
@endTable
|
||||
|
||||
Reference in New Issue
Block a user