appletmenuops.h

Go to the documentation of this file.
00001 
00002 /*  $Id: appletmenuops.h 355 2005-01-11 22:48:55Z andreradke $    */
00003 
00004 /* copyright 1991-96 UserLand Software, Inc. All Rights Reserved.*/
00005 
00006 
00007 #define menuinclude
00008 
00009 
00010 typedef boolean (*tymenuvisitcallback) (MenuHandle, short);
00011 
00012 
00013 boolean setmenuitem (MenuHandle, short, bigstring);
00014 
00015 boolean getmenuitem (MenuHandle, short, bigstring);
00016 
00017 void deletemenuitem (MenuHandle, short);
00018 
00019 void deleteallmenuitems (MenuHandle hmenu);
00020 
00021 void stylemenuitem (MenuHandle, short, short);
00022 
00023 void disablemenuitem (MenuHandle, short);
00024 
00025 void enablemenuitem (MenuHandle, short);
00026 
00027 void setmenuitemenable (MenuHandle, short, boolean);
00028 
00029 void installmenubefore (short, short, MenuHandle *);
00030 
00031 void installmenu (short, MenuHandle *);
00032 
00033 void installhierarchicmenu (short, MenuHandle *);
00034 
00035 void deletemenu (short);
00036 
00037 short countmenuitems (MenuHandle);
00038 
00039 void uncheckallmenuitems (MenuHandle);
00040 
00041 void enableallmenus (void);
00042 
00043 void disableallmenus (void);
00044 
00045 void disableallmenuitems (MenuHandle);
00046 
00047 void enableallmenuitems (MenuHandle);
00048 
00049 void checkmenuitem (MenuHandle, short, boolean);
00050 
00051 void setmenuitemmark (MenuHandle, short, char);
00052 
00053 boolean visitonemenu (short, tymenuvisitcallback);
00054 
00055 boolean visitallmenus (tymenuvisitcallback);
00056 
00057 boolean pushmenuitem (MenuHandle, bigstring, boolean);
00058 
00059 void disableemptymenuitems (MenuHandle);
00060 
00061 boolean findinmenu (MenuHandle, bigstring, short *);

Generated on Wed May 31 18:19:43 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6