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

e8 contact at australianmail.homeip.net
Thu Dec 18 21:51:45 EST 2008

Chris Howie-3 wrote:
> On Wed, Dec 17, 2008 at 9:21 PM, e8 <contact at australianmail.homeip.net>
> wrote:
>> Ok I got it to work. I simply needed to reference the command in another
>> way
>> in the project that uses the widget. For some reason C# complicates
>> itself
>> (or my own mistake) if you try to reference mulitlayers, it simply does
>> the
>> work for you if you type it in short. Like MyWidgetLibrary.
>> mywebview1.webView.Open (@"test.html");
> C# isn't being complicated at all.  In the first example you were
> referencing it in static context, passing the instance to the
> property.  That's not how object-oriented languages work.  Perhaps
> this works in C++, but I would not expect it to work like this in any
> kind of high-level OO language.  Java would choke as well.
> -- 
> Chris Howie
> http://www.chrishowie.com
> http://en.wikipedia.org/wiki/User:Crazycomputers
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

I think what I've learnt is that you trace an 'object' back to the base when
referencing that item.  Statically you'd trace the hierarchy up from the
View this message in context: http://www.nabble.com/Inherritance-of-WebKit.WebView-features-tp21049070p21084958.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

More information about the Gtk-sharp-list mailing list