CCP4 web logo CCP4i: Graphical User Interface
Documentation for Programmers
CreateLineTemplate

next button previous button top button

NAME

CreateLineTemplate - create a template to define the layout of a line

SYNOPSIS

CreateLineTemplate template_name template

DESCRIPTION

Use this command to define a line format to be used by the format keyword in CreateLine. template_name is a single word name for the template. template is a list of x positions (given as a fraction - values between 0 and 1) for the components in a line. All labels and widgets in a line are considered as components. The nth conponent will be placed with its left edge at the fractional position given by the nth item in the template list.

HINTS

For example look at the Refmac interface. The 'Geometric Parameters' folder (at the bottom of the window) uses line templates extensively. The code is in $CCP4I_top/tasks/refmac.tcl.

KEYWORDS