[Gtk-sharp-list] subclassing treeview
Mike Kestner
mkestner@ximian.com
Tue, 02 Mar 2004 16:38:19 -0600
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.
--
Mike Kestner <mkestner@ximian.com>