Application

open class Application(gApplicationPointer: GApplication_autoptr) : KGObject, ActionMap

22 / 02 / 2021

See also

Constructors

Application
Link copied to clipboard
fun Application(applicationID: String?, flags: GApplicationFlags)
Application
Link copied to clipboard
fun Application(gApplicationPointer: GApplication_autoptr)

Types

Companion
Link copied to clipboard
object Companion
OpenEvent
Link copied to clipboard
data class OpenEvent(files: Sequence<File>, hint: String)

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? = null)
addMainOption
Link copied to clipboard
fun addMainOption(longName: String, shortName: Char, description: String, flags: OptionFlags = OptionFlags.NONE, arg: OptionArg = OptionArg.NONE, argDescription: String? = null)
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
addOnShutdownCallback
Link copied to clipboard
fun addOnShutdownCallback(action: TypedNoArgFunc<Application>): SignalManager
addOnStartupCallback
Link copied to clipboard
fun addOnStartupCallback(action: TypedNoArgFunc<Application>): SignalManager
addOptionGroup
Link copied to clipboard
fun addOptionGroup(optionGroup: OptionGroup)
addWeakPointer
Link copied to clipboard
fun addWeakPointer(weakPointerLocation: CValuesRef<COpaquePointerVar>)
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
getString
Link copied to clipboard
fun getString(propertyName: String): String
hold
Link copied to clipboard
fun hold()
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)
run
Link copied to clipboard
fun run(argc: Int = 0, argv: Array<String> = arrayOf()): Int
sendNotification
Link copied to clipboard
fun sendNotification(notification: Notification, id: String? = null)
set
Link copied to clipboard
fun set(propertyName: String, boolean: Boolean)
fun set(propertyName: String, string: 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)
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

actionMapPointer
Link copied to clipboard
open override val actionMapPointer: CPointer<GActionMap>
applicationID
Link copied to clipboard
var applicationID: String?
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
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>