C# 클래스 Mono.Terminal.Button

상속: Widget
파일 보기 프로젝트 열기: mono/mono-curses 1 사용 예제들

공개 메소드들

메소드 설명
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