[Gtk-sharp-list] Problem in using GtkTreeview

Luciano _ lnc19 at hotmail.com
Wed Dec 27 07:13:28 EST 2006

I guess you can use Foreach method:

thetreeview.Model.Foreach(new TreeModelForeachFunc(DoSomething));

public static bool DoSelectChange(TreeModel model, TreePath path, TreeIter 
          if((bool)model.GetValue(iter, 1))
                 // Do Something

            // This value tell that it will keep going
           return false;

ps: if you want to change Layout instead of read the info about 

>From: lordphoenix <lordphoenix at free.fr>
>To: gtk-sharp-list at lists.ximian.com
>Subject: [Gtk-sharp-list] Problem in using GtkTreeview
>Date: Wed, 27 Dec 2006 11:16:55 +0100
>MIME-Version: 1.0
>Received: from lists.ximian.com ([]) by 
>bay0-mc3-f6.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Wed, 27 
>Dec 2006 02:15:11 -0800
>Received: from galactus.ximian.com (localhost.localdomain [])by 
>lists.ximian.com (Postfix) with ESMTP id 439211CFBAF;Wed, 27 Dec 2006 
>06:26:35 -0500 (EST)
>Received: from herald.ximian.com (frontgate.ximian.com [])by 
>lists.ximian.com (Postfix) with ESMTP id 6FEAA1CFB87for 
><gtk-sharp-list at lists.ximian.com>;Wed, 27 Dec 2006 06:26:33 -0500 (EST)
>Received: by herald.ximian.com (Postfix, from userid 2601)id A577B7009E; 
>Wed, 27 Dec 2006 05:15:07 -0500 (EST)
>Received: from swip.net (mailfe08.tele2.fr [])by 
>herald.ximian.com (Postfix) with ESMTP id 8877970093for 
><gtk-sharp-list at lists.ximian.com>;Wed, 27 Dec 2006 05:15:03 -0500 (EST)
>Received: from [] (HELO jupiter)by mailfe08.swip.net 
>(CommuniGate Pro SMTP 5.0.12)with ESMTP id 366220602 for 
>gtk-sharp-list at lists.ximian.com;Wed, 27 Dec 2006 11:14:56 +0100
>X-Message-Info: txF49lGdW421U3DYXtu//q3CAMSkoifUmi5CYPyqPyE=
>X-Original-To: gtk-sharp-list at lists.ximian.com
>Delivered-To: gtk-sharp-list at lists.ximian.com
>X-Cloudmark-Score: 0.000000 []
>X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.10.6; i486-pc-linux-gnu)
>X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on 
>X-Spam-Level: **
>X-Spam-Status: No, score=2.0 required=5.0 tests=FORGED_RCVD_HELO 
>X-BeenThere: gtk-sharp-list at lists.ximian.com
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: "Discussion of the .Net bindings for 
><http://lists.ximian.com/mailman/listinfo/gtk-sharp-list>,<mailto:gtk-sharp-list-request at lists.ximian.com?subject=unsubscribe>
>List-Archive: <http://lists.ximian.com/pipermail/gtk-sharp-list>
>List-Post: <mailto:gtk-sharp-list at lists.ximian.com>
>List-Help: <mailto:gtk-sharp-list-request at lists.ximian.com?subject=help>
><http://lists.ximian.com/mailman/listinfo/gtk-sharp-list>,<mailto:gtk-sharp-list-request at lists.ximian.com?subject=subscribe>
>Errors-To: gtk-sharp-list-bounces at lists.ximian.com
>Return-Path: gtk-sharp-list-bounces at lists.ximian.com
>X-OriginalArrivalTime: 27 Dec 2006 10:15:11.0345 (UTC) 
>I'm looking for the best way to browse a ListStore from first element
>to last.
>It's a listore with one string and one bool per row and I need to make
>treatment on each string wich corresponding boolean is true.
>I've found a solution but I don't like it and it makes me to have
>troubles in some particular case.
>What kind of solution would you use?
>PS : Sorry for ma bad English I don't speak it very often :)
>Thanks for your help.

><< signature.asc >>

>Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com

De todo para la Mujer Latina http://latino.msn.com/mujer/

More information about the Gtk-sharp-list mailing list