C# 클래스 Mono.Terminal.Application

파일 보기 프로젝트 열기: mono/mono-curses

공개 프로퍼티들

프로퍼티 타입 설명
ColorBasic int
ColorDialogFocus int
ColorDialogHotFocus int
ColorDialogHotNormal int
ColorDialogNormal int
ColorError int
ColorErrorFocus int
ColorErrorHot int
ColorErrorHotFocus int
ColorFocus int
ColorHotFocus int
ColorHotNormal int
ColorMarked int
ColorMarkedSelected int
ColorMenu int
ColorMenuHot int
ColorMenuHotSelected int
ColorMenuSelected int
ColorNormal int
MouseEventsAvailable Curses.Event

공개 메소드들

메소드 설명
Begin ( Container container ) : RunState

Starts running a new container or dialog box.

Use this method if you want to start the dialog, but you want to control the main loop execution manually by calling the RunLoop method (for example, to start the dialog, but continuing to process events). Use the returned value as the argument to RunLoop and later to the End method to remove the container from the screen.

End ( RunState state ) : void

Use this method to complete an execution started with Begin

Error ( string caption, string text ) : void

Displays an error message.

Info ( string caption, string text ) : void

Displays an informational message.

Init ( bool disable_color ) : void

Initializes the runtime. The boolean flag indicates whether we are forcing color to be off.

MakeColor ( short f, short b ) : int

Creates a new Curses color to be used by Gui.cs apps

Msg ( bool error, string caption, string t ) : void

Displays a message on a modal dialog box.

The error boolean indicates whether this is an error message box or not.

Refresh ( ) : void

Forces a repaint of the screen.

Run ( Container container ) : void

Runs the main loop on the given container.

This method is used to start processing events for the main application, but it is also used to run modal dialog boxes.

RunLoop ( RunState state ) : void

Runs the main loop for the created dialog

Calling this method will block until the dialog has completed execution.

RunLoop ( RunState state, bool wait ) : void

Runs the main loop for the created dialog

Use the wait parameter to control whether this is a blocking or non-blocking call.

Stop ( ) : void

비공개 메소드들

메소드 설명
End ( Container container ) : void
ProcessChar ( Container container ) : void
Redraw ( Container container ) : void
Shutdown ( ) : void

메소드 상세

Begin() 공개 정적인 메소드

Starts running a new container or dialog box.
Use this method if you want to start the dialog, but you want to control the main loop execution manually by calling the RunLoop method (for example, to start the dialog, but continuing to process events). Use the returned value as the argument to RunLoop and later to the End method to remove the container from the screen.
public static Begin ( Container container ) : RunState
container Container
리턴 RunState

End() 공개 정적인 메소드

Use this method to complete an execution started with Begin
public static End ( RunState state ) : void
state RunState
리턴 void

Error() 공개 정적인 메소드

Displays an error message.
public static Error ( string caption, string text ) : void
caption string
text string
리턴 void

Info() 공개 정적인 메소드

Displays an informational message.
public static Info ( string caption, string text ) : void
caption string
text string
리턴 void

Init() 공개 정적인 메소드

Initializes the runtime. The boolean flag indicates whether we are forcing color to be off.
public static Init ( bool disable_color ) : void
disable_color bool
리턴 void

MakeColor() 공개 정적인 메소드

Creates a new Curses color to be used by Gui.cs apps
public static MakeColor ( short f, short b ) : int
f short
b short
리턴 int

Msg() 공개 정적인 메소드

Displays a message on a modal dialog box.
The error boolean indicates whether this is an error message box or not.
public static Msg ( bool error, string caption, string t ) : void
error bool
caption string
t string
리턴 void

Refresh() 공개 정적인 메소드

Forces a repaint of the screen.
public static Refresh ( ) : void
리턴 void

Run() 공개 정적인 메소드

Runs the main loop on the given container.
This method is used to start processing events for the main application, but it is also used to run modal dialog boxes.
public static Run ( Container container ) : void
container Container
리턴 void

RunLoop() 공개 정적인 메소드

Runs the main loop for the created dialog
Calling this method will block until the dialog has completed execution.
public static RunLoop ( RunState state ) : void
state RunState
리턴 void

RunLoop() 공개 정적인 메소드

Runs the main loop for the created dialog
Use the wait parameter to control whether this is a blocking or non-blocking call.
public static RunLoop ( RunState state, bool wait ) : void
state RunState
wait bool
리턴 void

Stop() 공개 정적인 메소드

public static Stop ( ) : void
리턴 void

프로퍼티 상세

ColorBasic 공개적으로 정적으로 프로퍼티

The basic color of the terminal.
public static int ColorBasic
리턴 int

ColorDialogFocus 공개적으로 정적으로 프로퍼티

Color for focused widgets on a dialog.
public static int ColorDialogFocus
리턴 int

ColorDialogHotFocus 공개적으로 정적으로 프로퍼티

Color for a hotkey in a focused widget on a dialog.
public static int ColorDialogHotFocus
리턴 int

ColorDialogHotNormal 공개적으로 정적으로 프로퍼티

Color for hotkeys in an unfocused widget on a dialog.
public static int ColorDialogHotNormal
리턴 int

ColorDialogNormal 공개적으로 정적으로 프로퍼티

Color for unfocused widgets on a dialog.
public static int ColorDialogNormal
리턴 int

ColorError 공개적으로 정적으로 프로퍼티

Color used for error text.
public static int ColorError
리턴 int

ColorErrorFocus 공개적으로 정적으로 프로퍼티

Color used for focused widgets on an error dialog.
public static int ColorErrorFocus
리턴 int

ColorErrorHot 공개적으로 정적으로 프로퍼티

Color used for hotkeys in error dialogs
public static int ColorErrorHot
리턴 int

ColorErrorHotFocus 공개적으로 정적으로 프로퍼티

Color used for hotkeys in a focused widget in an error dialog
public static int ColorErrorHotFocus
리턴 int

ColorFocus 공개적으로 정적으로 프로퍼티

Color used for focused widgets.
public static int ColorFocus
리턴 int

ColorHotFocus 공개적으로 정적으로 프로퍼티

Color used for hotkeys in focused widgets.
public static int ColorHotFocus
리턴 int

ColorHotNormal 공개적으로 정적으로 프로퍼티

Color used for hotkeys in unfocused widgets.
public static int ColorHotNormal
리턴 int

ColorMarked 공개적으로 정적으로 프로퍼티

Color used for marked entries.
public static int ColorMarked
리턴 int

ColorMarkedSelected 공개적으로 정적으로 프로퍼티

Color used for marked entries that are currently selected with the cursor.
public static int ColorMarkedSelected
리턴 int

ColorMenu 공개적으로 정적으로 프로퍼티

The regular color for a menu entry
public static int ColorMenu
리턴 int

ColorMenuHot 공개적으로 정적으로 프로퍼티

The hot color for a menu entry
public static int ColorMenuHot
리턴 int

ColorMenuHotSelected 공개적으로 정적으로 프로퍼티

The hot color for a selected item on a menu
public static int ColorMenuHotSelected
리턴 int

ColorMenuSelected 공개적으로 정적으로 프로퍼티

The regular color for a selected item on a menu
public static int ColorMenuSelected
리턴 int

ColorNormal 공개적으로 정적으로 프로퍼티

Color used for unfocused widgets.
public static int ColorNormal
리턴 int

MouseEventsAvailable 공개적으로 정적으로 프로퍼티

A flag indicating which mouse events are available
public static Curses.Event MouseEventsAvailable
리턴 Curses.Event