C# Class gbrainy.Clients.Classical.GtkClient

显示文件 Open project: GNOME/gbrainy Class Usage Examples

Public Properties

Property Type Description
MIN_TRANSLATION int

Private Properties

Property Type Description
BuildUI void
GameSensitiveUI void
GetNextGame void
InitCoreLibraries void
OnActivateToolbar void
OnAllGames void
OnAnswerActivate void
OnAnswerButtonClicked void
OnAnswerFromGame void
OnCustomGame void
OnDeleteWindow void
OnEndGame void
OnExtending void
OnFullscreen void
OnHandleButtonPress void
OnHistory void
OnHorizontalToolbar void
OnLogicOnly void
OnMathOnly void
OnMemoryOnly void
OnMenuAbout void
OnMenuHelp void
OnMouseMotionEvent void
OnNewGame void
OnNextButtonClicked void
OnPauseGame void
OnPdfExport void
OnPreferences void
OnQuit void
OnTip void
OnVerbalOnly void
OnVerticalToolbar void
SendMouseEvent void
SetPauseResumeButton void
SetPauseResumeButtonUI void
ShowTranslationWarning void
UpdateSolution void

Public Methods

Method Description
ActiveInputControls ( bool active ) : void
GameManagerPreload ( GameManager gm ) : void
GtkClient ( ITranslations translations ) : Mono.Addins
Initialize ( ) : void
Main ( string args ) : void
ProcessDefaults ( ) : void
QueueDraw ( ) : void
SessionDrawRequest ( object o, EventArgs args ) : void
SessionUpdateUIElement ( object o, UpdateUIStateEventArgs args ) : void
ShouldShowTranslationWarning ( ) : bool
UpdateQuestion ( string question ) : void
UpdateStatusBar ( ) : void

Private Methods

Method Description
BuildUI ( ) : void
GameSensitiveUI ( ) : void
GetNextGame ( ) : void
InitCoreLibraries ( ) : void
OnActivateToolbar ( object sender, System args ) : void
OnAllGames ( object sender, EventArgs args ) : void
OnAnswerActivate ( object sender, EventArgs args ) : void
OnAnswerButtonClicked ( object sender, EventArgs args ) : void
OnAnswerFromGame ( object obj, GameAnswerEventArgs args ) : void
OnCustomGame ( object sender, EventArgs args ) : void
OnDeleteWindow ( object sender, Gtk.DeleteEventArgs args ) : void
OnEndGame ( object sender, EventArgs args ) : void
OnExtending ( object sender, EventArgs args ) : void
OnFullscreen ( object sender, EventArgs args ) : void
OnHandleButtonPress ( object o, ButtonPressEventArgs ev_args ) : void
OnHistory ( object sender, EventArgs args ) : void
OnHorizontalToolbar ( object sender, System args ) : void
OnLogicOnly ( object sender, EventArgs args ) : void
OnMathOnly ( object sender, EventArgs args ) : void
OnMemoryOnly ( object sender, EventArgs args ) : void
OnMenuAbout ( object sender, EventArgs args ) : void
OnMenuHelp ( object sender, EventArgs args ) : void
OnMouseMotionEvent ( object o, Gtk.MotionNotifyEventArgs ev_args ) : void
OnNewGame ( GameSession type ) : void
OnNextButtonClicked ( object sender, EventArgs args ) : void
OnPauseGame ( object sender, EventArgs args ) : void
OnPdfExport ( object sender, EventArgs args ) : void
OnPreferences ( object sender, EventArgs args ) : void
OnQuit ( object sender, EventArgs args ) : void
OnTip ( object sender, EventArgs args ) : void
OnVerbalOnly ( object sender, EventArgs args ) : void
OnVerticalToolbar ( object sender, System args ) : void
SendMouseEvent ( double ev_x, double ev_y, MouseEventType type ) : void
SetPauseResumeButton ( bool pause ) : void
SetPauseResumeButtonUI ( bool pause ) : void
ShowTranslationWarning ( ) : void
UpdateSolution ( string solution, gbrainy.Clients.Classical.Widgets.GameDrawingArea solution_type ) : void

Method Details

ActiveInputControls() public method

public ActiveInputControls ( bool active ) : void
active bool
return void

GameManagerPreload() public static method

public static GameManagerPreload ( GameManager gm ) : void
gm gbrainy.Core.Main.GameManager
return void

GtkClient() public method

public GtkClient ( ITranslations translations ) : Mono.Addins
translations ITranslations
return Mono.Addins

Initialize() public method

public Initialize ( ) : void
return void

Main() public static method

public static Main ( string args ) : void
args string
return void

ProcessDefaults() public method

public ProcessDefaults ( ) : void
return void

QueueDraw() public method

public QueueDraw ( ) : void
return void

SessionDrawRequest() public method

public SessionDrawRequest ( object o, EventArgs args ) : void
o object
args System.EventArgs
return void

SessionUpdateUIElement() public method

public SessionUpdateUIElement ( object o, UpdateUIStateEventArgs args ) : void
o object
args gbrainy.Core.Main.UpdateUIStateEventArgs
return void

ShouldShowTranslationWarning() public method

public ShouldShowTranslationWarning ( ) : bool
return bool

UpdateQuestion() public method

public UpdateQuestion ( string question ) : void
question string
return void

UpdateStatusBar() public method

public UpdateStatusBar ( ) : void
return void

Property Details

MIN_TRANSLATION public_oe property

public int MIN_TRANSLATION
return int