|
Constructor, makes a labeled button - Parameters:
-
- type and toggle
- <type> arg is used to determine if the button is toggled and if it is a combo button or not
- toggled can be VDK_CBUTTON_TOGGLED or VDK_CBUTTON_UNTOGGLED
- type can be: VDK_CBUTTON_NORMAL or VDK_CBUTTON_COMBO
- toggled and type can be or'ed togheter except that VDK_CBUTTON_TOGGLED | VDK_CBUTTON_COMBO does not produce a combo toggled button.
- accelerators
- custom button support accelerators, setting an underline into button label makes an accelerator. this makes that a clicked or toggled signal will be emitted using alt+a keystroke.
|