AFXToolButton

This class contains a button for use in the tool bar or the toolbox.


AFXToolButton(p, label, icon=None, tgt=None, sel=0, asToggle=TRUE)

Constructor.

ArgumentTypeDefaultDescription
pFXComposite Parent widget.
labelString Label for the button.
iconFXIconNoneIcon for the button.
tgtFXObjectNoneMessage target.
selInt0Message ID.
asToggleIntTRUEAllow toggle off behavior.