Lines Matching refs:ui
14 struct gui *ui = (struct gui *) data; in on_info_bar_response() local
18 ui->error_info_bar = NULL; in on_info_bar_response()
24 struct gui *ui = ge->ui; in report_error() local
26 if (ui->error_info_bar == NULL) { in report_error()
29 ui->error_info_bar = gtk_info_bar_new_with_buttons(GTK_STOCK_OK, in report_error()
31 g_signal_connect(ui->error_info_bar, "response", G_CALLBACK(on_info_bar_response), ui); in report_error()
32 gtk_info_bar_set_message_type(GTK_INFO_BAR(ui->error_info_bar), in report_error()
35 ui->error_label = gtk_label_new(error->message); in report_error()
36 container = gtk_info_bar_get_content_area(GTK_INFO_BAR(ui->error_info_bar)); in report_error()
37 gtk_container_add(GTK_CONTAINER(container), ui->error_label); in report_error()
39 gtk_box_pack_start(GTK_BOX(ui->vbox), ui->error_info_bar, FALSE, FALSE, 0); in report_error()
40 gtk_widget_show_all(ui->vbox); in report_error()
44 gtk_label_set_text(GTK_LABEL(ui->error_label), buffer); in report_error()
61 void gfio_report_info(struct gui *ui, const char *title, const char *message) in gfio_report_info() argument
65 dialog = gtk_dialog_new_with_buttons(title, GTK_WINDOW(ui->window), in gfio_report_info()