Gtk.TextAttributes.new

function new():Gtk.TextAttributes {
    // Gjs wrapper for gtk_text_attributes_new()
}

Creates a Gtk.TextAttributes, which describes a set of properties on some text.

Returns

a new Gtk.TextAttributes, free with Gtk.unref.