Closes this widget. Returns true if the widget was closed; otherwise returns false.
First it sends the widget a . The widget is if it the close event. If it the event, nothing happens. The default implementation of () accepts the close event.
If the widget has the flag, the widget is also deleted. A close events is delivered to the widget no matter if the widget is visible or not.
The () signal is emitted when the last visible primary window (i.e. window with no parent) with the attribute set is closed. By default this attribute is set for all widgets except transient windows such as splash screens, tool windows, and popup menus.
阅读(3394) | 评论(0) | 转发(0) |