C# Класс Mono.Terminal.Button

Наследование: Widget
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Button ( int x, int y, string s ) : System

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

The size of the button is computed based on the text length. This button is not a default button.

Button ( int x, int y, string s, bool is_default ) : System

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

If the value for is_default is true, a special decoration is used, and the enter key on a dialog would implicitly activate this button.

Button ( string s ) : System

Public constructor, creates a button based on the given text at position 0,0

The size of the button is computed based on the text length. This button is not a default button.

Button ( string s, bool is_default ) : System

Public constructor, creates a button based on the given text.

If the value for is_default is true, a special decoration is used, and the enter key on a dialog would implicitly activate this button.

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

Приватные методы

Метод Описание
CheckKey ( int key ) : bool

Описание методов

Button() публичный Метод

Public constructor, creates a button based on the given text at the given position.
The size of the button is computed based on the text length. This button is not a default button.
public Button ( int x, int y, string s ) : System
x int
y int
s string
Результат System

Button() публичный Метод

Public constructor, creates a button based on the given text at the given position.
If the value for is_default is true, a special decoration is used, and the enter key on a dialog would implicitly activate this button.
public Button ( int x, int y, string s, bool is_default ) : System
x int
y int
s string
is_default bool
Результат System

Button() публичный Метод

Public constructor, creates a button based on the given text at position 0,0
The size of the button is computed based on the text length. This button is not a default button.
public Button ( string s ) : System
s string
Результат System

Button() публичный Метод

Public constructor, creates a button based on the given text.
If the value for is_default is true, a special decoration is used, and the enter key on a dialog would implicitly activate this button.
public Button ( string s, bool is_default ) : System
s string
is_default bool
Результат System

PositionCursor() публичный Метод

public PositionCursor ( ) : void
Результат void

ProcessColdKey() публичный Метод

public ProcessColdKey ( int key ) : bool
key int
Результат bool

ProcessHotKey() публичный Метод

public ProcessHotKey ( int key ) : bool
key int
Результат bool

ProcessKey() публичный Метод

public ProcessKey ( int c ) : bool
c int
Результат bool

ProcessMouse() публичный Метод

public ProcessMouse ( Curses ev ) : void
ev Curses
Результат void

Redraw() публичный Метод

public Redraw ( ) : void
Результат void