Refreshing widgets



Maybe obvious...

load some settings (eg. toggle buttons)

if(fgk_GetSettings(&current,OPTFILE)<0) {
        quick_message(window, "Error loading settings file:"OPTFILE);
} else {
        
(current.splash==1)?gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check_splash),TRUE):gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check_splash),FALSE);
                
}

how do i get the toggles on the window to reflect a stqte change
refresh?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]