2

I try to get the text of an Entry with this code:

this.myEntry.Text();

also I have tried:

this.myEntry.Text.ToString();
this.myEntry.ToString();

But all what I get is Gtk.Entry and not the text from the Entry. How Can I fix this?

Steffen Winkler
  • 2,805
  • 2
  • 35
  • 58
Jan
  • 139
  • 10

1 Answers1

3

I think you should use

string text = this.myEntry.Text;
Andrew Tobilko
  • 48,120
  • 14
  • 91
  • 142
adiego73
  • 189
  • 1
  • 3
  • 13