Package-level declarations

Types

Link copied to clipboard
class TemplateChildDelegate<OBJECT_TYPE : Widget, CHILD_TYPE>(name: String, templateWidgetGType: <Error class: unknown class>, childClass: KClass<CHILD_TYPE>)
Link copied to clipboard
Link copied to clipboard
open class TemplateWidgetType<T : Widget>(typeClass: KClass<T>, parentType: <Error class: unknown class><Widget>, templateId: String)

Companion object base class used for deriving Widget subclasses that make use of widget templates.

Functions

Link copied to clipboard

Helper function for converting responses received by MessageDialog response signals into a ResponseType enum value.

Link copied to clipboard
fun <Error class: unknown class><MessageDialog>.new(parent: Window? = null, flags: DialogFlags = DialogFlags(0u), type: MessageType, buttons: ButtonsType = ButtonsType.NONE, messageFormat: String? = null): MessageDialog
Link copied to clipboard

Set all margins to the same value.

fun Widget.setMargins(horizontal: Int = 0, vertical: Int = 0)

Set start and end margin to horizontal and top and bottom margin to vertical

fun Widget.setMargins(start: Int = 0, top: Int = 0, end: Int = 0, bottom: Int = 0)

Set margins.

Link copied to clipboard

Deletes current contents of @buffer, and inserts @text instead. This is automatically marked as an irreversible action in the undo stack. If you wish to mark this action as part of a larger undo operation, call method@TextBuffer.delete and method@TextBuffer.insert directly instead.