Searched refs:pgctx (Results 1 – 7 of 7) sorted by relevance
9 struct perf_gtk_context *pgctx; variable15 ctx = malloc(sizeof(*pgctx)); in perf_gtk__activate_context()36 if (!perf_gtk__is_active_context(pgctx) || in perf_gtk__error()44 dialog = gtk_message_dialog_new_with_markup(GTK_WINDOW(pgctx->main_window), in perf_gtk__error()61 if (!perf_gtk__is_active_context(pgctx) || in perf_gtk__warning_info_bar()69 gtk_label_set_text(GTK_LABEL(pgctx->message_label), msg); in perf_gtk__warning_info_bar()70 gtk_info_bar_set_message_type(GTK_INFO_BAR(pgctx->info_bar), in perf_gtk__warning_info_bar()72 gtk_widget_show(pgctx->info_bar); in perf_gtk__warning_info_bar()82 if (!perf_gtk__is_active_context(pgctx) || in perf_gtk__warning_statusbar()90 gtk_statusbar_pop(GTK_STATUSBAR(pgctx->statbar), in perf_gtk__warning_statusbar()[all …]
12 if (!perf_gtk__is_active_context(pgctx)) in gtk_helpline_pop()15 gtk_statusbar_pop(GTK_STATUSBAR(pgctx->statbar), in gtk_helpline_pop()16 pgctx->statbar_ctx_id); in gtk_helpline_pop()21 if (!perf_gtk__is_active_context(pgctx)) in gtk_helpline_push()24 gtk_statusbar_push(GTK_STATUSBAR(pgctx->statbar), in gtk_helpline_push()25 pgctx->statbar_ctx_id, msg); in gtk_helpline_push()
188 if (perf_gtk__is_active_context(pgctx)) { in symbol__gtk_annotate()189 window = pgctx->main_window; in symbol__gtk_annotate()190 notebook = pgctx->notebook; in symbol__gtk_annotate()207 pgctx = perf_gtk__activate_context(window); in symbol__gtk_annotate()208 if (!pgctx) in symbol__gtk_annotate()213 pgctx->notebook = notebook; in symbol__gtk_annotate()254 if (!perf_gtk__is_active_context(pgctx)) in perf_gtk__show_annotations()257 window = pgctx->main_window; in perf_gtk__show_annotations()265 perf_gtk__deactivate_context(&pgctx); in perf_gtk__show_annotations()
66 pgctx->info_bar = info_bar; in perf_gtk__setup_info_bar()67 pgctx->message_label = label; in perf_gtk__setup_info_bar()82 pgctx->statbar = stbar; in perf_gtk__setup_statusbar()83 pgctx->statbar_ctx_id = ctxid; in perf_gtk__setup_statusbar()
20 if (!perf_gtk__is_active_context(pgctx)) in perf_gtk__exit()
27 extern struct perf_gtk_context *pgctx;
615 pgctx = perf_gtk__activate_context(window); in evlist__gtk_browse_hists()616 if (!pgctx) in evlist__gtk_browse_hists()678 perf_gtk__deactivate_context(&pgctx); in evlist__gtk_browse_hists()