1ttk::frame(n) Tk Themed Widget ttk::frame(n)
2
3
4
5______________________________________________________________________________
6
8 ttk::frame - Simple container widget
9
11 ttk::frame pathName ?options?
12______________________________________________________________________________
13
15 A ttk::frame widget is a container, used to group other widgets
16 together.
17
19 -class -cursor -padding-style
20 -takefocus
21
22 See the ttk_widget manual entry for details on the standard options.
23
25 Command-Line Name:-borderwidth
26 Database Name: borderWidth
27 Database Class: BorderWidth
28
29 The desired width of the widget border. Defaults to 0. May be
30 ignored depending on the theme used.
31
32 Command-Line Name:-relief
33 Database Name: relief
34 Database Class: Relief
35
36 One of the standard Tk border styles: flat, groove, raised,
37 ridge, solid, or sunken. Defaults to flat.
38
39 Command-Line Name:-width
40 Database Name: width
41 Database Class: Width
42
43 If specified, the widget's requested width in pixels.
44
45 Command-Line Name:-height
46 Database Name: height
47 Database Class: Height
48
49 If specified, the widget's requested height in pixels.
50
52 Supports the standard widget commands configure, cget, identify,
53 instate, and state; see ttk::widget(n).
54
56 Note that if the pack, grid, or other geometry managers are used to
57 manage the children of the frame, by the GM's requested size will nor‐
58 mally take precedence over the frame widget's -width and -height
59 options. pack propagate and grid propagate can be used to change this.
60
62 The class name for a ttk::frame is TFrame.
63
64 TFrame styling options configurable with ttk::style are:
65
66 -background color
67 -relief relief
68
69 Some options are only available for specific themes.
70
71 See the ttk::style manual page for information on how to configure ttk
72 styles.
73
75 When a new ttk::frame is created, it has no default event bindings;
76 ttk::frames are not intended to be interactive.
77
79 ttk::widget(n), ttk::labelframe(n), frame(n)
80
82 widget, frame, container
83
84
85
86Tk 8.5 ttk::frame(n)