iPXE
Data Fields
menu_item Struct Reference

A menu item. More...

#include <menu.h>

Data Fields

struct list_head list
 List of menu items.
const char * label
 Label.
const char * text
 Text.
int shortcut
 Shortcut key.
int is_default
 Is default item.

Detailed Description

A menu item.

Definition at line 27 of file menu.h.


Field Documentation

List of menu items.

Definition at line 29 of file menu.h.

Referenced by add_menu_item(), destroy_menu(), menu_item(), and menu_loop().

const char* menu_item::label

Label.

Definition at line 31 of file menu.h.

Referenced by add_menu_item(), choose_exec(), draw_menu_item(), item_exec(), menu_loop(), and show_menu().

const char* menu_item::text

Text.

Definition at line 33 of file menu.h.

Referenced by add_menu_item(), draw_menu_item(), and item_exec().

Shortcut key.

Definition at line 35 of file menu.h.

Referenced by add_menu_item(), and menu_loop().

Is default item.

Definition at line 37 of file menu.h.

Referenced by add_menu_item(), and show_menu().


The documentation for this struct was generated from the following file: