Figure 5.2. gelplines

The »gelplines« command creates a gelpline window.

This is the Jeszra help line editor. Help lines can be defined for both directions horizontal and vertical. The help lines editor does also allow the storage of a help line layout. The functionality is located underneath the drawer.

In the top area a rtl_combobox is used to display the current hierarchy of the project. Thus the help line editor can switch between different windows of the same project.

Window Command

A Window created through the gelplines command exposes various functions. Using these functions has the following general form:

object.option(?arg arg ...?)

PathName is the same as the window path name. Option and the args determine the exact behavior of the command. The following commands are possible for this window:


Returns the current value of the configuration option given by option. Option may have any of the values accepted by the gelplines command.

object.configure(?option?) {?value option value ...?}

Query or modify the configuration options of the window. If no option is specified, returns a list describing all of the available options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given window option(s) to have the given value(s); in this case the command returns an empty string. Option may have any of the values accepted by the gelplines command.


Read a prior saved help lines definition from the computer disk.


Walks through a window hierarchy defined by by the »-traversefcn« property. The result of this traversion is stored inside the select combobox.


Secondary window construction, this procedure »stripes« the help line window and makes it a transient dialog.

Rewritten : 05/23/2008, Roger


Gather the help lines from the selected window. The »-collectfcn« is used for collecting the help line data.


Store the present help lines definition on the computer disk. This definition can later be reused with »openFile«.

object.eval( arg )

Evaluates the command »arg« inside the defined Tcl-Interpreter »-interp«, if »-interp« is undefined, then »arg« is executed inside the same interpreter, wherein the »gelpline« window was created.


The »combobox« selection.

object.getFile( action )

Internal used from »openFile« and »saveFile«. This procedure does display the file browser according to the »action« either as »tk_getSaveFile« or as »tk_getOpenFile«.


Remove the help lines present inside window »-window«. The »-updatefcn« is used for hiding the help lines.


Uses »-updatefcn« to refresh the helplines in window »-window«.

object.refresh( ?notifier? )

Sync the content of the orientation listboxes from the help lines present inside the selected window.