> On 7/29/05, ritchie turner <[EMAIL PROTECTED]> wrote:
> > Hi, I'm a C#, mono, and GTK# newbie :), I'm looking for an iconview
> > class does that exist, or what's an alternative? I can't find in the
> > latest mono distribution.
> 
> the class is called Gtk.IconView but it is only available since Gtk+
> 2.6, so you will need to used gtk-sharp-2.5.5 or gtk-sharp svn
> (there is an iconview demo in the gtk-sharp sources in the
> samples/GtkDemo folder, called DemoIconView.cs)

BTW, is it only me, or is the IconView.SelectedItems property seriously
broken right now? 

SelectedItems.Count seems to work. But accessing SelectedItems[0]
crashes everything. I'm using this rather awfull hack:

        if (SelectedItems.Count == 0)
                return null;

        TreePath path = new TreePath ("0");
        while (! PathIsSelected (path))
                path.Next ();

... to get the selected path. 


-- 
MichaƂ Dominik K.
[EMAIL PROTECTED]
www.mdk.org.pl


 
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to