Unit 'mui' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

MUIC_Menu

Objects of menu class describe exactly one pulldown menu.

Declaration

Source position: mui.pas line 940

const MUIC_Menu: PChar = 'Menu.mui';

Description

Objects of menu class describe exactly one pulldown menu. They don't feature many options themselves, but as a subclass of Family class, they act as father for their several menu item objects.

Inheritance
rootclass --> Notify --> Family --> Menu

Fields
_______________ Field _______________ ___ Access ___ _____ Type _____ Short description
MUIA_Menu_Enabled ISG BOOL (0/1) Enable or disable the complete menu.
MUIA_Menu_Title ISG PChar Describe the title of the menu.
Fields inherited from Family
_______________ Field _______________ ___ Access ___ _____ Type _____ Short description
MUIA_Family_Child I__ PObject_ Add a child to family child list on creation
MUIA_Family_List I__ PMinList Returns a pointer to a struct MinList which contains the children of a family object.
Fields inherited from Notify
_______________ Field _______________ ___ Access ___ _____ Type _____ Short description
MUIA_ApplicationObject __G PObject_ Obtain a pointer to the application object that some gadget belongs
MUIA_AppMessage __G PAppMessage Listen to this field to get AppMessages (Icon dropped on the App window)
MUIA_HelpLine ISG LongInt Define a line in a help file specified with MUIA_Application_HelpFile
MUIA_HelpNode ISG PChar Define a node in a help file specified with MUIA_Application_HelpFile
MUIA_NoNotify _S_ BOOL (0/1) Prevent notification from being triggered on attribute set
MUIA_ObjectID ISG LongWord Identification for object on save/load
MUIA_Parent __G PObject_ Get a pointer to the parent object of the current object
MUIA_Revision __G LongInt Get the revision number of an objects class
MUIA_UserData ISG LongWord A general purpose value to fill in any kind of information
MUIA_Version __G LongInt Get the version number of an objects class

Methods inherited from Family
_______________ Method _______________ Short description
MUIM_Family_AddHead Add an object as first object to the family.
MUIM_Family_AddTail Add an object as last object to the family.
MUIM_Family_Insert Add an object after another object to the family.
MUIM_Family_Remove Remove an object from a family.
MUIM_Family_Sort Sort the children of a family.
Methods inherited from Notify
_______________ Method _______________ Short description
MUIM_CallHook Call a standard amiga callback hook
MUIM_Export Called on export object to dataspace
MUIM_FindUData Find a userdata in objects and childrens list and return the object
MUIM_GetConfigItem
MUIM_GetUData Find a userdata in objects and childrens list and return an attribute of the object
MUIM_Import Called on import object from dataspace
MUIM_KillNotify Kills previously given notifications on specific attributes
MUIM_KillNotifyObj
MUIM_MultiSet Set an attribute for multiple objects.
MUIM_NoNotifySet Acts like MUIM_Notify but doesn't trigger any notification
MUIM_Notify Add a notification event handler to an object
MUIM_Set Set an attribute to a value
MUIM_SetAsString Set a (text kind) attribute to a string.
MUIM_SetUData Find a userdata in objects and childrens list and set an attribute of the object
MUIM_SetUDataOnce This method performs like MUIM_SetUData, but stop at first found object.
MUIM_WriteLong This method simply writes a longword somewhere to memory.
MUIM_WriteString This method simply copies a string somewhere to memory.

Documentation generated on: 2021-07-30