This probably would not be the best design for a real application, but I wanted to illustrate the use of both native menus created with tags and XUL menus created with tags.
对于实际的应用程序这可能并非最好的设计,但是我想同时说明如何使用由 标签创建的本地菜单,以及用 标签创建的 XUL 菜单。
A real application would probably use a relational database system, but this example is enough for our purposes.
真实应用程序可能使用关系数据库系统,但这个示例对我们的目的来说足够了。
That choice would make a little more sense for a real application, but we wanted to avoid the distraction of explaining new library classes.
这个选择会在一个真实的应用程序中显得更加合理,但是我们希望避免介绍新的类来分散我们的注意。
应用推荐