예제 #1
0
 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
예제 #2
0
 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)
예제 #8
0
 def __set_exit_key_text(self, value):
     # EAknSoftkeyExit
     _appuifw2.command_text(3009, value)
예제 #9
0
 def __get_exit_key_text(self):
     # EAknSoftkeyExit
     return _appuifw2.command_text(3009)
예제 #10
0
 def __set_menu_key_text(self, value):
     # EAknSoftkeyOptions
     _appuifw2.command_text(3000, value)
예제 #11
0
 def __get_menu_key_text(self):
     # EAknSoftkeyOptions
     return _appuifw2.command_text(3000)