[Gtk-sharp-list] Editable DataGrid.

Luciano Callero lnc19@hotmail.com
Wed, 15 Oct 2003 09:03:18 -0300


Ok. I Was looking at Monodoc, and i saw that Data Property is Read-Only.. I 
mean, i can't use this.

>From: Mike Kestner <mkestner@speakeasy.net>
>To: Luciano Callero <lnc19@hotmail.com>
>CC: gtk-sharp-list@lists.ximian.com
>Subject: Re: [Gtk-sharp-list] Editable DataGrid.
>Date: Tue, 14 Oct 2003 17:26:51 -0500
>MIME-Version: 1.0
>Received: from listsmx.ximian.com ([141.154.95.15]) by mc11-f42.hotmail.com 
>with Microsoft SMTPSVC(5.0.2195.5600); Tue, 14 Oct 2003 15:26:16 -0700
>Received: from headcheese.ximian.com (localhost [127.0.0.1])by 
>listsmx.ximian.com (Postfix) with ESMTPid 341071244E5; Tue, 14 Oct 2003 
>18:26:12 -0400 (EDT)
>Received: by listsmx.ximian.com (Postfix, from userid 38)id 286DA1244CE; 
>Tue, 14 Oct 2003 18:24:58 -0400 (EDT)
>Received: from mail.speakeasy.net (mail6.speakeasy.net [216.254.0.206])by 
>listsmx.ximian.com (Postfix) with ESMTP id 7B79B12405Dfor 
><gtk-sharp-list@lists.ximian.com>; Tue, 14 Oct 2003 18:24:27 -0400 (EDT)
>Received: (qmail 20288 invoked from network); 14 Oct 2003 22:24:25 -0000
>Received: from unknown (HELO alpha) (mkestner@[64.81.145.188])          
>(envelope-sender <mkestner@speakeasy.net>)          by mail6.speakeasy.net 
>(qmail-ldap-1.03) with SMTP          for <lnc19@hotmail.com>; 14 Oct 2003 
>22:24:25 -0000
>X-Message-Info: vAu4ZEtdRig9ny/72ZV7stqEbTFPuV91
>In-Reply-To: <BAY2-F4RZl1L7yXnzdf0000a92b@hotmail.com>
>References: <BAY2-F4RZl1L7yXnzdf0000a92b@hotmail.com>
>Message-Id: <1066170411.9321.7.camel@alpha>
>X-Mailer: Ximian Evolution 1.4.4 X-Spam-Status: No, hits=-32.4 
>required=5.0tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, 
>      REPLY_WITH_QUOTES,USER_AGENT_XIMIANversion=2.53
>X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53 
>(1.174.2.15-2003-03-30-exp)
>Sender: gtk-sharp-list-admin@lists.ximian.com
>Errors-To: gtk-sharp-list-admin@lists.ximian.com
>X-BeenThere: gtk-sharp-list@lists.ximian.com
>X-Mailman-Version: 2.0.13
>Precedence: bulk
>List-Help: <mailto:gtk-sharp-list-request@lists.ximian.com?subject=help>
>List-Post: <mailto:gtk-sharp-list@lists.ximian.com>
>List-Subscribe: 
><http://lists.ximian.com/mailman/listinfo/gtk-sharp-list>,<mailto:gtk-sharp-list-request@lists.ximian.com?subject=subscribe>
>List-Id: Discussion of the C# bindings for Gtk+ 
><gtk-sharp-list.lists.ximian.com>
>List-Unsubscribe: 
><http://lists.ximian.com/mailman/listinfo/gtk-sharp-list>,<mailto:gtk-sharp-list-request@lists.ximian.com?subject=unsubscribe>
>List-Archive: <http://lists.ximian.com/archives/public/gtk-sharp-list/>
>Return-Path: gtk-sharp-list-admin@lists.ximian.com
>X-OriginalArrivalTime: 14 Oct 2003 22:26:19.0473 (UTC) 
>FILETIME=[30A12410:01C392A2]
>
>On Tue, 2003-10-14 at 13:56, Luciano Callero wrote:
>
> > The only way that i think is to create another class that inherit Entry 
>(in
> > case that entry is the choice) that have another property that reference 
>to
> > row Index. Is this correct? it is posible to do in other way?
>
>Take a look at GLib.Object.Data.  It is a Hashtable that allows you to
>store arbitrary data on any GLib.Object.  So you could do something
>like:
>
>entry.Data ["row_index"] = row;
>
>--
>Mike Kestner <mkestner@speakeasy.net>
>
>_______________________________________________
>Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

_________________________________________________________________
Las mejores tiendas, los precios mas bajos, entregas en todo el mundo, 
YupiMSN Compras: www.yupimsn.com/compras