skrypton-api / com.waicool20.skrypton.jni.objects

Package com.waicool20.skrypton.jni.objects

Contains classes which have native components backing them.

Types

SKryptonApp

object SKryptonApp : NativeInterface

A singleton app instance for this library and is the main entry point for any program that wants to use any of the SKrypton APIs. This object is in charge of initializing the native components and managing it.

SKryptonEvent

abstract class SKryptonEvent : NativeInterface

Class that represents an event originating from SKrypton.

SKryptonKeyEvent

class SKryptonKeyEvent : SKryptonEvent

An event which indicates that a key action occurred.

SKryptonMouseEvent

class SKryptonMouseEvent : SKryptonEvent

An event which indicates that a mouse action occurred.

SKryptonResizeEvent

class SKryptonResizeEvent : SKryptonEvent

An event which indicates that a SKryptonWebView has been resized.

SKryptonWebProfile

class SKryptonWebProfile : NativeInterface

A class representing a profile used by the backing web engine.

SKryptonWebSettings

class SKryptonWebSettings : NativeInterface

A class representing settings used by the backing web engine.

SKryptonWebView

class SKryptonWebView : SKryptonWidget

A browser window that can be used to view and edit web documents.

SKryptonWheelEvent

class SKryptonWheelEvent : SKryptonEvent

An event which indicates a mouse wheel event occurred.

SKryptonWidget

abstract class SKryptonWidget : NativeInterface

A class representing a user interface element.

WebViewHighlighter

class WebViewHighlighter : SKryptonWidget

A class that provides a colored rectangle overlay to highlight certain areas of a web view.

Functions

webView

fun SKryptonApp.webView(url: String, action: SKryptonWebView.() -> Unit = {}): SKryptonWebView

Creates a SKryptonWebView under this SKryptonApp instance.