aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/ui/gtk/gtk.h
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2012-05-29 13:23:00 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-06-19 13:06:19 -0300
commitb4418c6848dcd56cc90625dcfaef7cb019492233 (patch)
treea8bf246b7e71be4ccafa00f4412087c299019c50 /tools/perf/ui/gtk/gtk.h
parentperf ui/gtk: Introduce struct perf_gtk_context (diff)
downloadwireguard-linux-b4418c6848dcd56cc90625dcfaef7cb019492233.tar.xz
wireguard-linux-b4418c6848dcd56cc90625dcfaef7cb019492233.zip
perf ui/gtk: Add GTK statusbar widget to browser window
Add statusbar widget to display non-critical messages at the bottom of the window. This can be used for showing a status change, warning or help message. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Acked-by: Pekka Enberg <penberg@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Pekka Enberg <penberg@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1338265382-6872-6-git-send-email-namhyung@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/gtk/gtk.h')
-rw-r--r--tools/perf/ui/gtk/gtk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/ui/gtk/gtk.h b/tools/perf/ui/gtk/gtk.h
index 34fbca6d48a2..206167868c5f 100644
--- a/tools/perf/ui/gtk/gtk.h
+++ b/tools/perf/ui/gtk/gtk.h
@@ -10,6 +10,8 @@
struct perf_gtk_context {
GtkWidget *main_window;
+ GtkWidget *statbar;
+ guint statbar_ctx_id;
};
extern struct perf_gtk_context *pgctx;