Hi and thanks for the post

I added this code to clear all entry and textviews on my window

                if(child is Gtk.Entry)

                {

                        Gtk.Entry en1 = child as Gtk.Entry;

                        en1.Text = "";



                }

                if(child is Gtk.TextView)

                {

                        Gtk.TextView tv1 = child as Gtk.TextView;

                        tv1.Buffer.Text = "";

It works fine

Thanks
Ian

--
View this message in context: 
http://mono.1490590.n4.nabble.com/Loop-through-all-components-in-Window-tp1545038p4081191.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to