[Gtk-sharp-list] subclassing treeview
Alvaro A. Ramirez
alramire@ecs.syr.edu
Tue, 02 Mar 2004 17:49:04 -0500
yes! that was it! sorry, i should have included the line. the ref
keyword needed to be removed.
thanks,
alvaro
On Tue, 2004-03-02 at 17:38, Mike Kestner wrote:
> On Tue, 2004-03-02 at 16:04, Alvaro A. Ramirez wrote:
> > i'm trying to subclass treeview and override ButtonPressEvent in order
> > to display a context menu. this compiles fine on gtk# 0.15. on version
> > 0.17 it gives me the following error:
> >
> > easyTreeview.cs(55) error CS0115: `Gui.EasyTreeview.OnButtonPressEvent'
> > no suitable methods found to override
>
> Perhaps we could better assist you if you tell us what line 55 of
> easyTreeview.cs is?
>
> You probably just need to remove a ref keyword, since Gdk.Event* classes
> are now reference types, not value types.