Classes | Namespaces | Typedefs | Enumerations | Functions
Menu.h File Reference

BMenu class definition and support structures. More...

Classes

class  BMenu
 Displays a list of menu items including additional menus arranged hierarchically. More...
 
struct  menu_info
 Information about a menu such as font size and family, background color, and flags. More...
 

Namespaces

 BPrivate
 launch_daemon interface
 

Typedefs

typedef bool(* menu_tracking_hook) (BMenu *menu, void *state)
 Defines the function passed into BMenu::SetTrackingHook(). More...
 

Enumerations

enum  menu_layout {
  B_ITEMS_IN_ROW = 0,
  B_ITEMS_IN_COLUMN,
  B_ITEMS_IN_MATRIX
}
 

Functions

status_t get_menu_info (menu_info *info)
 Fill out the menu_info struct into info. More...
 
status_t set_menu_info (menu_info *info)
 Set the menu's menu_info struct to info adjusting how the menu will look and work. More...
 

Detailed Description

BMenu class definition and support structures.

Typedef Documentation

◆ menu_tracking_hook

bool(* menu_tracking_hook)(BMenu *menu, void *state)

Defines the function passed into BMenu::SetTrackingHook().

Since
BeOS R3

Function Documentation

◆ get_menu_info()

status_t get_menu_info ( menu_info info)

Fill out the menu_info struct into info.

Since
BeOS R3

◆ set_menu_info()

status_t set_menu_info ( menu_info info)

Set the menu's menu_info struct to info adjusting how the menu will look and work.

Since
BeOS R3