Свойство | Type | Description | |
---|---|---|---|
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 |
Méthode | Description | |
---|---|---|
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. |
|
End ( |
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 ( |
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 ( |
Runs the main loop for the created dialog Calling this method will block until the dialog has completed execution. |
|
RunLoop ( |
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 |
Méthode | Description | |
---|---|---|
End ( |
||
ProcessChar ( |
||
Redraw ( |
||
Shutdown ( ) : void |
public static Begin ( |
||
container | ||
Résultat |
public static End ( |
||
state | ||
Résultat | void |
public static Error ( string caption, string text ) : void | ||
caption | string | |
text | string | |
Résultat | void |
public static Info ( string caption, string text ) : void | ||
caption | string | |
text | string | |
Résultat | void |
public static Init ( bool disable_color ) : void | ||
disable_color | bool | |
Résultat | void |
public static MakeColor ( short f, short b ) : int | ||
f | short | |
b | short | |
Résultat | int |
public static Msg ( bool error, string caption, string t ) : void | ||
error | bool | |
caption | string | |
t | string | |
Résultat | void |
public static Run ( |
||
container | ||
Résultat | void |
public static RunLoop ( |
||
state | ||
Résultat | void |
public static RunLoop ( |
||
state | ||
wait | bool | |
Résultat | void |
public static int ColorDialogHotNormal | ||
Résultat | int |
public static int ColorMenuHotSelected | ||
Résultat | int |