Example #1
0
		void HandleRowChanged (object sender, ListRowEventArgs e)
		{
			var p = new Gtk.TreePath (new int[] { e.Row });
			var it = IterFromNode (e.Row);
			adapter.EmitRowChanged (p, it);
			parent.QueueResize ();
		}
Example #2
0
 void HandleColumnSizeChanged(object sender, ListRowEventArgs e)
 {
     var source = (IListDataSource)sender;
     ResetColumnSize (source);
 }
Example #3
0
		void HandleRowDeleted (object sender, ListRowEventArgs e)
		{
			var p = new Gtk.TreePath (new int[] { e.Row });
			adapter.EmitRowDeleted (p);
			parent.QueueResize ();
		}
Example #4
0
 private void OnRowInserted(ListRowEventArgs e)
 {
     var inserted = RowInserted;
     if (inserted != null)
         inserted (this, e);
 }
Example #5
0
 private void OnRowDeleted(ListRowEventArgs e)
 {
     var deleted = RowDeleted;
     if (deleted != null)
         deleted (this, e);
 }
Example #6
0
 private void OnRowChanged(ListRowEventArgs e)
 {
     var changed = RowChanged;
     if (changed != null)
         changed (this, e);
 }
Example #7
0
 private void OnRowsUpdated(object sender, ListRowEventArgs e)
 {
     OnCollectionChanged (new NotifyCollectionChangedEventArgs (NotifyCollectionChangedAction.Reset));
 }