Application

open class Application(applicationPointer: GtkApplication_autoptr) : Application

kotlinx-gtk 08 / 02 / 2021

See also

Constructors

Application
Link copied to clipboard
fun Application(applicationID: String, flags: GApplicationFlags = G_APPLICATION_FLAGS_NONE)
Application
Link copied to clipboard
fun Application(applicationPointer: GtkApplication_autoptr)

Types

Companion
Link copied to clipboard
object Companion

Functions

activate
Link copied to clipboard
fun activate()
addAction
Link copied to clipboard
open fun addAction(action: Action)
addActionEntries
Link copied to clipboard
open fun addActionEntries(entries: List<ActionEntry>, userData: Any?)
addMainOption
Link copied to clipboard
fun addMainOption(longName: String, shortName: Char, description: String, flags: OptionFlags, arg: OptionArg, argDescription: String?)
addMainOptionEntries
Link copied to clipboard
fun addMainOptionEntries(entries: Array<OptionEntry>)
addOnActivateCallback
Link copied to clipboard
fun addOnActivateCallback(action: TypedNoArgFunc<Application>): SignalManager
addOnCommandLineCallback
Link copied to clipboard
fun addOnCommandLineCallback(action: ApplicationCommandLineFunc): SignalManager
addOnNameLostCallback
Link copied to clipboard
addOnOpenCallback
Link copied to clipboard
fun addOnOpenCallback(action: ApplicationOpenFunc): SignalManager
addOnQueryEndCallback
Link copied to clipboard
fun addOnQueryEndCallback(action: TypedNoArgFunc<Application>): SignalManager
addOnShutdownCallback
Link copied to clipboard
fun addOnShutdownCallback(action: TypedNoArgFunc<Application>): SignalManager
addOnStartupCallback
Link copied to clipboard
fun addOnStartupCallback(action: TypedNoArgFunc<Application>): SignalManager
addOnWindowAddedCallback
Link copied to clipboard
fun addOnWindowAddedCallback(action: Application.(Window) -> Unit): SignalManager
addOnWindowRemovedCallback
Link copied to clipboard
fun addOnWindowRemovedCallback(action: Application.(Window) -> Unit): SignalManager
addOptionGroup
Link copied to clipboard
fun addOptionGroup(optionGroup: OptionGroup)
addWeakPointer
Link copied to clipboard
fun addWeakPointer(weakPointerLocation: CValuesRef<COpaquePointerVar>)
addWindow
Link copied to clipboard
fun addWindow(window: Window)
bindBusyProperty
Link copied to clipboard
fun bindBusyProperty(obj: KGObject, property: String)
bindProperty
Link copied to clipboard
fun bindProperty(property: String, target: KGObject, targetProperty: String, flags: Binding.Flags): Binding
getAccelsForAction
Link copied to clipboard
fun getAccelsForAction(detailedActionName: String): Array<String>
getActionsForAccel
Link copied to clipboard
fun getActionsForAccel(accel: String): Array<String>
getMenuById
Link copied to clipboard
fun getMenuById(id: String): Menu
getString
Link copied to clipboard
fun getString(propertyName: String): String
getWindowById
Link copied to clipboard
fun getWindowById(id: UInt): Window?
hold
Link copied to clipboard
fun hold()
inhibit
Link copied to clipboard
fun inhibit(window: Window, flags: GtkApplicationInhibitFlags, reason: String): UInt
lookupAction
Link copied to clipboard
open fun lookupAction(actionName: String): Action?
markBusy
Link copied to clipboard
fun markBusy()
markNotBusy
Link copied to clipboard
fun markNotBusy()
open
Link copied to clipboard
fun open(files: Array<File>, hint: String)
quit
Link copied to clipboard
fun quit()
ref
Link copied to clipboard
open fun ref(): KGObject
register
Link copied to clipboard
fun register(cancellable: KGCancellable): Boolean
release
Link copied to clipboard
fun release()
removeAction
Link copied to clipboard
open fun removeAction(actionName: String)
removeWindow
Link copied to clipboard
fun removeWindow(window: Window)
run
Link copied to clipboard
fun run(argc: Int, argv: Array<String>): Int
sendNotification
Link copied to clipboard
fun sendNotification(notification: Notification, id: String?)
set
Link copied to clipboard
fun set(propertyName: String, boolean: Boolean)
fun set(propertyName: String, string: String)
setAccelsForAction
Link copied to clipboard
fun setAccelsForAction(detailedActionName: String, accels: List<String>)
setActionGroup
Link copied to clipboard
fun setActionGroup(actionGroup: ActionGroup)
setDefault
Link copied to clipboard
fun setDefault()
setOptionContextDescription
Link copied to clipboard
fun setOptionContextDescription(description: String?)
setOptionContextParameterString
Link copied to clipboard
fun setOptionContextParameterString(parameterString: String?)
setOptionContextSummary
Link copied to clipboard
fun setOptionContextSummary(summary: String?)
unbindBusyProperty
Link copied to clipboard
fun unbindBusyProperty(obj: KGObject, property: String)
unInhibit
Link copied to clipboard
fun unInhibit(cookie: UInt)
unmarkBusy
Link copied to clipboard
fun unmarkBusy()
unref
Link copied to clipboard
open override fun unref()
withdrawNotification
Link copied to clipboard
fun withdrawNotification(id: String)

Properties

actionDescriptions
Link copied to clipboard
val actionDescriptions: Array<String>
actionMapPointer
Link copied to clipboard
open override val actionMapPointer: CPointer<GActionMap>
activeWindow
Link copied to clipboard
val activeWindow: Window?
applicationID
Link copied to clipboard
var applicationID: String?
applicationPointer
Link copied to clipboard
val applicationPointer: GtkApplication_autoptr
dbusConnection
Link copied to clipboard
val dbusConnection: DBusConnection?
dbusObjectPath
Link copied to clipboard
val dbusObjectPath: String?
flags
Link copied to clipboard
var flags: GApplicationFlags
gClass
Link copied to clipboard
open val gClass: TypeClass
inactivityTimeout
Link copied to clipboard
var inactivityTimeout: UInt
isBusy
Link copied to clipboard
val isBusy: Boolean
isRegistered
Link copied to clipboard
val isRegistered: Boolean
isRemote
Link copied to clipboard
val isRemote: Boolean
menuBar
Link copied to clipboard
var menuBar: MenuModel?
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
resourceBasePath
Link copied to clipboard
var resourceBasePath: String?
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>
windows
Link copied to clipboard
val windows: WrappedKList<Window>