C# Class Mono.Terminal.CheckBox

Inheritance: Widget
Afficher le fichier Open project: mono/mono-curses

Méthodes publiques

Méthode 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 méthode

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
Résultat System

CheckBox() public méthode

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
Résultat System

PositionCursor() public méthode

public PositionCursor ( ) : void
Résultat void

ProcessKey() public méthode

public ProcessKey ( int c ) : bool
c int
Résultat bool

ProcessMouse() public méthode

public ProcessMouse ( Curses ev ) : void
ev Curses
Résultat void

Redraw() public méthode

public Redraw ( ) : void
Résultat void