C# Class Mono.Terminal.MenuBar

Inheritance: Container
显示文件 Open project: mono/mono-curses Class Usage Examples

Public Methods

Method Description
Activate ( int idx ) : void

Activates the menubar

MenuBar ( MenuBarItem menus ) : System
PositionCursor ( ) : void
ProcessKey ( int key ) : bool
Redraw ( ) : void

Private Methods

Method Description
DrawMenu ( int idx, int col, int line ) : void
Selected ( MenuItem item ) : void

Method Details

Activate() public method

Activates the menubar
public Activate ( int idx ) : void
idx int
return void

MenuBar() public method

public MenuBar ( MenuBarItem menus ) : System
menus MenuBarItem
return System

PositionCursor() public method

public PositionCursor ( ) : void
return void

ProcessKey() public method

public ProcessKey ( int key ) : bool
key int
return bool

Redraw() public method

public Redraw ( ) : void
return void