def buttonClick(self, event): # create Notification instance and customize n = Notification(self._caption.getValue(), self._description.getValue(), self._style.getValue()) n.setPosition(self._position.getValue()) d = self._delay.getValue() n.setDelayMsec(int(d)) # sec->msec self._c.getWindow().showNotification(n)
def buttonClick(self, event): # create Notification instance and customize n = Notification(self._caption.getValue(), self._description.getValue(), self._style.getValue()) n.setPosition(self._position.getValue()) d = self._delay.getValue() n.setDelayMsec( int(d) ) # sec->msec self._c.getWindow().showNotification(n)