# Method GTK2.IconSource()->set_direction()

Method set_direction

  `GTK2.IconSource set_direction(int dir)`

Description

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

  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.