InfoBar.setShowCloseButton

void setShowCloseButton(bool setting)

If true, a standard close button is shown.

When clicked it emits the response gtk.types.ResponseType.Close.

Parameters

settingtrue to include a close button