コード例 #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();
 }