File

class File(filePointer: GFile_autoptr) : KGObject

08 / 03 / 2021

See also

Constructors

File
Link copied to clipboard
fun File(filePointer: GFile_autoptr)

Types

Companion
Link copied to clipboard
object Companion

Functions

addWeakPointer
Link copied to clipboard
fun addWeakPointer(weakPointerLocation: CValuesRef<COpaquePointerVar>)
appendTo
Link copied to clipboard
fun appendTo(flags: GFileCreateFlags = G_FILE_CREATE_NONE, cancellable: KGCancellable? = null): FileOutputStream
bindProperty
Link copied to clipboard
fun bindProperty(property: String, target: KGObject, targetProperty: String, flags: Binding.Flags): Binding
enumerateChildren
Link copied to clipboard
fun enumerateChildren(attributes: String? = null, flags: GFileQueryInfoFlags = G_FILE_QUERY_INFO_NONE, cancellable: KGCancellable? = null): FileEnumerator
getString
Link copied to clipboard
fun getString(propertyName: String): String
loadContents
Link copied to clipboard
fun loadContents(cancellable: KGCancellable? = null): String?
peekPath
Link copied to clipboard
fun peekPath(): String?
ref
Link copied to clipboard
open fun ref(): KGObject
set
Link copied to clipboard
fun set(propertyName: String, boolean: Boolean)
fun set(propertyName: String, string: String)
unref
Link copied to clipboard
open override fun unref()

Properties

baseName
Link copied to clipboard
val baseName: String?
filePointer
Link copied to clipboard
val filePointer: GFile_autoptr
gClass
Link copied to clipboard
open val gClass: TypeClass
parent
Link copied to clipboard
val parent: File?
path
Link copied to clipboard
val path: String?
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>