A static line is just a line which may be used in a dialog to separate the groups of controls. The line may be only vertical or horizontal.
LI_HORIZONTAL |
Creates a horizontal line. |
LI_VERTICAL |
Creates a vertical line. |
StaticLine.new(Window parent, Integer id = ID_ANY,
Point pos = DEFAULT_POSITION,
Size size = DEFAULT_SIZE,
Integer style = LI_HORIZONTAL,
String name = "staticLine")
Constructor, creating and showing a static line.
Boolean create(Window parent, Integer id = ID_ANY,
Point pos = DEFAULT_POSITION,
Size size = DEFAULT_SIZE,
Integer style = 0,
String name = "staticLine")
Creates the static line for two-step construction. See StaticLine.new for further details.
Boolean is_vertical()
Returns true if the line is vertical, false if horizontal.
Integer get_default_size()
This static function returns the size which will be given to the smaller dimension of the static line, i.e. its height for a horizontal line or its width for a vertical one.
[This page automatically generated from the Textile source at Thu May 01 00:50:44 +0100 2008]