示例#1
0
void CheckOption::optionToScreen(NameValueFile const &file) const
    {
    bool active = file.getValueBool(mOptionName);
    gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(
            Builder::getBuilder()->getWidget(mWidgetName)), active);
    }