메소드 | 설명 | |
---|---|---|
AttachEvh ( |
Attacheds a window level event-handler: it receives every event for all elements of the page. You can only attach a single event-handler.
|
|
CallFunction ( string name ) : SciterValue | ||
DebugInspect ( ) : void |
Runs the inspector process, waits 1 second, and calls view.connectToInspector() to inspect your page. Assumes that the 'inspector(.exe)' executable is in the same directory of OmniCode.dll assembly (so just it to its dir) (Before everything it kills any previous instance of the inspector process)
|
|
DebugInspect ( string inspector_exe_path ) : void |
Runs the inspector process, waits 1 second, and calls view.connectToInspector() to inspect your page. (Before everything it kills any previous instance of the inspector process)
|
|
EvalScript ( string script ) : SciterValue | ||
InvokePost ( System.Action what ) : void |
Posts a message to the UI thread to invoke the given Action. This methods returns immediatly, does not wait for the message processing.
|
|
InvokeSend ( System.Action what, uint timeout = 3000 ) : void |
Sends a message to the UI thread to invoke the given Action. This methods waits for the message processing until timeout is exceeded.
|
|
PostNotification ( |
Sciter cross-platform alternative for posting a message in the message queue. It will be received as a SC_POSTED_NOTIFICATION notification by this SciterHost instance. Override OnPostedNotification() to handle it.
|
|
RegisterBehaviorHandler ( string behaviorName, |
||
SciterHost ( |
||
SetupWindow ( |
||
SetupWindow ( |
메소드 | 설명 | |
---|---|---|
OnAttachBehavior ( |
||
OnDataLoaded ( |
||
OnEngineDestroyed ( ) : void | ||
OnGraphicsCriticalFailure ( |
||
OnLoadData ( |
||
OnPostedNotification ( |
메소드 | 설명 | |
---|---|---|
HandleNotification ( |
||
SciterHost ( ) : System |
public AttachEvh ( |
||
evh | ||
리턴 | void |
public DebugInspect ( string inspector_exe_path ) : void | ||
inspector_exe_path | string | Path to the inspector executable, can be an absolute or relative path. |
리턴 | void |
public InvokePost ( System.Action what ) : void | ||
what | System.Action | The delegate which will be invoked |
리턴 | void |
public InvokeSend ( System.Action what, uint timeout = 3000 ) : void | ||
what | System.Action | The delegate which will be invoked |
timeout | uint | |
리턴 | void |
protected OnAttachBehavior ( |
||
el | ||
behaviorName | string | |
elementEvh | ||
리턴 | bool |
protected OnDataLoaded ( |
||
sdl | ||
리턴 | void |
protected OnGraphicsCriticalFailure ( |
||
hwnd | ||
리턴 | void |
protected OnLoadData ( |
||
sld | ||
리턴 | SciterXDef.LoadResult |
protected OnPostedNotification ( |
||
wparam | ||
lparam | ||
리턴 |
public PostNotification ( |
||
wparam | ||
lparam | ||
timeout | uint | /// If timeout is > 0 this methods SENDs the message instead of POSTing and this is the timeout for waiting the processing of the message. Leave it as 0 for actually POSTing the message. /// |
리턴 |
public RegisterBehaviorHandler ( string behaviorName, |
||
behaviorName | string | |
eventHandlerType | ||
리턴 | void |