如果您使用的是GIMPV2.7树,您将看到许多新编写的代码,用于在GIMP处于新的单一窗口模式时管理可停靠的对话框。
If you are using the GIMP V2.7 tree, you can see a lot of newly written code used to manage the dockable dialogs when GIMP is in the new single-window mode.
只要您编写的代码用来产生要求用户与之交互的组件(如对话框),就要编写测试,但实际上编写测试要在编写代码之前进行。
Write the tests as soon as there is code to be written that produces something a user will interact with (such as a dialog), but before actually writing the code.
目标是替换操作:我们将编写一个死循环来代替弹出Hello World对话框,并引起挂起。
The goal is to replace the action: instead of a pop-up dialog for Hello World, we will code an infinite loop and cause a hang.
虽然表单型和对话框型的程序很容易完成,要编写好的图形程序却比较难。
While form and dialog-based apps are easy to make, writing good graphical apps is more difficult.
你可以通过编写函数来选择菜单选项,弹出对话框,设定变量值或发布命令。
You can write functions to select a menu choice, pull up a dialog, set a value for a variable, or issue a command.
请问VC通信控件编写串口程序,怎样通过对话框来实现串口参数修改?
Will the VC to compile the serial communication control procedures, how to achieve the serial port parameters through the dialog box changes?
如果某界面的一个元素改变,例如,标题字体从一个对话框转移到另外一个,那么你就可能不得不重新编写每一个脚本。
If one element of the interface should change-for example, if Caption Typeface moves from one dialog box to another-then you might have to revise each script.
如果某界面的一个元素改变,例如,标题字体从一个对话框转移到另外一个,那么你就可能不得不重新编写每一个脚本。
If one element of the interface should change-for example, if Caption Typeface moves from one dialog box to another-then you might have to revise each script.
应用推荐