int  address = OS.gtk_entry_get_text (entryHandle); int length = OS.strlen (address);
int  str = 0; if (OS.GTK_VERSION >= OS.VERSION (2, 4, 0)) { str = OS.gtk_combo_box_get_active_text (handle); if (str == 0) return ""; } else { str = OS.gtk_entry_get_text (entryHandle); } int length = OS.strlen (str);
public String getText () {	checkWidget();	int /*long*/ address = OS.gtk_entry_get_text (entryHandle);	int length = OS.strlen (address);	byte [] buffer = new byte [length];	OS.memmove (buffer, address, length);	return new String (Converter.mbcsToWcs (null, buffer));}