void HandleListViewRowActivated(object o, RowActivatedArgs args) { TreeIter sel; if (!listView.Selection.GetSelected(out sel)) { return; } ListViewValueInfo vinfo = (ListViewValueInfo)listViewStore.GetValue(sel, 0); if (vinfo.Value.HasTimerTraces) { TimeLineViewWindow win = new TimeLineViewWindow(vinfo.Serie.Counter, vinfo.Value); win.Show(); } }
void HandleTreeViewRowActivated(object o, RowActivatedArgs args) { TreeIter it; store.GetIter(out it, args.Path); object oval = store.GetValue(it, ColValue); if (oval == null) { return; } CounterValue val = (CounterValue)oval; store.IterParent(out it, it); Counter c = (Counter)store.GetValue(it, ColCounter); TimeLineViewWindow win = new TimeLineViewWindow(c, val); win.Show(); }
void HandleListViewRowActivated (object o, RowActivatedArgs args) { TreeIter sel; if (!listView.Selection.GetSelected (out sel)) return; ListViewValueInfo vinfo = (ListViewValueInfo) listViewStore.GetValue (sel, 0); if (vinfo.Value.HasTimerTraces) { TimeLineViewWindow win = new TimeLineViewWindow (vinfo.Serie.Counter, vinfo.Value); win.Show (); } }
void HandleTreeViewRowActivated (object o, RowActivatedArgs args) { TreeIter it; store.GetIter (out it, args.Path); object oval = store.GetValue (it, ColValue); if (oval == null) return; CounterValue val = (CounterValue) oval; store.IterParent (out it, it); Counter c = (Counter) store.GetValue (it, ColCounter); TimeLineViewWindow win = new TimeLineViewWindow (c, val); win.Show (); }