You are on page 1of 1
to the desired number. Lhe detault value, V, means that ines will be broken} | epee ‘There are no special methods for label widgets other than the common ones (see Section 25, “Universal widget methods” (p. 92). 12. The Label Frame widget ‘The LabeLFrame widget, like the Frame widget, is a spatial container—a rectangular area that can contain other widgets. However, unlike the Frame widget, the LabelFrame widget allows you to display a label as part of the border around the area. Important controls PANIC!} Relax. Here is an example of a Label Frame widget containing two Button widgets. Note that the label “Important controls” interrupts the border. This widget illustrates the default GROOVE relief (see Sec- tion 5.6, “Relief styles” (p. 11)) and the default ' nw label anchor, which positions the label at the left side of the top of the frame. Tocreate a new Label Frame widget inside a root window or frame parent: w= LabelFrame ( parent, option, ... ) This constructor returns the new LabeLFrame widget. Options: (bg or background |The background color to be displayed inside the widget, see Section 53, Colors” (p. 9). bd orborderwidth |Width of the border drawn around the perimeter of the widget see Sec- tion 5.1. “Dimensions” (p. 8), The default value is two pixels.

You might also like