@new


Description:

[ Version ( deprecated = true , deprecated_since = "1.5.33" ) ]
public static unowned Attribute @new (uint underline_type, uint start_index, uint end_index)

Warning: @new is deprecated since 1.5.33.

Creates a new underline Attribute.

Note:

Workaround of "transfer none" for append.

Parameters:

underline_type

Type of underline.

start_index

Where attribute starts.

end_index

Where attribute ends.

Returns:

A newly allocated Attribute.