Method | Description | |
---|---|---|
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 ( |
Method | Description | |
---|---|---|
OnAttachBehavior ( |
||
OnDataLoaded ( |
||
OnEngineDestroyed ( ) : void | ||
OnGraphicsCriticalFailure ( |
||
OnLoadData ( |
||
OnPostedNotification ( |
Method | Description | |
---|---|---|
HandleNotification ( |
||
SciterHost ( ) : System |
public AttachEvh ( |
||
evh | ||
return | void |
public CallFunction ( string name ) : SciterValue | ||
name | string | |
return | SciterValue |
public DebugInspect ( string inspector_exe_path ) : void | ||
inspector_exe_path | string | Path to the inspector executable, can be an absolute or relative path. |
return | void |
public EvalScript ( string script ) : SciterValue | ||
script | string | |
return | SciterValue |
public InvokePost ( System.Action what ) : void | ||
what | System.Action | The delegate which will be invoked |
return | void |
public InvokeSend ( System.Action what, uint timeout = 3000 ) : void | ||
what | System.Action | The delegate which will be invoked |
timeout | uint | |
return | void |
protected OnAttachBehavior ( |
||
el | ||
behaviorName | string | |
elementEvh | ||
return | bool |
protected OnDataLoaded ( |
||
sdl | ||
return | void |
protected OnGraphicsCriticalFailure ( |
||
hwnd | ||
return | void |
protected OnLoadData ( |
||
sld | ||
return | SciterXDef.LoadResult |
protected OnPostedNotification ( |
||
wparam | ||
lparam | ||
return |
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. /// |
return |
public RegisterBehaviorHandler ( string behaviorName, |
||
behaviorName | string | |
eventHandlerType | ||
return | void |
public SciterHost ( |
||
wnd | ||
return | System |
public SetupWindow ( |
||
hwnd | ||
return | void |
public SetupWindow ( |
||
wnd | ||
return | void |