(send a-wx:style-delta set-delta change-command param) -> wx:style-delta% object
change-command : small integer
param = 0 : small integer
The change-command argument specifies how the value of v
is used or ignored. The possible values for change-command
are:
- wx:const-change-nothing -- reset all changes (v is ignored)
- wx:const-change-normal -- turn off all styles and resizings (v is ignored)
- wx:const-change-family -- change the font family (v is a family; see
wx:font%)
- wx:const-change-style -- change the style of the font (v is a style)
- wx:const-change-italic -- change the style of the font to italic (v is ignored)
- wx:const-change-toggle-style -- toggle the style of the font (v is a style; see
wx:font%)
- wx:const-change-weight -- change the weight of the font (v is a weight; see
wx:font%)
- wx:const-change-bold -- change the weight of the font to bold (v is ignored)
- wx:const-change-toggle-weight -- toggle the weight of the font (v is a weight)
- wx:const-change-underline -- set the underline status to a particular value (v is 0 (#f) or 1 (#t))
- wx:const-change-size -- change the size to an absolute value (v is a size)
- wx:const-change-alignment -- change the alignment(v is an alignment)
- wx:const-change-toggle-underline -- underline regions that are currently not underlined, and vice-versa (v is ignored)
- wx:const-change-bigger -- make the text larger (v is an additive amount)
- wx:const-change-smaller -- make the text smaller (v is an additive amount)
- wx:const-change-normal-colour -- change the foreground and background to black and white, respectively (v is ignored)
Except for wx:const-change-nothing and
wx:const-change-normal, these commands only change part of the
delta. Thus, applying wx:const-hange-bold and then
wx:const-change-italic sets the delta for both the style and
weight change.