Self-installing menus contain a definition (what items will appear on the menu, how it will behave and what it will look like) and any extra custom functions (procedures that run when the matching menu item is clicked) that you choose to provide.