TickBox Gadget Class

From wiki.amiga.org
Jump to navigation Jump to search

Tickbox Gadget Class

NAME

   tickbox.gadget -- Create tickbox BOOPSI objects

SUPERCLASS

   gadgetclass

REQUIRES

   sysiclass

DESCRIPTION

METHODS

 ATTRIBUTES
   TICKBOX_TextPen (uint16)
     Defaults to TEXTPEN
     Applicability is (OM_NEW, OM_SET, OM_UPDATE)
   TICKBOX_BackgroundPen (uint16)
     Defaults to BACKGROUNDPEN
     Applicability is (OM_NEW, OM_SET, OM_UPDATE)
   TICKBOX_TextPlace (uint16)
     Placement of the tickbox text label.
     Supported values are TX_PLACETEXT_RIGHT and TX_PLACETEXT_LEFT.
     Defaults to TX_PLACETEXT_RIGHT
     Applicability is (OM_NEW, OM_SET, OM_UPDATE)
   TICKBOX_Invert (BOOL)
     With this tag set to TRUE the gadget will invert the values returned
     via GA_Selected: a ticked gadget will now have GA_Selected set to FALSE
     whereas an unticked gadget will report TRUE.
     Defaults to FALSE
     Applicability is (OM_NEW, OM_SET, OM_UPDATE)
   TICKBOX_Cross (BOOL)
     With this tag set to TRUE the selected state of the gadget will be
     graphically indicated by a cross rather than the default checkmark.
     Please avoid using this tag! The actual graphic indication of checked
     state should be a system-wide setting pertaining to all applications,
     rather than set individually. This tag may become deprecated and
     ineffective in the future.
     Defaults to FALSE
     Applicability is (OM_NEW, OM_SET, OM_UPDATE)

NOTES

BUGS

SEE ALSO