Logo Search packages:      
Sourcecode: ibus-table version File versions  Download package

def table::tabengine::property_activate (   self,
  property,
  prop_state = ibus.PROP_STATE_UNCHECKED 
)

Shift property

Definition at line 1000 of file table.py.

01000                                                                                  :
        '''Shift property'''
        if property == u"status":
            self._change_mode ()
        elif property == u'py_mode' and self._ime_py:
            self._editor.r_shift ()
        elif property == u'onechar':
            self._editor._onechar = not self._editor._onechar
        elif property == u'dcommit':
            self._direct_commit = not self._direct_commit
        elif property == u'letter':
            self._full_width_letter [self._mode] = not self._full_width_letter [self._mode]
        elif property == u'punct':
            self._full_width_punct [self._mode] = not self._full_width_punct [self._mode]
        elif property == u'cmode':
            self._editor.change_chinese_mode()
            self.reset()
        self._refresh_properties ()
    #    elif property == "setup":
            # Need implementation
    #        self.start_helper ("96c07b6f-0c3d-4403-ab57-908dd9b8d513")
        # at last invoke default method 
    
    def _update_preedit (self):


Generated by  Doxygen 1.6.0   Back to index