C# Class Mono.Terminal.CheckBox

Inheritance: Widget
Datei anzeigen Open project: mono/mono-curses

Public Methods

Method Description
CheckBox ( int x, int y, string s ) : System

Public constructor, creates a CheckButton based on the given text at the given position.

The size of CheckButton is computed based on the text length. This CheckButton is not toggled.

CheckBox ( int x, int y, string s, bool is_checked ) : System

Public constructor, creates a CheckButton based on the given text at the given position and a state.

The size of CheckButton is computed based on the text length.

PositionCursor ( ) : void
ProcessKey ( int c ) : bool
ProcessMouse ( Curses ev ) : void
Redraw ( ) : void

Method Details

CheckBox() public method

Public constructor, creates a CheckButton based on the given text at the given position.
The size of CheckButton is computed based on the text length. This CheckButton is not toggled.
public CheckBox ( int x, int y, string s ) : System
x int
y int
s string
return System

CheckBox() public method

Public constructor, creates a CheckButton based on the given text at the given position and a state.
The size of CheckButton is computed based on the text length.
public CheckBox ( int x, int y, string s, bool is_checked ) : System
x int
y int
s string
is_checked bool
return System

PositionCursor() public method

public PositionCursor ( ) : void
return void

ProcessKey() public method

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

ProcessMouse() public method

public ProcessMouse ( Curses ev ) : void
ev Curses
return void

Redraw() public method

public Redraw ( ) : void
return void