[Gtk-sharp-list] Inherritance of WebKit.WebView features
Chris Howie
cdhowie at gmail.com
Wed Dec 17 10:35:29 EST 2008
On Wed, Dec 17, 2008 at 3:32 AM, e8 <contact at australianmail.homeip.net> wrote:
> Hi I would like to know how I can get my widget to give the options that
> WebView gives? Currently the widget derived its features from Gtk.Bin, but I
> also want WebView methods and features included. You cna only derive from
> one base class. Im not sure if Interfacing couldbe used to rebuild the
> widget to give both powers. I'm fairly new to C# and not sure how to go
> about this.
A fairly simple approach would be to expose the WebView object in a
read-only property. Perhaps if you tell us what you're trying to
accomplish we could suggest a better approach.
--
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
More information about the Gtk-sharp-list
mailing list