[Gtk-sharp-list] ButtonPressEvents and Glade

misleb@onshore.com misleb@onshore.com
Tue, 2 Mar 2004 15:55:31 -0600 (CST)


Make your Glade GUI as usual, but leave out the TreeView. Just create
an empty ScrolledWindow. Add your MyTreeView instance to it later, in
your code. 

i.e.:

   scrolledwindow1.Add(mytreeview);
   scrolledwindow1.ShowAll();

On  2 Mar, Calvin Gaisford wrote:
> I've read through the FAQ and discussions on the changes made in 0.15 
> and how default handlers now behave.  I understand the benefit of 
> subclassing a TreeView and providing my own delegates to do what I 
> want.  I am wondering if this is possible when using glade.  Using 
> autoconnect in glade is great but it looks like I can only get it to 
> return me a Gtk.TreeView not my subclassed TreeView.
> 
> Any thoughts?
> 
> -Calvin
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> 
> 
> !DSPAM:4044fc12241125044313483!
> 
>