Description

Figure 6.4. grefwindows


Creates the Window-related Preference Page.

Inside of this page procedure »substitutions« can be made, for windows with a creation routine different from its window class.

An example is: ttk::button , which has the class »TButton«. In consequence the default procedure »tButton« has to be substituted with »ttk::button«.

The lower section is dedicated to suppress code generation for children of certain window classes. Under normal conditions, suppression isn’t necessary! The need arises for composite window, were fractions of the composite are created dynamically.

An example is : rtl_mlistbox , the »-columns« property is responsible to create embedded listbox windows. Hence, the internal structure for a rtl_mlistbox is not examined at all.

There is another, finer grained, mechanism to suppress code generation for distinct children, alone.

Inside of »Jeszra« a hidden, third mechanism exists.

»grefwindows« gains the information for all these three distinct functions, via the provided »variable« interface.

Window Command

A Window created through the grefwindows 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: