Пример #1
0
 private void on_item_removed(object Sender, ListRemoveEventArgs args)
 {
     //sterge din store iterul
     Gtk.TreeIter iter;
     this.Model.GetIterFromString(out iter, args.Index.ToString());
     store.Remove(ref iter);
     this.QueueDraw();
 }
Пример #2
0
 private void on_item_removed( object Sender, ListRemoveEventArgs args )
 {
     //sterge din store iterul
     Gtk.TreeIter iter;
     this.Model.GetIterFromString( out iter, args.Index.ToString() );
     store.Remove( ref iter );
     //remove the index from the checked_items also
     checked_items.Remove( args.Index );
     this.QueueDraw();
 }