Package-level declarations

Types

Link copied to clipboard
interface Bitfield<T : Bitfield<T>>

Marker interface for wrapper classes that represent C bitfields.

Link copied to clipboard
open class GLibException(val error: Error)

An exception that represents a GLib GError that occurred.

Link copied to clipboard
interface Interface

Marker interface for wrapper classes that represent GType interfaces.

Properties

Link copied to clipboard
val staticStableRefDestroy: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class>?, <Error class: unknown class><<Error class: unknown class>>?) -> Unit>>

Helper function that can be used as a destroy_data handler when connecting to a signal or when executing callbacks.

Functions

Link copied to clipboard
fun <T : Bitfield<T>> flagsOf(first: T, vararg flags: T): T

Utility function for combining bitfields to make passing flag arguments to methods more readable and explicit instead of chaining or calls in the argument list.