| Extracted from Pike v7.8 release 866 at 2016-04-05.

[Top]
GTK2
GTK2.TextView

# Method GTK2.TextView()->set_border_window_size()

Method set_border_window_size

  `GTK2.TextView set_border_window_size(int wintype, int size)`

Description

  Sets the width of GTK2.TEXT_WINDOW_LEFT or GTK2.TEXT_WINDOW_RIGHT, or the height of GTK2.TEXT_WINDOW_TOP or GTK2.TEXT_WINDOW_BOTTOM. Automatically destroys the corresponding window if the size is set to 0, and creates the window if the size is set to non-zero. This function can only be used for the "border windows", it doesn't work with GTK2.TEXT_WINDOW_WIDGET, GTK2.TEXT_WINDOW_TEXT, or GTK2.TEXT_WINDOW_PRIVATE.