private void OnGroupRowChanged(object sender, RowChangedArgs args) { PersonGroup group = groupTreeModel.GetValue(args.Iter, 0) as PersonGroup; if (group == null) { return; } if (groupButtonMap.ContainsKey(args.Path.Indices [0]) == false) { Logger.Debug("GroupWindow.OnGroupRowChanged () called on a path we don't know about, adding it now."); AddGroupButton(new GroupButton(group), args.Path); return; } GroupButton groupButton = groupButtonMap [args.Path.Indices [0]]; Logger.Debug("GroupWindow.OnGroupRowChanged updating group: {0} -> {1}", groupButton.PersonGroup.DisplayName, group.DisplayName); // Update the button's PersonGroup. It'll do the work of updating the label. groupButton.PersonGroup = group; }
private void OnDataRowChanged(object o, RowChangedArgs args) { // This will: // - invalidate our model row // - re-lay cells out QueueResize(); }
private void OnDataRowChanged(object o, RowChangedArgs args) { if (Changed != null) { ModelChanged(this, new EventArgs()); } }
private void OnRowChanged(object o, RowChangedArgs args) { if (args == null || args.Path == null) { return; // prevent a null pointer exception } iFolderViewItem item = (iFolderViewItem)items[args.Path.ToString()]; if (item != null) { item.Refresh(); } }
private void OnPersonRowChanged(object sender, RowChangedArgs args) { // Logger.Debug("PersonView:OnPersonRowChanged Called"); PersonCard card = personCardMap[args.Iter]; if (card != null) { if (card.Person == null) { card.Person = model.GetValue(args.Iter, 0) as Person; } vbox.ReorderChild(card, args.Path.Indices [0]); } }
private void OnModelRowChanged(object o, RowChangedArgs a) { foreach (GridViewColumn col in visible) { // We don't just use the a.Path directly, // as for some bloody reason the a.Path.Depth // gets corrupted on win32 randomly resulting // in depths of 10923461, and things go boom. TreePath p = model.GetPath(a.Iter); MeasureCell(p, col); InvalidateCellRect(p, col); } UpdateDrawingAreaSizeRequests(); }
private void row_changed(object o, RowChangedArgs args) { changed = true; }
// called for each changed column! void HandleTreeStoreRowChanged(object o, RowChangedArgs args) { //Console.WriteLine ("TreeStoreRowChanged"); UpdateModel (args.Iter); }
public void OnRowChanged(object sender, RowChangedArgs args) { //UpdateNumberOfPages(); }
void Model_RowChanged(object o, RowChangedArgs e) { Invalidate(); }
private void HandleChanged(object sender, RowChangedArgs args) { QueueUpdate(); }
private void OnGroupRowChanged(object sender, RowChangedArgs args) { PersonGroup group = groupTreeModel.GetValue (args.Iter, 0) as PersonGroup; if (group == null) return; if (groupButtonMap.ContainsKey (args.Path.Indices [0]) == false) { Logger.Debug ("GroupWindow.OnGroupRowChanged () called on a path we don't know about, adding it now."); AddGroupButton (new GroupButton (group), args.Path); return; } GroupButton groupButton = groupButtonMap [args.Path.Indices [0]]; Logger.Debug ("GroupWindow.OnGroupRowChanged updating group: {0} -> {1}", groupButton.PersonGroup.DisplayName, group.DisplayName); // Update the button's PersonGroup. It'll do the work of updating the label. groupButton.PersonGroup = group; }
void Model_RowChanged(object o, RowChangedArgs e) { Invalidate (); }
private void OnRowChanged(object o, RowChangedArgs args) { if (args == null || args.Path == null) return; iFolderViewItem item = (iFolderViewItem)items[args.Path.ToString()]; if (item != null) { item.Refresh(); } }
private void OnPersonRowChanged(object sender, RowChangedArgs args) { // Logger.Debug("PersonView:OnPersonRowChanged Called"); PersonCard card = personCardMap[args.Iter]; if(card != null) { if(card.Person == null) { card.Person = model.GetValue (args.Iter, 0) as Person; } vbox.ReorderChild(card, args.Path.Indices [0]); } }
// called for each changed column! protected void HandleTreeStoreRowChanged(object o, RowChangedArgs args) { //Console.WriteLine ("TreeStoreRowChanged"); UpdateModel(args.Iter); }
private void OnRowChanged(object o, RowChangedArgs args) { QueueDraw(); }
private void OnRowChanged(object o, RowChangedArgs args) { iFolderViewGroup.CheckThread(); if (args == null || args.Path == null) return; iFolderViewItem item = (iFolderViewItem)items[args.Path.ToString()]; if (item != null) { Console.WriteLine("iFolderViewGroup.OnRowChanged: {0}", item.Holder.iFolder.Name); item.Refresh(); Console.WriteLine("iFolderViewGroup.OnRowChanged: {0} exiting", item.Holder.iFolder.Name); } }
private void OnRowChanged (object o, RowChangedArgs args) { QueueDraw (); }