def __init__(self): PopupPanel.__init__(self, True) contents = HTML("Click anywhere outside this popup to make it disappear.") contents.setWidth("128px") contents.setHeight("128px") self.setWidget(contents) self.setStyleName("ks-popups-Popup")