callgraph: allow going backward with alt+left arrow

Sometimes its really annoying to dive into a descendant and then want to
go back to where you were. This uses alt+left arrow to go back to the
previous node. It doesn't, however, re-expand the tree to the previous
state.
This commit is contained in:
Christian Hergert
2016-04-13 06:31:30 -07:00
parent 6e55454185
commit 172a1b772d
2 changed files with 46 additions and 0 deletions

View File

@ -32,6 +32,10 @@ G_DECLARE_DERIVABLE_TYPE (SpCallgraphView, sp_callgraph_view, SP, CALLGRAPH_VIEW
struct _SpCallgraphViewClass
{
GtkBinClass parent_class;
void (*go_previous) (SpCallgraphView *self);
gpointer padding[8];
};
GtkWidget *sp_callgraph_view_new (void);