home *** CD-ROM | disk | FTP | other *** search
- TABLE OF CONTENTS
-
- switchwindow/buttonclass
- switchwindow/buttonclass switchwindow/buttonclass
-
- NAME
- buttonclass -- button gadget with frame.
-
- FUNCTION
- Class: buttonclass
- Superclass: gadgetclass
-
- METHODS
- OM_NEW -- Create a new object and attaches a new frameiclass
- to it. If an image (GA_Text or GA_LabelImage) is given,
- the object sets it's width and height round this object.
-
- OM_DISPOSE -- Dispose object amd frameiclass image.
-
- OM_SET
- OM_UPDATE --
-
- OM_GET --
-
- GM_GOACTIVE --
-
- GM_HANDLEINPUT -- Handle incoming input
-
- GM_GOINACTIVE --
-
- GM_RENDER --
-
- GM_LAYOUT --
-
- TAGS
- GA_Image (Object *) -- An image to display. This is used as the
- button's frame. It must support IM_FRAMEBOX, otherwise the gadget
- can't do any GA_Text/GA_LabelImage centering/framing.
- Defaults to NULL.
-
- Applicability is (ISG).
-
- GA_IntuiText (struct IntuiText *) -- An (struct IntuiText *) to
- render.
- See GA_Text for details, the font used is got from IntuiText
- structure.
- NOT IMPLEMENTED YET.
-
- Applicability is (ISG).
-
- GA_LabelImage (Object *) -- An image to display. The buttons frame
- will be used (using IM_FRAMEBOX) to center this image.
- Defaults to NULL.
-
- Applicability is (ISG).
-
- GA_Text (STRPTR) -- Text to display. Like GA_LableImage, this text
- will be centered.
- The font used is got from BUTTONA_TextFont attribute.
- If no BUTTONA_TextFont was given, the object can't render
- any text.
-
- Defaults to NULL.
-
- Applicability is (ISGU).
-
- GA_FollowMouse (BOOL) -- Determine whether the gadget should send
- continous msgs for each IECLASS_TIMER event (which comes every
- 1/10 seconds) or not. Toggleselect buttons ignores this.
- Defaults to FALSE.
-
- Applicability is (ISGU).
-
- GA_Immediate (BOOL) -- If TRUE, toggleselect gadgets will set their
- state with SELECTDOWN, not SELECTUP.
- Defaults to FALSE.
-
- Applicability is (ISGU).
-
- GA_ToggleSelect (BOOL) -- Determine wheter the gadget should work
- like a toogle-select gadget or not.
- Changing this attribute will automatically clear the GA_Selected
- flag.
- Defaults to FALSE.
-
- Applicability is (ISGU).
-
- GA_Selected (BOOL) -- Determine if gadget if currently in selected
- state or not. Mainly used in conjunction with GA_ToggleSelect.
- Defaults to FALSE.
-
- Applicability is (ISGUN) when GA_ToggleSelect is TRUE,
- otherwise (ISGU).
-
- BUTTONA_TextFont (struct TextFont *) -- Font to use when rendering
- GA_Text strings.
- Defaults to NULL.
-
- Applicability is (IS).
-
- BUGS
-
-