[MonoDevelop] Stetic Textview text ?
ghaefbgtk at gmail.com
Tue Nov 28 12:12:27 EST 2006
I created TextView widget from Monodevelop GUI designer - Stetic. I
clicked Bind to Field which created "protected Gtk.TextView
textview1;" entry in my code.
I don't know how to initialize TextView variable?
And yeah I mean textview1 not treeview1.
On 11/28/06, Jacob Ilsø Christensen <jacobilsoe at gmail.com> wrote:
> Are you sure the TextView variable has been initialized before you use it?
> Have you looked at whether it is treeview1 or treeview1.Buffer which
> is null? Is it on purpose that the TextView variable is named
> treeview1 or is it a stetic suggestion?
> On 11/28/06, Nil Gradisnik <ghaefbgtk at gmail.com> wrote:
> > Can someone please help me on this one.
> > I'm developing this app fairly simple, I'm using Monodevelop 0.12 and
> > I've built my gui in stetic. I need to put some text into Textview
> > widget which I created with Stetic designer in Monodevelop.
> > If I use this code:
> > treeview1.Buffer.Text = "some text";
> > I get "Object reference not set to an instance of an object".
> > How do I put some text in my Textview ?
> > I need help on this one ASAP.
> > Thanks
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
More information about the Monodevelop-list