def __init__(self): title_text = 'You\'ve completed Terminal Quest!' description_text = ( 'We are working on the next Chapter. ' 'In the meantime, would you like to send us any feedback?' ) KanoDialog.__init__( self, title_text=title_text, description_text=description_text, button_dict={ 'LAUNCH FEEDBACK': { 'color': 'blue', 'return_value': 'feedback' }, 'CLOSE APPLICATION': { 'color': 'orange', 'return_value': 'close' } } )
def __init__(self): title_text = 'Hai completato Terminal Quest!' description_text = ( 'Stiamo lavorando al prossimo Capitolo. ' 'Nel frattempo, vuoi mandarci qualche suggerimento?' ) KanoDialog.__init__( self, title_text=title_text, description_text=description_text, button_dict={ 'LAUNCH FEEDBACK': { 'color': 'blue', 'return_value': 'feedback' }, 'CLOSE APPLICATION': { 'color': 'orange', 'return_value': 'close' } } )
def __init__(self, win): entry = Gtk.Entry() entry.set_visibility(False) self.win = win KanoDialog.__init__( self, title_text=_("Parental Authentication"), description_text=_("Enter your parental password:"), widget=entry, has_entry=True, global_style=True, parent_window=self.win)
def __init__(self, win): entry = Gtk.Entry() entry.set_visibility(False) self.win = win KanoDialog.__init__( self, title_text='Parental Authentication', description_text='Enter your parental password:', widget=entry, has_entry=True, global_style=True, parent_window=self.win )
def __init__(self): title_text = _('You\'ve completed Terminal Quest!') description_text = \ _('We are working on the next Chapter. ' +\ 'In the meantime, would you like to send us any feedback?') KanoDialog.__init__( self, title_text=title_text, description_text=description_text, button_dict={ _('LAUNCH FEEDBACK'): { 'color': 'blue', 'return_value': 'feedback' }, _('CLOSE APPLICATION'): { 'color': 'orange', 'return_value': 'close' } } )