def set_ok_cancel(ok, cancel): if not abort: if ok is not None: try: _appuifw2.command_text(-2, ok) except SymbianError: pass if cancel is not None: try: _appuifw2.command_text(-1, cancel) except SymbianError: pass
def set_ok_cancel(ok, cancel): if (not abort): if (ok is not None): try: _appuifw2.command_text(EAknSoftkeyOk, ok) except SymbianError: pass if (cancel is not None): try: _appuifw2.command_text(EAknSoftkeyCancel, cancel) except SymbianError: pass
def set_ok_cancel(ok, cancel): if not abort: if ok is not None: try: _appuifw2.command_text(-2, ok) except SymbianError: pass if cancel is not None: try: _appuifw2.command_text(-1, cancel) except SymbianError: pass return
def __set_exit_key_text(self, value): _appuifw2.command_text(3009, value)
def __get_exit_key_text(self): return _appuifw2.command_text(3009)
def __set_menu_key_text(self, value): _appuifw2.command_text(3000, value)
def __get_menu_key_text(self): return _appuifw2.command_text(3000)
def __set_exit_key_text(self, value): # EAknSoftkeyExit _appuifw2.command_text(3009, value)
def __get_exit_key_text(self): # EAknSoftkeyExit return _appuifw2.command_text(3009)
def __set_menu_key_text(self, value): # EAknSoftkeyOptions _appuifw2.command_text(3000, value)
def __get_menu_key_text(self): # EAknSoftkeyOptions return _appuifw2.command_text(3000)