StringObject

open class StringObject(pointer: <Error class: unknown class><<Error class: unknown class>>)

GtkStringObject is the type of items in a GtkStringList.

A GtkStringObject is a wrapper around a const char*; it has a property@Gtk.StringObject:string property that can be used for property bindings and expressions.

Constructors

Link copied to clipboard
constructor(string: String)

Wraps a string in an object for use with GListModel.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gtkStringObjectPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val string: String

The string.

Functions

Link copied to clipboard
open fun getString(): String

Returns the string contained in a GtkStringObject.