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

def tabsqlitedb::tabsqlitedb::get_ime_property (   self,
  attr 
)

get IME property from database, attr is the string of property,
which should be str.lower() :)

Definition at line 719 of file tabsqlitedb.py.

00719                                       :
        '''get IME property from database, attr is the string of property,
        which should be str.lower() :)
        '''
        sqlstr = 'SELECT val FROM main.ime WHERE attr = ?' 
        _result = self.db.execute( sqlstr, (attr,)).fetchall()
        #self.db.commit()
        if _result:
            return _result[0][0]
        else:
            return None

    def get_phrase_table_index (self):


Generated by  Doxygen 1.6.0   Back to index