On Fri, 7 Apr 2006 17:22:34 +1000
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> I have a treeview in a window, and immediately after the window is shown, I
> want to fill the treeview with rows, without user interaction. What event on
> which widget should I use? I have set up a dummy button to do this for the
> time being. I do not have a problem with how to add rows, etc; just want to
> know how to make it populate the treeview without user interaction.

Why don't you do like this:

- In the Main method:
        ...
        fillTreeView();
        myWindow.ShowAll();
        ...

You can simply populate the TreeView and then make the Window visible !

For an example, view the last lesson of my tutorial "TreeView for kids" at:

http://laas.altervista.org/tutorials/tview_7.php

bye


-- 

Salvatore ---------------------<|
LAAS --------------------------<|
http://laas.altervista.org ----<|
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to