Lines Matching refs:editable

68 gcrtv_editing_done (GtkCellEditable         *editable,  in gcrtv_editing_done()  argument
74 if (GNC_CELL_VIEW(editable)->focus_out_id > 0) in gcrtv_editing_done()
76 g_signal_handler_disconnect (GNC_CELL_VIEW(editable)->text_view, in gcrtv_editing_done()
77 GNC_CELL_VIEW(editable)->focus_out_id); in gcrtv_editing_done()
78 GNC_CELL_VIEW(editable)->focus_out_id = 0; in gcrtv_editing_done()
81 if (GNC_CELL_VIEW(editable)->populate_popup_id > 0) in gcrtv_editing_done()
83 g_signal_handler_disconnect (GNC_CELL_VIEW(editable)->text_view, in gcrtv_editing_done()
84 GNC_CELL_VIEW(editable)->populate_popup_id); in gcrtv_editing_done()
85 GNC_CELL_VIEW(editable)->populate_popup_id = 0; in gcrtv_editing_done()
88 if (GNC_CELL_VIEW(editable)->editing_canceled) in gcrtv_editing_done()
94 path = g_object_get_data (G_OBJECT(editable), in gcrtv_editing_done()
97 new_text = gnc_cell_view_get_text (GNC_CELL_VIEW(editable)); in gcrtv_editing_done()
99 gtk_cell_editable_remove_widget (GTK_CELL_EDITABLE(editable)); in gcrtv_editing_done()
123 GtkWidget *editable; in gcrtv_start_editing() local
133 editable = g_object_new (GNC_TYPE_CELL_VIEW, NULL); in gcrtv_start_editing()
135 g_signal_connect (editable, "button-press-event", in gcrtv_start_editing()
141 gnc_cell_view_set_text (GNC_CELL_VIEW(editable), text); in gcrtv_start_editing()
145 gtk_widget_grab_focus (GTK_WIDGET(editable)); in gcrtv_start_editing()
147 g_object_set_data_full (G_OBJECT(editable), in gcrtv_start_editing()
152 gtk_widget_show (editable); in gcrtv_start_editing()
154 g_signal_connect (editable, "editing-done", G_CALLBACK(gcrtv_editing_done), cell_tv); in gcrtv_start_editing()
156 cell_tv->editable = editable; in gcrtv_start_editing()
158 g_object_add_weak_pointer (G_OBJECT(cell_tv->editable), in gcrtv_start_editing()
159 (gpointer) &cell_tv->editable); in gcrtv_start_editing()
161 return GTK_CELL_EDITABLE(editable); in gcrtv_start_editing()