void OnPathSelectionChanged(object o, EventArgs args) { TreeIter iter; TreeModel model; if (!((TreeSelection)o).GetSelected(out model, out iter)) { return; } currentSelectedPath = (string)model.GetValue(iter, 1); IExploreViewChild child = viewChildren.CurrentPageWidget as IExploreViewChild; UpdateChildPath(child); }
protected void UpdateChildPath(IExploreViewChild child) { GdkWindow.Cursor = new Gdk.Cursor(Gdk.CursorType.Watch); child.UpdatePath(currentSelectedPath); GdkWindow.Cursor = null; }
public void OnSwitchPage(object o, SwitchPageArgs args) { IExploreViewChild child = viewChildren.GetNthPage((int)args.PageNum) as IExploreViewChild; UpdateChildPath(child); }