[Gtk-sharp-list] Inherritance of WebKit.WebView features

e8 contact at australianmail.homeip.net
Wed Dec 17 03:32:29 EST 2008

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.

using System;
using Gtk;
using WebKit;

namespace MyWidgetLibrary
	public partial class MyWebView : Gtk.Bin
		WebView webView  = new WebView();

		public MyWebView()
			this.Add (webView);

		public void Open(string url) // making my own link to WebView Open

View this message in context: http://www.nabble.com/Inherritance-of-WebKit.WebView-features-tp21049070p21049070.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20081217/f449c593/attachment.html 

More information about the Gtk-sharp-list mailing list