Example #1
0
        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;
        }
Example #2
0
 private void OnDataRowChanged(object o, RowChangedArgs args)
 {
     // This will:
     // - invalidate our model row
     // - re-lay cells out
     QueueResize();
 }
Example #3
0
 private void OnDataRowChanged(object o, RowChangedArgs args)
 {
     if (Changed != null)
     {
         ModelChanged(this, new EventArgs());
     }
 }
Example #4
0
        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();
            }
        }
Example #5
0
        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]);
            }
        }
Example #6
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();
        }
Example #7
0
		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);
 }
Example #9
0
 public void OnRowChanged(object sender, RowChangedArgs args)
 {
     //UpdateNumberOfPages();
 }
Example #10
0
 void Model_RowChanged(object o, RowChangedArgs e)
 {
     Invalidate();
 }
Example #11
0
 private void HandleChanged(object sender, RowChangedArgs args)
 {
     QueueUpdate();
 }
Example #12
0
        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;
        }
Example #13
0
 void Model_RowChanged(object o, RowChangedArgs e)
 {
     Invalidate ();
 }
Example #14
0
 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();
        }
 }
Example #15
0
 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]);
     }
 }
Example #16
0
 // called for each changed column!
 protected void HandleTreeStoreRowChanged(object o, RowChangedArgs args)
 {
     //Console.WriteLine ("TreeStoreRowChanged");
     UpdateModel(args.Iter);
 }
Example #17
0
 private void OnRowChanged(object o, RowChangedArgs args)
 {
     QueueDraw();
 }
Example #18
0
 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 ();
 }
 private void HandleChanged(object sender, RowChangedArgs args)
 {
     QueueUpdate();
 }