O'Reilly logo

Tcl/Tk in a Nutshell by Jeff Tranter, Paul Raines

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

Form

tixForm operation [arg arg...]

Communicate with the Tix Form geometry manager that arranges widgets inside their master according to various attachment rules. The tixForm command can take the following forms:

tixForm slave [slave...] [options]

Same as tixForm configure.

tixForm check master

Return 1 if there is a circular dependency in the attachments for masters slaves, 0 otherwise.

tixForm configure slave [slave...] [options]

Configure how the slave window slave should be managed by its Form geometry master. Supported options are as follows:

-bottom attachment

Attachment for bottom edge of the slave. (Abbreviation: -b)

-bottomspring weight

Weight of the spring at the bottom edge of the slave. (Abbreviation: -bs)

-fill fill

Direction slave should fill. Fill may be x, y, both, or none.

-in master

Insert the slave in master window master, which must either be the slave’s parent (the default) or a descendant of the slave’s parent.

-left attachment

Attachment for left edge of the slave. (Abbreviation: -l)

-leftspring weight

Weight of the spring at the left edge of the slave. (Abbreviation: -ls)

-padbottom amount

How much external padding to add to the bottom side of the slave. (Abbreviation: -bp)

-padleft amount

How much external padding to add to the left side of the slave. (Abbreviation: -lp)

-padright amount

How much external padding to add to the right side of the slave. (Abbreviation: -rp)

-padtop amount

How much external padding to add to the top side of the slave. (Abbreviation: -tp)

-padx amount ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required