journal cleaning about gtk_button_get_label (btt_edit_a_new_measure)
This commit is contained in:
parent
2158a831dd
commit
b2c0a2f52a
|
@ -425,7 +425,7 @@ void on_situations_box_do_reset (GtkWidget *btt_reset, GtkScrollbar *reset_scrol
|
|||
|
||||
void on_clicked_topbar_right_measure (GtkWidget *btt, gpointer data)
|
||||
{
|
||||
fsm_journal_event (DEBUG, BUTTON, "signal", "clicked topbar right measure()", "");
|
||||
fsm_journal_event (DEBUG, BUTTON, "signal", "clicked topbar right measure()", "🧭️");
|
||||
// fsm_measures_sorted_list_do something ();
|
||||
gtk_window_set_child (GTK_WINDOW (widget_get_main_window ()),
|
||||
GTK_WIDGET (widget_get_measure_page()));
|
||||
|
@ -433,7 +433,8 @@ void on_clicked_topbar_right_measure (GtkWidget *btt, gpointer data)
|
|||
|
||||
void on_start_new_measure (GtkWidget *btt, gpointer data)
|
||||
{
|
||||
fsm_journal_event (DEBUG, BUTTON, "signal", "start new measure()", "");
|
||||
fsm_journal_event (DEBUG, BUTTON, "signal", "start a new measure()",
|
||||
gtk_button_get_label (GTK_BUTTON (btt))); // gtk_label_get_text () ? TODO
|
||||
gtk_window_set_child (GTK_WINDOW (widget_get_main_window ()),
|
||||
GTK_WIDGET (widget_measure_do_select_rules_first()));
|
||||
}
|
||||
|
|
|
@ -68,4 +68,3 @@ void *widget_get_all_rules_left_pane ()
|
|||
return rules_tree_and_pilot_box;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -298,6 +298,12 @@ void *widget_get_measure_page()
|
|||
caliper = gtk_picture_new_for_filename
|
||||
("./data/stamp/measure caliper icon.png");
|
||||
btt_edit_a_new_measure = gtk_toggle_button_new_with_label ("edit a new measure");
|
||||
|
||||
printf("gtk_button_get_label (btt_edit_a_new_measure) = %s <---\
|
||||
\npourquoi est-ce que je n'arrive pas à afficher ce label dans le journal ? \n",
|
||||
gtk_button_get_label (GTK_BUTTON (btt_edit_a_new_measure)));
|
||||
// voir signal > void on_start_new_measure (GtkWidget *btt, gpointer data))
|
||||
|
||||
g_signal_connect (btt_edit_a_new_measure, "toggled",
|
||||
G_CALLBACK (on_start_new_measure), NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue