WIP: plusieurs problèmes identifiés (à résoudre)
This commit is contained in:
parent
5071f152e4
commit
80bde12a84
|
@ -187,7 +187,12 @@ void on_toggle_EXEC_EDIT (GtkWidget *btt_XOR_EXEC_EDIT, GtkWidget *btt_MODEL_RUN
|
|||
|
||||
void on_open_STATE (GtkWidget *btt_open_STATE, gpointer data) {
|
||||
printf("on_open_STATE status = %d\n", get_status ());
|
||||
window_main_child (main_window, STATE);
|
||||
printf("gtk_check_button_get_active > after = %d, %d, %d from callback : on_open_STATE()\n",\
|
||||
gtk_check_button_get_active (get_GtkButton ("state")), // (GTK_CHECK_BUTTON (btt_open_STATE)),
|
||||
gtk_check_button_get_active (get_GtkButton ("rules")), // (GTK_CHECK_BUTTON (btt_open_RULES)),
|
||||
gtk_check_button_get_active (get_GtkButton ("data analysis"))); // (GTK_CHECK_BUTTON (btt_open_DATA)));
|
||||
|
||||
if (! gtk_check_button_get_active (get_GtkButton ("state"))) window_main_child (main_window, STATE);
|
||||
}// SWITCH_TO (STATE);}
|
||||
|
||||
void on_open_RULES (GtkWidget *btt_open_RULES, gpointer data) {
|
||||
|
|
|
@ -218,12 +218,12 @@ void window_header_bar (GtkWindow *window, char *title){
|
|||
gtk_check_button_get_active (GTK_CHECK_BUTTON (btt_open_RULES)),
|
||||
gtk_check_button_get_active (GTK_CHECK_BUTTON (btt_open_DATA)));
|
||||
|
||||
gtk_check_button_set_active (GTK_CHECK_BUTTON (btt_open_STATE), TRUE);
|
||||
// gtk_check_button_set_active (GTK_CHECK_BUTTON (get_GtkButton ("state")), TRUE);
|
||||
|
||||
printf("gtk_check_button_get_active > after = %d, %d, %d\n",\
|
||||
gtk_check_button_get_active (GTK_CHECK_BUTTON (btt_open_STATE)),
|
||||
gtk_check_button_get_active (GTK_CHECK_BUTTON (btt_open_RULES)),
|
||||
gtk_check_button_get_active (GTK_CHECK_BUTTON (btt_open_DATA)));
|
||||
gtk_check_button_get_active (get_GtkButton ("state")), // (GTK_CHECK_BUTTON (btt_open_STATE)),
|
||||
gtk_check_button_get_active (get_GtkButton ("rules")), // (GTK_CHECK_BUTTON (btt_open_RULES)),
|
||||
gtk_check_button_get_active (get_GtkButton ("data analysis"))); // (GTK_CHECK_BUTTON (btt_open_DATA)));
|
||||
|
||||
gtk_header_bar_pack_start (GTK_HEADER_BAR (header_bar), GTK_WIDGET (btt_XOR_EXEC_EDIT));
|
||||
gtk_header_bar_pack_start (GTK_HEADER_BAR (header_bar), GTK_WIDGET (btt_MODEL_RUN_STOP));
|
||||
|
|
Loading…
Reference in New Issue