set_run_attributes


Description:

public abstract bool set_run_attributes (AttributeSet attrib_set, int start_offset, int end_offset)

Sets the attributes for a specified range.

See the ATK_ATTRIBUTE macros (such as ATK_ATTRIBUTE_LEFT_MARGIN) for examples of attributes that can be set. Note that other attributes that do not have corresponding ATK_ATTRIBUTE macros may also be set for certain text widgets.

Parameters:

this

an EditableText

attrib_set

an AttributeSet

start_offset

start of range in which to set attributes

end_offset

end of range in which to set attributes

Returns:

true if attributes successfully set for the specified range, otherwise false