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

e8 contact at australianmail.homeip.net
Wed Dec 17 20:46:14 EST 2008




Chris Howie-3 wrote:
> 
> 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
> 

I want the widget to be accessible in the tool bar of other projects that
it's included into as a reference.  Then when putting the widget into the
new projects gtk gfx-ui it gets the features of WebView.

I've tried to specify the reference too and it wont work ;

(this code being in another project of the assembly., that includes the
widget ref.)
<pre>
MyWidgetLibrary.MyWebView.webView(mywebview1).Open (@"test.html");
</pre>

That returns the error ;
<pre>
'MyWidgetLibrary.MyWebView.webView': An object reference is required for the
nonstatic field, method or property(CS0120)]
</pre>


-- 
View this message in context: http://www.nabble.com/Inherritance-of-WebKit.WebView-features-tp21049070p21065537.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.



More information about the Gtk-sharp-list mailing list