home *** CD-ROM | disk | FTP | other *** search
- TABLE OF CONTENTS
-
- switchwindow/menuclass
- switchwindow/menuclass switchwindow/menuclass
-
- NAME
- menuclass --
-
- FUNCTION
- Class: menuclass
- Superclass: icclass
-
- METHODS
- OM_NEW -- Create a new object.
-
- OM_SET -- Set an object's attributes.
-
- OM_GET -- Obtain the value of an attribute.
-
- OM_UPDATE
- OM_NOTIFY --
-
- OM_DISPOSE -- Dispose object.
-
- ...
- TAGS
- MENUA_Type (UBYTE) -- One of gadgtools NM_TITLE, MN_ITEM, NM_SUB.
- Defaults to 0, which is an INVALID type.
-
- Applicability is (ISGU).
-
- MENUA_LabelText (STRPTR) -- Menu text, which is mutually exclusive to
- MENUA_LabelImage.
- Defaults to NULL.
-
- Applicability is (ISGU).
-
- MENUA_LabelImage (Object *) -- Menu image, which is mutually exclusive
- to
- MENUA_LabelText.
- Defaults to NULL.
-
- Applicability is (ISGU).
-
- MENUA_CommKey (STRPTR) -- Menu command key
- Defaults to NULL.
-
- Applicability is (ISGU).
-
- MENUA_Disabled (BOOL) -- Menu/Item/Sub will be disabled
- Defaults to FALSE.
-
- Applicability is (ISGU).
-
- MENUA_Visible (BOOL) -- Menu/Item/Sub will be visible.
- Defaults to TRUE.
-
- Applicability is (ISGU).
-
- MENUA_CheckIt (BOOL) -- Like intuition's CHECKIT flag.
- Defaults to FALSE.
-
- Applicability is (ISGU).
-
- MENUA_Checked (BOOL) -- Like intuition's CHECKED flag.
- Will be added to OM_NOTIFY attrlist if MENUA_CheckIt is TRUE.
- Defaults to FALSE.
-
- Applicability is (ISGNU).
-
- MENUA_MenuToggle (BOOL) -- Like intuition's MENUTOGGLE flag.
- Defaults to FALSE.
-
- Applicability is (ISGU).
-
- MENUA_MutualExclude (LONG) -- Mutual exclude.
- Defaults to 0L.
-
- Applicability is (ISGU).
-
- MENUA_ID (UWORD) --
- Added to OM_NOTIFY attrlist.
- Defaults to 0U.
-
- Applicability is (ISGNU).
-
- MENUA_Help (BOOL) --
- Added to OM_NOTIFY attrlist if a IDCMP_MENUHELP message
- triggered it.
-
- Applicability is (N).
-
- BUGS
- Change of an attribute using OM_SET/OM_UPDATE/MENUM_UPDATEMENU/
- MENUM_UPDATEMENUITEM causes whole menu strip to be rebuild.
-
-