For SWT, a control is a widget.
对于SWT,控件是窗口小部件。
Each text entry box is a widget.
每个文本输入框也是一个小部件。
Delete a widget entry from a drawer.
从类别中删除小部件条目。
Click Add a widget, as shown in Figure 11.
单击adda widget,如图11所示。
Odds are I probably know somebody who has made a widget.
可能的情况是,或许我早已知道有人做过。
It would be fair to call it a thing, a node, or a widget.
称它为一件事物,一个结点或一个构件是合理的。
A widget can display anything found on a standard Web page.
小部件可以显示任何标准web页面的内容。
Take an example of a widget shop that needs to market its widgets.
举个例子来说,一个小装饰品商店,需要在市场上推广商品。
A widget of either kind has a position, a width, and a height.
任何一个小部件都有位置、宽度和高度。
A widget displays content for a section of a business space page.
小部件显示业务空间页中一个部分的内容。
And users, too, will ultimately determine whether a widget is successful.
并且,用户还将最后决定这个窗口部件的成功与否。
Recall, of course, that you are free to change these defaults on a widget-by-widget value.
当然回想起,你是有空闲逐个按小部件的值来改变这些默认值的。
After you develop a widget with the following instructions, these new concepts become clear.
使用以下说明开发小部件后,这些新概念将变得更加清晰。
The secret is a little widget in the can.
奥秘就在于罐中的一个小装置。
Regardless of what the widget is, its definition requires a consistent set of information.
不管这个小部件是什么,其定义都需要一组连贯的信息。
This creates a new project with a skeleton widget definition and catalog file.
这将创建一个新项目,其中包含小部件框架定义和目录文件。
As you can see, SWF took a different approach with this widget.
可以看到,SWF对这个小部件采取了一种不同的处理方法。
That widget alone could usher in a whole new area of interactive television.
仅此一项,我们认为交互式电视就被引入一个全新的领域。
A form displays in which you can register the widget.
这时会显示一个表单,您可以通过它注册小部件。
This is a custom widget and is shown in Listing 8.
这是一个定制的小部件,如清单8所示。
这里,我添加一个标签窗口小部件。
A diagram widget is used to show a us map (upper left).
其中的一个图表小部件用于显示一幅美国地图(左上角)。
A new function to display the widget is placed at the bottom of the script.
用于显示小部件的一个新函数位于脚本底部。
We also have a flashlight widget to turn on the LED here as well.
我们也添加了闪光灯工具来点亮 LED 灯。
A better alternative is to use a role selector widget (discussed in the next section).
有个更好的替代方案,就是使用角色选择器小部件(将在下节讨论)。
In the main.xml file, add a TextView widget for each label and element text node value.
在main . xml文件中,为每个标签和元素文本节点值添加一个TextView小部件。
This widget displays the string "Hello World" and a button as shown in Figure 2.
这个小部件显示字符串 “Hello World”和一个按钮,如图 2 所示。
For example, the dojox.grid widget is a table display widget.
例如,dojox .grid小部件是一个表显示小部件。
We create a NoteBook widget as child to the MainWindow and then add three tabs.
我们创建一个NoteBook窗口小部件作为MainWindow的子窗口,然后添加三个标签。
Create a unique id for the widget, if not provided.
如果没有ID,就为这个小部件创建一个惟一id。
应用推荐