1994689c1Smrg<sect1 id="Form_Widget"> 2994689c1Smrg<title>Form Widget</title> 3994689c1Smrg<para> 4994689c1Smrg<!-- .LP --> 5994689c1Smrg<!-- .XS --> 6994689c1Smrg<!-- Form Widget --> 7994689c1Smrg<!-- .XE --> 85ec34c4cSmrg<indexterm significance="preferred"><primary>Form widget</primary></indexterm> 9994689c1Smrg<literallayout class="monospaced"> 10994689c1Smrg<!-- .TA 2.0i --> 11994689c1Smrg<!-- .ta 2.0i --> 12994689c1Smrg<!-- .sp --> 13994689c1SmrgApplication Header file <X11/Xaw/Form.h> 145ec34c4cSmrg<indexterm><primary>Form.h</primary></indexterm> 15994689c1SmrgClass Header file <X11/Xaw/FormP.h> 165ec34c4cSmrg<indexterm><primary>FormP.h</primary></indexterm> 17994689c1SmrgClass formWidgetClass 185ec34c4cSmrg<indexterm><primary>formWidgetClass</primary></indexterm> 19994689c1SmrgClass Name Form 205ec34c4cSmrg<indexterm><primary>Form widget</primary><secondary>class name</secondary></indexterm> 21994689c1SmrgSuperclass Constraint 22994689c1Smrg<!-- .sp --> 23994689c1Smrg</literallayout> 24994689c1Smrg</para> 25994689c1Smrg<para> 26994689c1Smrg<!-- .LP --> 27994689c1SmrgThe Form widget can contain an arbitrary number of children or 28994689c1Smrgsubwidgets. The Form provides geometry management for its children, 29994689c1Smrgwhich allows individual control of the position of each child. Any 30994689c1Smrgcombination of children can be added to a Form. The initial positions 31994689c1Smrgof the children may be computed relative to the positions of previously 32994689c1Smrgcreated children. When the Form is resized, it computes new positions and 33994689c1Smrgsizes for its children. This computation is based upon information 34994689c1Smrgprovided when a child is added to the Form. 35994689c1Smrg</para> 36994689c1Smrg<para> 37994689c1Smrg<!-- .LP --> 38994689c1SmrgThe default width of the Form is the minimum width needed to 39994689c1Smrgenclose the children after computing their initial layout, with a 40994689c1Smrgmargin of <function>defaultDistance</function> 41994689c1Smrgat the right and bottom edges. If a width and height is assigned 42994689c1Smrgto the Form that is too small for the layout, the children will 43994689c1Smrgbe clipped by the right and bottom edges of the Form. 44994689c1Smrg</para> 45421c997bSmrg<sect2 id='Form::Resources'> 46994689c1Smrg<title>Resources</title> 47994689c1Smrg<para> 48994689c1Smrg<!-- .LP --> 49994689c1SmrgWhen creating a Form widget instance, the following resources are 50994689c1Smrgretrieved from the argument list or from the resource database: 51994689c1Smrg</para> 52994689c1Smrg<para> 53994689c1Smrg<!-- .LP --> 545ec34c4cSmrg<indexterm><primary>Form widget</primary><secondary>resources</secondary></indexterm> 55994689c1Smrg<informaltable> 56994689c1Smrg <tgroup cols='5' align='center'> 57994689c1Smrg <colspec colname='c1'/> 58994689c1Smrg <colspec colname='c2'/> 59994689c1Smrg <colspec colname='c3'/> 60994689c1Smrg <colspec colname='c4'/> 61994689c1Smrg <colspec colname='c5'/> 62994689c1Smrg <thead> 63994689c1Smrg <row> 64994689c1Smrg <entry>Name</entry> 65994689c1Smrg <entry>Class</entry> 66994689c1Smrg <entry>Type</entry> 67994689c1Smrg <entry>Notes</entry> 68994689c1Smrg <entry>Default Value</entry> 69994689c1Smrg </row> 70994689c1Smrg </thead> 71994689c1Smrg <tbody> 72994689c1Smrg <row> 73994689c1Smrg <entry>accelerators</entry> 74994689c1Smrg <entry>Accelerators</entry> 75994689c1Smrg <entry>AcceleratorTable</entry> 76994689c1Smrg <entry></entry> 77994689c1Smrg <entry>NULL</entry> 78994689c1Smrg </row> 79994689c1Smrg <row> 80994689c1Smrg <entry>ancestorSensitive</entry> 81994689c1Smrg <entry>AncestorSensitive</entry> 82994689c1Smrg <entry>Boolean</entry> 83994689c1Smrg <entry>D</entry> 84994689c1Smrg <entry>True</entry> 85994689c1Smrg </row> 86994689c1Smrg <row> 87994689c1Smrg <entry>background</entry> 88994689c1Smrg <entry>Background</entry> 89994689c1Smrg <entry>Pixel</entry> 90994689c1Smrg <entry></entry> 91994689c1Smrg <entry>XtDefaultBackground</entry> 92994689c1Smrg </row> 93994689c1Smrg <row> 94994689c1Smrg <entry>backgroundPixmap</entry> 95994689c1Smrg <entry>Pixmap</entry> 96994689c1Smrg <entry>Pixmap</entry> 97994689c1Smrg <entry></entry> 98994689c1Smrg <entry>XtUnspecifiedPixmap</entry> 99994689c1Smrg </row> 100994689c1Smrg <row> 101994689c1Smrg <entry>borderColor</entry> 102994689c1Smrg <entry>BorderColor</entry> 103994689c1Smrg <entry>Pixel</entry> 104994689c1Smrg <entry></entry> 105994689c1Smrg <entry>XtDefaultForeground</entry> 106994689c1Smrg </row> 107994689c1Smrg <row> 108994689c1Smrg <entry>borderPixmap</entry> 109994689c1Smrg <entry>Pixmap</entry> 110994689c1Smrg <entry>Pixmap</entry> 111994689c1Smrg <entry></entry> 112994689c1Smrg <entry>XtUnspecifiedPixmap</entry> 113994689c1Smrg </row> 114994689c1Smrg <row> 115994689c1Smrg <entry>borderWidth</entry> 116994689c1Smrg <entry>BorderWidth</entry> 117994689c1Smrg <entry>Dimension</entry> 118994689c1Smrg <entry></entry> 119994689c1Smrg <entry>1</entry> 120994689c1Smrg </row> 121994689c1Smrg <row> 122994689c1Smrg <entry>children</entry> 123994689c1Smrg <entry>ReadOnly</entry> 124994689c1Smrg <entry>WidgetList</entry> 125994689c1Smrg <entry>R</entry> 126994689c1Smrg <entry>NULL</entry> 127994689c1Smrg </row> 128994689c1Smrg <row> 129994689c1Smrg <entry>colormap</entry> 130994689c1Smrg <entry>Colormap</entry> 131994689c1Smrg <entry>Colormap</entry> 132994689c1Smrg <entry></entry> 133994689c1Smrg <entry>Parent's Colormap</entry> 134994689c1Smrg </row> 135994689c1Smrg <row> 136994689c1Smrg <entry>defaultDistance</entry> 137994689c1Smrg <entry>Thickness</entry> 138994689c1Smrg <entry>int</entry> 139994689c1Smrg <entry></entry> 140994689c1Smrg <entry>4</entry> 141994689c1Smrg </row> 142994689c1Smrg <row> 143994689c1Smrg <entry>depth</entry> 144994689c1Smrg <entry>Depth</entry> 145994689c1Smrg <entry>int</entry> 146994689c1Smrg <entry>C</entry> 147994689c1Smrg <entry>Parent's Depth</entry> 148994689c1Smrg </row> 149994689c1Smrg <row> 150994689c1Smrg <entry>destroyCallback</entry> 151994689c1Smrg <entry>Callback</entry> 152994689c1Smrg <entry>XtCallbackList</entry> 153994689c1Smrg <entry></entry> 154994689c1Smrg <entry>NULL</entry> 155994689c1Smrg </row> 156994689c1Smrg <row> 157994689c1Smrg <entry>height</entry> 158994689c1Smrg <entry>Height</entry> 159994689c1Smrg <entry>Dimension</entry> 160994689c1Smrg <entry>A</entry> 161994689c1Smrg <entry>Enough space to contain all children</entry> 162994689c1Smrg </row> 163994689c1Smrg <row> 164994689c1Smrg <entry>mappedWhenManaged</entry> 165994689c1Smrg <entry>MappedWhenManaged</entry> 166994689c1Smrg <entry>Boolean</entry> 167994689c1Smrg <entry></entry> 168994689c1Smrg <entry>True</entry> 169994689c1Smrg </row> 170994689c1Smrg <row> 171994689c1Smrg <entry>numChildren</entry> 172994689c1Smrg <entry>ReadOnly</entry> 173994689c1Smrg <entry>Cardinal</entry> 174994689c1Smrg <entry>R</entry> 175994689c1Smrg <entry>0</entry> 176994689c1Smrg </row> 177994689c1Smrg <row> 178994689c1Smrg <entry>screen</entry> 179994689c1Smrg <entry>Screen</entry> 180994689c1Smrg <entry>Screen</entry> 181994689c1Smrg <entry>R</entry> 182994689c1Smrg <entry>Parent's Screen</entry> 183994689c1Smrg </row> 184994689c1Smrg <row> 185994689c1Smrg <entry>sensitive</entry> 186994689c1Smrg <entry>Sensitive</entry> 187994689c1Smrg <entry>Boolean</entry> 188994689c1Smrg <entry></entry> 189994689c1Smrg <entry>True</entry> 190994689c1Smrg </row> 191994689c1Smrg <row> 192994689c1Smrg <entry>translations</entry> 193994689c1Smrg <entry>Translations</entry> 194994689c1Smrg <entry>TranslationTable</entry> 195994689c1Smrg <entry></entry> 196994689c1Smrg <entry>NULL</entry> 197994689c1Smrg </row> 198994689c1Smrg <row> 199994689c1Smrg <entry>width</entry> 200994689c1Smrg <entry>Width</entry> 201994689c1Smrg <entry>Dimension</entry> 202994689c1Smrg <entry>A</entry> 203994689c1Smrg <entry>Enough space to contain all children</entry> 204994689c1Smrg </row> 205994689c1Smrg <row> 206994689c1Smrg <entry>x</entry> 207994689c1Smrg <entry>Position</entry> 208994689c1Smrg <entry>Position</entry> 209994689c1Smrg <entry></entry> 210994689c1Smrg <entry>0</entry> 211994689c1Smrg </row> 212994689c1Smrg <row> 213994689c1Smrg <entry>y</entry> 214994689c1Smrg <entry>Position</entry> 215994689c1Smrg <entry>Position</entry> 216994689c1Smrg <entry></entry> 217994689c1Smrg <entry>0</entry> 218994689c1Smrg </row> 219994689c1Smrg <row> 220994689c1Smrg <entry>_</entry> 221994689c1Smrg </row> 222994689c1Smrg </tbody> 223994689c1Smrg </tgroup> 224994689c1Smrg</informaltable> 225994689c1Smrg<!-- .Ac --> 226994689c1Smrg<!-- .As --> 227994689c1Smrg<!-- .Bg --> 228994689c1Smrg<!-- .Gp --> 229994689c1Smrg<!-- .Bc --> 230994689c1Smrg<!-- .Bp --> 231994689c1Smrg<!-- .Bw --> 232994689c1Smrg<!-- .Ch --> 233994689c1Smrg<!-- .Cm --> 234994689c1Smrg<!-- .Dd Bold --> 235994689c1Smrg<!-- .Dp --> 236994689c1Smrg<!-- .Dc --> 237994689c1Smrg<!-- .Hw --> 238994689c1Smrg<!-- .Mm --> 239994689c1Smrg<!-- .Nc --> 240994689c1Smrg<!-- .Sc --> 241994689c1Smrg<!-- .Se --> 242994689c1Smrg<!-- .Tr --> 243994689c1Smrg<!-- .Xy --> 244994689c1Smrg</para> 245994689c1Smrg</sect2> 246421c997bSmrg<sect2 id='Form::Constraint_Resources'> 247994689c1Smrg<title>Constraint Resources</title> 248994689c1Smrg<para> 249994689c1Smrg<!-- .LP --> 2505ec34c4cSmrg<indexterm><primary>Form widget</primary><secondary>constraint resources</secondary></indexterm> 251994689c1SmrgEach child of the Form widget may request special layout resources 252994689c1Smrgbe applied to it. These <emphasis remap='I'>constraint</emphasis> resources allow the Form 253994689c1Smrgwidget's children to specify individual layout requirements. 254994689c1Smrg</para> 255994689c1Smrg<para> 256994689c1Smrg<!-- .LP --> 257994689c1Smrg</para> 258994689c1Smrg<para> 259994689c1Smrg<!-- .LP --> 260994689c1Smrg<informaltable> 261994689c1Smrg <tgroup cols='5' align='center'> 262994689c1Smrg <colspec colname='c1'/> 263994689c1Smrg <colspec colname='c2'/> 264994689c1Smrg <colspec colname='c3'/> 265994689c1Smrg <colspec colname='c4'/> 266994689c1Smrg <colspec colname='c5'/> 267994689c1Smrg <thead> 268994689c1Smrg <row> 269994689c1Smrg <entry>Name</entry> 270994689c1Smrg <entry>Class</entry> 271994689c1Smrg <entry>Type</entry> 272994689c1Smrg <entry>Notes</entry> 273994689c1Smrg <entry>Default Value</entry> 274994689c1Smrg </row> 275994689c1Smrg </thead> 276994689c1Smrg <tbody> 277994689c1Smrg <row> 278994689c1Smrg <entry>bottom</entry> 279994689c1Smrg <entry>Edge</entry> 280994689c1Smrg <entry>XawEdgeType</entry> 281994689c1Smrg <entry></entry> 282994689c1Smrg <entry>XawRubber</entry> 283994689c1Smrg </row> 284994689c1Smrg <row> 285994689c1Smrg <entry>fromHoriz</entry> 286994689c1Smrg <entry>Widget</entry> 287994689c1Smrg <entry>Widget</entry> 288994689c1Smrg <entry></entry> 289994689c1Smrg <entry>NULL (left edge of Form)</entry> 290994689c1Smrg </row> 291994689c1Smrg <row> 292994689c1Smrg <entry>fromVert</entry> 293994689c1Smrg <entry>Widget</entry> 294994689c1Smrg <entry>Widget </entry> 295994689c1Smrg <entry></entry> 296994689c1Smrg <entry>NULL (top edge of Form)</entry> 297994689c1Smrg </row> 298994689c1Smrg <row> 299994689c1Smrg <entry>horizDistance</entry> 300994689c1Smrg <entry>Thickness</entry> 301994689c1Smrg <entry>int</entry> 302994689c1Smrg <entry></entry> 303994689c1Smrg <entry><function>defaultDistance</function> resource</entry> 304994689c1Smrg </row> 305994689c1Smrg <row> 306994689c1Smrg <entry>left</entry> 307994689c1Smrg <entry>Edge</entry> 308994689c1Smrg <entry>XawEdgeType</entry> 309994689c1Smrg <entry></entry> 310994689c1Smrg <entry>XawRubber</entry> 311994689c1Smrg </row> 312994689c1Smrg <row> 313994689c1Smrg <entry>resizable</entry> 314994689c1Smrg <entry>Boolean</entry> 315994689c1Smrg <entry>Boolean</entry> 316994689c1Smrg <entry></entry> 317994689c1Smrg <entry>FALSE</entry> 318994689c1Smrg </row> 319994689c1Smrg <row> 320994689c1Smrg <entry>right</entry> 321994689c1Smrg <entry>Edge</entry> 322994689c1Smrg <entry>XawEdgeType</entry> 323994689c1Smrg <entry></entry> 324994689c1Smrg <entry>XawRubber</entry> 325994689c1Smrg </row> 326994689c1Smrg <row> 327994689c1Smrg <entry>top</entry> 328994689c1Smrg <entry>Edge</entry> 329994689c1Smrg <entry>XawEdgeType</entry> 330994689c1Smrg <entry></entry> 331994689c1Smrg <entry>XawRubber</entry> 332994689c1Smrg </row> 333994689c1Smrg <row> 334994689c1Smrg <entry>vertDistance</entry> 335994689c1Smrg <entry>Thickness</entry> 336994689c1Smrg <entry>int</entry> 337994689c1Smrg <entry></entry> 338994689c1Smrg <entry><function>defaultDistance</function> resource</entry> 339994689c1Smrg </row> 340994689c1Smrg </tbody> 341994689c1Smrg </tgroup> 342994689c1Smrg</informaltable> 343994689c1Smrg<!-- .Bt Bold --> 344994689c1Smrg<!-- .Fh Bold --> 345994689c1Smrg<!-- .Hd Bold --> 346994689c1Smrg<!-- .Rl Bold --> 347994689c1Smrg</para> 348994689c1Smrg<literallayout class="monospaced"> 349994689c1Smrgbottom 350994689c1Smrgleft 351994689c1Smrgright 352994689c1Smrgtop What to do with this edge of the child when 353994689c1Smrg the parent is resized. This resource may be 354994689c1Smrg any edgeType. See Layout Semantics for 355994689c1Smrg details. 356994689c1Smrg 357994689c1SmrgfromHoriz 358994689c1SmrgfromVert Which widget this child should be placed 359994689c1Smrg underneath (or to the right of). If a value 360994689c1Smrg of NULL is specified then this widget will be 361994689c1Smrg positioned relative to the edge of the par- 362994689c1Smrg ent. 363994689c1Smrg 364994689c1SmrghorizDistance 365994689c1SmrgvertDistance The amount of space, in pixels, between this 366994689c1Smrg child and its left or upper neighbor. 367994689c1Smrg 368994689c1Smrgresizable If this resource is False then the parent 369994689c1Smrg widget will ignore all geometry request made 370994689c1Smrg by this child. The parent may still resize 371994689c1Smrg this child itself, however. 372994689c1Smrg</literallayout> 373994689c1Smrg<!-- .Bt --> 374994689c1Smrg</sect2> 375421c997bSmrg<sect2 id='Form::Layout_Semantics'> 376994689c1Smrg<title>Layout Semantics</title> 377994689c1Smrg<para> 378994689c1SmrgThe Form widget uses two different sets of layout semantics. 379994689c1SmrgOne is used when initially laying out the children. The 380994689c1Smrgother is used when the Form is resized. 381994689c1Smrg</para> 382994689c1Smrg<para> 383421c997bSmrgThe first layout method uses the <function>fromVert</function> 384421c997bSmrgand <function>fromHoriz</function> 385994689c1Smrgresources to place the children of the Form. A single pass 386994689c1Smrgis made through the Form widget's children in the order that 387994689c1Smrgthey were created. Each child is then placed in the Form 388994689c1Smrgwidget below or to the right of the widget specified by the 389421c997bSmrg<function>fromVert</function> and <function>fromHoriz</function> 390994689c1Smrgresources. The distance the new 391994689c1Smrgchild is placed from its left or upper neighbor is deter- 392421c997bSmrgmined by the <function>horizDistance</function> and 393994689c1Smrg<function>vertDistance</function> resources. This 394994689c1Smrgimplies some things about how the order of creation affects 395994689c1Smrgthe possible placement of the children. The Form widget 396994689c1Smrgregisters a string to widget converter which does not post- 397994689c1Smrgpone conversion and does not cache conversion results. 398994689c1Smrg</para> 399994689c1Smrg<para> 400994689c1SmrgThe second layout method is used when the Form is resized. 401994689c1SmrgIt does not matter what causes this resize, and it is possi- 402994689c1Smrgble for a resize to happen before the widget becomes visible 403994689c1Smrg(due to constraints imposed by the parent of the Form). 404421c997bSmrgThis layout method uses the <function>bottom</function>, 405421c997bSmrg<function>top</function>, <function>left</function>, and 406994689c1Smrg<function>right</function> 407994689c1Smrgresources. These resources are used to determine what will 408994689c1Smrghappen to each edge of the child when the Form is resized. 409421c997bSmrgIf a value of <function>XawChain</function> 410994689c1Smrg<<emphasis remap='I'>something</emphasis>> is specified, the the edge 411421c997bSmrgof the child will remain a fixed distance from the 412994689c1Smrg<emphasis remap='I'>chain</emphasis> 413994689c1Smrgedge of the Form. For example if <function>XawChainLeft</function> is specified 414994689c1Smrgfor the <function>right</function> resource of a child then the right edge of 415994689c1Smrgthat child will remain a fixed distance from the left edge 416994689c1Smrgof the Form widget. If a value of <function>XawRubber</function> is specified, 417994689c1Smrgthat edge will grow by the same percentage that the Form 418994689c1Smrggrew. For instance if the Form grows by 50% the left edge 419994689c1Smrgof the child (if specified as <function>XawRubber</function> will be 50% farther 420994689c1Smrgfrom the left edge of the Form). One must be very careful 421994689c1Smrgwhen specifying these resources, for when they are specified 422994689c1Smrgincorrectly children may overlap or completely occlude other 423994689c1Smrgchildren when the Form widget is resized. 424994689c1Smrg<!-- .LP --> 425994689c1Smrg<!-- .Lt Form --> 426994689c1Smrg</para> 427994689c1Smrg<para> 428994689c1Smrg<!-- .LP --> 429994689c1Smrg<informaltable> 430994689c1Smrg <tgroup cols='3' align='center'> 431994689c1Smrg <colspec colname='c1'/> 432994689c1Smrg <colspec colname='c2'/> 433994689c1Smrg <colspec colname='c3'/> 434994689c1Smrg <thead> 435994689c1Smrg <row> 436994689c1Smrg <entry>Edge Type</entry> 437994689c1Smrg <entry>Resource Name</entry> 438994689c1Smrg <entry>Description</entry> 439994689c1Smrg </row> 440994689c1Smrg </thead> 441994689c1Smrg <tbody> 442994689c1Smrg <row> 443994689c1Smrg <entry>XawChainBottom</entry> 444994689c1Smrg <entry>ChainBottom</entry> 445994689c1Smrg <entry>Edge remains a fixed distance from bottom of Form</entry> 446994689c1Smrg </row> 447994689c1Smrg <row> 448994689c1Smrg <entry>XawChainLeft</entry> 449994689c1Smrg <entry>ChainLeft</entry> 450994689c1Smrg <entry>Edge remains a fixed distance from left of Form</entry> 451994689c1Smrg </row> 452994689c1Smrg <row> 453994689c1Smrg <entry>XawChainRight</entry> 454994689c1Smrg <entry>ChainRight</entry> 455994689c1Smrg <entry>Edge remains a fixed distance from right of Form</entry> 456994689c1Smrg </row> 457994689c1Smrg <row> 458994689c1Smrg <entry>XawChainTop</entry> 459994689c1Smrg <entry>ChainTop</entry> 460994689c1Smrg <entry>Edge remains a fixed distance from top of Form</entry> 461994689c1Smrg </row> 462994689c1Smrg <row> 463994689c1Smrg <entry>XawRubber</entry> 464994689c1Smrg <entry>Rubber</entry> 465994689c1Smrg <entry>Edges will move a proportional distance</entry> 466994689c1Smrg </row> 467994689c1Smrg </tbody> 468994689c1Smrg </tgroup> 469994689c1Smrg</informaltable> 470994689c1Smrg</para> 471421c997bSmrg<sect3 id='Form::Example'> 472994689c1Smrg<title>Example</title> 473994689c1Smrg<para> 474994689c1Smrg<!-- .LP --> 475994689c1SmrgIf you wish to force the Form to never resize one or more of its 476994689c1Smrgchildren, then set <function>left</function> and <function>right</function> to <function>XawChainLeft</function> and 477994689c1Smrg<function>top</function> and <function>bottom</function> to <function>XawChainTop</function>. This will cause the 478994689c1Smrgchild to remain a fixed distance from the top and left edges of the 479994689c1SmrgForm, and never to resize. 480994689c1Smrg</para> 481994689c1Smrg</sect3> 482994689c1Smrg</sect2> 483421c997bSmrg<sect2 id='Form::Convenience_Routines'> 484994689c1Smrg<title>Convenience Routines</title> 485994689c1Smrg<para> 486994689c1Smrg<!-- .LP --> 487994689c1SmrgTo force or defer a re-layout of the Form, use 488994689c1Smrg<!-- .PN XawFormDoLayout . --> 4895ec34c4cSmrg<indexterm><primary>Form widget</primary><secondary>re-layout</secondary></indexterm> 4905ec34c4cSmrg<indexterm significance="preferred"><primary>XawFormDoLayout</primary></indexterm> 491421c997bSmrg<funcsynopsis id='XawFormDoLayout'> 492994689c1Smrg<funcprototype> 493994689c1Smrg <funcdef>void<function> XawFormDoLayout</function></funcdef> 494994689c1Smrg <paramdef>Widget<parameter> w</parameter></paramdef> 495994689c1Smrg <paramdef>Boolean<parameter> do_layout</parameter></paramdef> 496994689c1Smrg</funcprototype> 497994689c1Smrg</funcsynopsis> 498994689c1Smrg<!-- .FN --> 499994689c1Smrg<variablelist> 500994689c1Smrg <varlistentry> 501994689c1Smrg <term> 502994689c1Smrg <emphasis remap='I'>w</emphasis> 503994689c1Smrg </term> 504994689c1Smrg <listitem> 505994689c1Smrg <para> 506994689c1SmrgSpecifies the Form widget. 507994689c1Smrg </para> 508994689c1Smrg </listitem> 509994689c1Smrg </varlistentry> 510994689c1Smrg <varlistentry> 511994689c1Smrg <term> 512994689c1Smrg <emphasis remap='I'>do_layout</emphasis> 513994689c1Smrg </term> 514994689c1Smrg <listitem> 515994689c1Smrg <para> 516994689c1SmrgSpecifies whether the layout of the Form widget is enabled (<function>True</function>) 517994689c1Smrgor disabled (<function>False</function>). 518994689c1Smrg </para> 519994689c1Smrg </listitem> 520994689c1Smrg </varlistentry> 521994689c1Smrg</variablelist> 522994689c1Smrg</para> 523994689c1Smrg<para> 524994689c1Smrg<!-- .LP --> 525994689c1SmrgWhen making several changes to the children of a Form widget 526994689c1Smrgafter the Form has been realized, it is a good idea to disable 527994689c1Smrgrelayout until after all changes have been made. 528994689c1Smrg 529994689c1Smrg</para> 530994689c1Smrg</sect2> 531994689c1Smrg</sect1> 532