Метод | Описание | |
---|---|---|
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 CallFunction ( string name ) : SciterValue | ||
name | string | |
Результат | SciterValue |
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 EvalScript ( string script ) : SciterValue | ||
script | string | |
Результат | SciterValue |
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 |
public SciterHost ( |
||
wnd | ||
Результат | System |
public SetupWindow ( |
||
hwnd | ||
Результат | void |
public SetupWindow ( |
||
wnd | ||
Результат | void |