DirectCheckButtons are similar to buttons, except they represent a binary state that is toggled when it is clicked. Their usage is almost identical to regular buttons, except that the text area and box area can be modified separately.
Keyword | Definition | Value |
text_scale | Scale of the displayed text | (sx,sz) |
indicatorValue | The initial boolean state of the checkbox | 0 or 1 |
boxImage | Image on the checkbox | Image Path |
boxImageColor | Color of the image on the box | (R,G,B,A) |
boxImageScale | Scale of the displayed image | Number |
boxPlacement | Position of the box relative to the text area | 'left','right' |
boxRelief | Relief appearance of the checkbox | SUNKEN or RAISED |
boxBorder | Size of the border around the box | Number |
command | Command the button performs when clicked (0 or 1 is passed, depending on the state) | Function |
extraArgs | Extra arguments to the function specified in command | [Extra Arguments] |
commandButtons | Which mouse button must be clicked to do the command | LMB, MMB, or RMB |
rolloverSound | The sound made when the cursor rolls over the button | Sound File Path |
clickSound | The sound made when the cursor clicks on the button | Sound File Path |
pressEffect | Whether or not the button sinks in when clicked | <0 or 1> |
|