To create a File menu with an Exit menu item, add the code in Listing 11 to Gwitter.groovy
为了创建包含Exit菜单项的File 菜单,在Gwitter.groovy 中添加清单11 中的代码
For example, in a well-designed GUI application, the code that adds an Exit menu item would run on a Windows PC but not a Mac.
例如,在一个设计良好的GUI应用程序中,添加一个exit菜单项的代码可以在WindowsPC上运行,但它不能在mac机上运行。
You can also find Entry Point or Exit Point options in the Add UML context menu.
您还可以在AddUML内容菜单中找到进入点或者退出点。
Our application declares a File menu containing one operation: Exit. Its declaration is shown in Listing 4.
我们的应用程序声明一个File菜单,其中包含一个操作:Exit。
If you want (or need) to exit the classic style menu simply right click on the "Start menu Orb Icon" to open the "exit Window".
如果您想要(或需要)退出经典样式的菜单,只需要用鼠标右键单击“开始菜单圆形按钮”,并选择“Exit”即可。
The menu also lets the user set preferences for which server to connect to, connect to the server, and exit the program.
该菜单还允许用户设置连接到哪个服务器的首选项,连接到服务器,并退出程序。
Then, the Exit option would take him up only one level in the hierarchy. This meant that navigating through the menu tree was a real chore.
而退出选项只能将其带回到上一级菜单,这就意味着通过菜单树导航是一件真正繁琐的事。
Then, the Exit option would take him up only one level in the hierarchy. This meant that navigating through the menu tree was a real chore.
而退出选项只能将其带回到上一级菜单,这就意味着通过菜单树导航是一件真正繁琐的事。
应用推荐