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 _getGType() static nothrow
GType _gType() @property nothrow
StringObject self() nothrowReturns `this`, for use in `with` statements.
StringObjectGidBuilder builder() static nothrowGet builder for [gtk.string_object.StringObject] Returns: New builder object
string string_() @property nothrowGet `string_` property. Returns: The string.
string getString() nothrowReturns 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].
Methods
StringObject build() nothrowCreate object from builder. Returns: New object