创建计算器的GUI,为其呈现布局和按钮。
Creates the GUI for the calculator, rendering the layout and the buttons for it.
可以看到几个小部件创建了图1所示的输入和按钮。
You see several widgets to create the inputs and buttons shown in Figure 1.
鼠标位置和按钮信息将以清单7中所示的形式输出。
Mouse position and button information is printed out in the format shown in Listing 7.
弹出按钮容器和按钮控件
计算器应用程序中的单元格包含文本字段和按钮部件。
The cells within our calculator application contain text-field and button widgets.
另一个只有几个开关和按钮,它们很友好,且适合你使用。
Another has a few switches and buttons, which seems familiar and logical to you.
有了这两个属性,就可以让我们通过代码来访问标签和按钮了。
These two properties now make our label and our button accessible via our code-behind.
每个组可以包括多项项目,例如文本,图像和按钮等。
Each group can contain multiple items, such as texts, images, and buttons.
搜索框和按钮的宽度是190像素,这会设置logo的宽度。
The search box and button are 190 pixels wide, which sets the width for a logo.
一个有很多开关和按钮,它们看起来很混乱,且好像对你来说没必要。
One has many switches and buttons, and most of those seem confusing and doesn't seem necessary to you.
由于这些页面现在只是为了提供信息,所以无需包含操作链接和按钮。
Because these pages are now purely informational, there's no need to include action links and buttons within them.
SWT具有您期望从现代库中获得的所有控件,譬如输入域、列表和按钮。
SWT has all the controls you would expect from a modern library, such as entry fields, lists, and buttons.
这样,在它内部放置标签和按钮时,结果就是按钮显示在标签下。
So, when you place a label and a button inside, the result is that the button is displayed below the label.
下一步,我们将在这个主窗口中创建标签和按钮对象,作为主窗口的子部件。
Next, we've created Label and Button objects as child widgets inside the MainWindow.
选项的数量减少,可用的选项和按钮越做越大,以便您能够轻松用姆指进行浏览。
The number of options is reduced, and the available options and buttons are made larger so that it's easy to navigate with your thumb.
浏览器和服务器的交互只能由页面中有限的控件发起——常常是链接和按钮。
The interaction between the browser and the server is initiated by a limited number of controls on the page — usually only by links and buttons.
header:包括贯穿所有界面通用的头部信息,例如,导航或界面名的链接和按钮。
Header: contains header information common across all the screens, such as links and buttons for navigation or screen names. The HTML file contains the following placeholder for the header.
您创建了一组小部件:标签、文本框和按钮(以及您一直使用的FlexTable)。
You create a set of widgets: labels, text boxes, and buttons (and the FlexTable you've been working with.)
在create表单中,拖动或双击编辑框下面和按钮上面的RichText控件。
On the create form, drag over or double-click a Rich Text control below the edit boxes and above the buttons.
如果在MozillaFirefox中运行清单2中的文件,它将呈现一个文本框和按钮。
If you run the file in Listing 2 in Mozilla Firefox, it will render a text box and button.
抢眼的颜色、3d效果、漂亮的图标和按钮可以给页面增加一些闪光点,给人一种高品质的感受。
As with strong colour and 3d effects, appealing ICONS and buttons can add that bit of polish to help give a page a high-quality feel.
如果用户单击其他链接和按钮,就向服务器发出另一个请求,用服务器返回的新页面替换当前页面。
If the user clicks another link or button, another request is made to the server, and the current page is replaced with the new page that the server returns.
第二个选项卡UpdateStatus,包含一个具有文本区域和按钮的HTML表单。
The second tab, Update Status, contains an HTML form with a text area and button.
它类似于Checker,可以设置属性和动作的数量,并且可以更改传播属性值和按钮文本。
It is similar to the Checker in that you can set the number of properties and actions and you can change the broadcast property values and button text.
例如,如果在单击按钮和按钮的动作完成之间有一个确认步骤,即使确认失败也应该重新启用按钮。
For example, if there's a confirmation step between clicking on a button and the completion of its action, the button should be re-enabled even if confirmation fails.
例如,如果在单击按钮和按钮的动作完成之间有一个确认步骤,即使确认失败也应该重新启用按钮。
For example, if there's a confirmation step between clicking on a button and the completion of its action, the button should be re-enabled even if confirmation fails.
应用推荐