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

void CIBusWinHandler::updateStatus ( int  key,
int  value 
) [virtual]

Update status of current session using a GTK buttons.

Definition at line 90 of file imi_ibus_win.cpp.

{
    switch (key) {
    case STATUS_ID_CN:
        m_engine->update_status_property(value != 0);
        break;
    case STATUS_ID_FULLPUNC:
        m_engine->update_punct_property(value != 0);
        break;
    case STATUS_ID_FULLSYMBOL:
        m_engine->update_letter_property(value != 0);
        break;
    default:
        break;
    }
}

Generated by  Doxygen 1.6.0   Back to index