Package org.gtk.dsl.gio
Types
SubmenuMenu
Link copied to clipboard
Functions
actionEntry
Link copied to clipboard
fun actionEntry(name: String, onActivate: ActionMapEntryFunction = null, parameterType: String? = null, state: String? = null, changeState: ActionMapEntryFunction = null): ActionEntry
Content copied to clipboard
addSimpleAction
Link copied to clipboard
fun ActionMap.addSimpleAction(name: String, action: SimpleAction.() -> Unit)
Content copied to clipboard
booleanActionEntry
Link copied to clipboard
fun booleanActionEntry(name: String, onActivate: ActionMapEntryFunction = null, state: Boolean? = null, changeState: ActionMapEntryFunction = null): ActionEntry
Content copied to clipboard
disable
Link copied to clipboard
enable
Link copied to clipboard
lookUpSimpleAction
Link copied to clipboard
Content copied to clipboard
kotlinx-gtk 23 / 03 / 2021
notification
Link copied to clipboard
inline fun notification(title: String, body: String = "", icon: Icon? = null, priority: Notification.Priority = Notification.Priority.NORMAL, builder: Notification.() -> Unit = {}): Notification
Content copied to clipboard
kotlinx-gtk 14 / 04 / 2021
onCreateUI
Link copied to clipboard
inline fun <T : Application> T.onCreateUI(crossinline uiBuilder: T.() -> Unit)
Content copied to clipboard
Invokes uiBuilder when Application.onActivate occurs
onNameLost
Link copied to clipboard
inline fun Application.onNameLost(noinline onNameLost: Application.() -> Boolean)
Content copied to clipboard
onShutdown
Link copied to clipboard
inline fun Application.onShutdown(noinline onShutdown: Application.() -> Unit)
Content copied to clipboard
onStartup
Link copied to clipboard
inline fun Application.onStartup(noinline onStartup: Application.() -> Unit)
Content copied to clipboard
section
Link copied to clipboard
fun SubmenuMenu.section(label: String? = null, builder: MenuItem.Section.() -> Unit = {}, content: SubmenuMenu.() -> Unit = {}): MenuItem.Section
Content copied to clipboard
sendNotification
Link copied to clipboard
inline fun Application.sendNotification(title: String, id: String? = null, body: String = "", icon: Icon? = null, priority: Notification.Priority = Notification.Priority.NORMAL, builder: Notification.() -> Unit = {}): Notification
Content copied to clipboard
simpleAction
Link copied to clipboard
fun simpleAction(name: String, action: SimpleAction.() -> Unit): SimpleAction
Content copied to clipboard
stringActionEntry
Link copied to clipboard
fun stringActionEntry(name: String, onActivate: ActionMapEntryFunction = null, state: String? = null, changeState: ActionMapEntryFunction = null): ActionEntry
Content copied to clipboard
submenu
Link copied to clipboard
fun Menu.submenu(label: String?, builder: MenuItem.Submenu.() -> Unit = {}, content: SubmenuMenu.() -> Unit = {}): MenuItem.Submenu
Content copied to clipboard