| Online Eiffel Documentation

EiffelStudio

# Items

All Vision2 items inherit EV_ITEM.

## What is an item?

A Vision2 item is an object that is used to display information within certain primitives. For example, EV_LIST may hold items of type EV_LIST_ITEM. All Vision2 items are descendants of EV_PIXMAPABLE meaning they can display an EV_PIXMAP.

## Item holders

Below is a structure showing the Vision2 components and the items that they accept. All the items types available in Vision2 are included:

- EV_LIST accepts items of type:
  - EV_LIST_ITEM
- EV_COMBO_BOX accepts items of type:
  - EV_LIST_ITEM
- EV_WINDOW accepts items of type (Use set_menu_bar):
  - EV_MENU_BAR accepts items of type:
    - EV_MENU accepts items of type:
      - EV_MENU
      - EV_MENU_ITEM
      - EV_MENU_SEPARATOR
      - EV_RADIO_MENU_ITEM
      - EV_CHECK_MENU_ITEM
- EV_MULTI_COLUMN_LIST accepts items of type:
  - EV_MULTI_COLUMN_LIST_ROW
- EV_TOOL_BAR accepts items of type:
  - EV_TOOL_BAR_BUTTON
  - EV_TOOL_BAR_RADIO_BUTTON
  - EV_TOOL_BAR_SEPARATOR
  - EV_TOOL_BAR_TOGGLE_BUTTON
- EV_TREE accepts items of type:
  - EV_DYNAMIC_TREE_ITEM accepts items of type:
    - EV_DYNAMIC_TREE_ITEM
    - EV_TREE_ITEM
  - EV_TREE_ITEM accepts items of type:
    - EV_DYNAMIC_TREE_ITEM
    - EV_TREE_ITEM