[MonoDevelop] Can't access child widget of Bin
indrid.warm at gmail.com
Sat May 22 16:48:03 EDT 2010
I'm new to Mono, GTK# and MonoDevelop but not to C Sharp as a language.
I've been trying to create a custom widget which contains only a Gtk.Image
widget. To do so I've added a custom widget to the project and dragged an
Image widget into it, which I called imageShown.
In the widget's source code, MonoDevelop's intellisense shows imageShown as
a Field and it seems to be recognised correctly.
However, when I try to build the project I get an error which says "The name
`imageShown' does not exist in the current context (CS0103)".
I've watched the tutorial on custom widgets here
http://monodevelop.com/Creating_custom_widgets_with_MonoDevelop and this
person seems to be able to access his child widgets with no problem, without
having done something I haven't.
Is it some kind of bug or something I'm doing wrong? My MonoDevelop is
version 2.2.1, from the Ubuntu repositories.
View this message in context: http://mono.1490590.n4.nabble.com/Can-t-access-child-widget-of-Bin-tp2227445p2227445.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
More information about the Monodevelop-list