set_direction


Description:

public void set_direction (TextDirection direction)

Sets the text direction this icon source is intended to be used with.

Note:

Use IconTheme instead.

Setting the text direction on an icon source makes no difference if the text direction is wildcarded. Therefore, you should usually call set_direction_wildcarded to un-wildcard it in addition to calling this function.

Parameters:

this

a IconSource

direction

text direction this source applies to




2022 vala-language.org