This instance is a factory responsible for creating instances of class DefaultInformationControl, which will be responsible for managing the information window.
这个实例是一个负责创建类DefaultInformationControl的实例的工厂,所创建的实例将负责管理信息窗口。
Instead of creating a new window and setting it up, you put the Gtk.Window class into a subclass and move all setup code into a constructor.
现在不再创建并设置新窗口,而是把Gtk . window类放进一个子类,并把所有设置代码移动到构造函数。
There are times when you want to have the ability to display a list of choices as a pop-up window without creating a pop-up menu. The PopupList control can be used to do this.
有时,当您希望能够将一个选择列表显示为一个弹出式菜单而不用创建一个弹出式菜单时,可以使用PopupList控件做到这一点。
应用推荐