This attribute's value is an array of GridCell objects.
这个属性的值是一个GridCell对象数组。
Our calculator application contains 19 GridCell objects.
计算器应用程序包含19个GridCell对象。
Each GridCell object represents a single component within the grid.
每个GridCell对象表示网格中的一个组件。
Three of the GridCell components defined in Listing 7 also contain the gridwidth attribute.
清单7中定义的3个GridCell组件还包含gridwidth属性。
The gridx and gridy attributes of the GridCell define the location of the component within the grid.
GridCell的gridx和gridy属性定义组件在网格中的位置。
For example, the first GridCell object in Listing 7 (the calculator's text field) has a gridwidth of 4.
例如,清单7中的第一个GridCell对象(计算器的文本字段)有一个gridwidth属性,其值为4。
The GridCell attributes dictate how the object should be displayed and where it is positioned within the panel.
GridCell属性规定如何显示对象,以及对象在面板中的位置。
Each GridCell component defined in Listing 7 contains a widget value that defines what's drawn in the cell's display area.
清单7中定义的每个GridCell组件都包含一个widget值,这个值定义要在单元格的显示区中描绘什么。
Once the text field is defined, the content attribute of the GridCell for the text field can contain just the variable name as its value.
定义好文本字段后,用于文本字段的GridCell的content属性可包含这个变量名作为它的值。
Once the text field is defined, the content attribute of the GridCell for the text field can contain just the variable name as its value.
定义好文本字段后,用于文本字段的GridCell的content属性可包含这个变量名作为它的值。
应用推荐