gtk.string_object

Module for [StringObject] class

Types 3

[gtk.string_object.StringObject] is the type of items in a [gtk.string_list.StringList].

A [gtk.string_object.StringObject] is a wrapper around a const char*; it has a [gtk.string_object.StringObject.string_] property that can be used for property bindings and expressions.

Methods
GType _gType() @property
StringObject self()Returns `this`, for use in `with` statements.
StringObjectGidBuilder builder()Get builder for [gtk.string_object.StringObject] Returns: New builder object
string string_() @propertyGet `string_` property. Returns: The string.
string getString()Returns the string contained in a [gtk.string_object.StringObject]. Returns: the string of self
Constructors
this(void * ptr, Flag!"Take" take)
this(string string_)Wraps a string in an object for use with [gio.list_model.ListModel].

Fluent builder for [gtk.string_object.StringObject]