Siema.
Próbuje wpisać tekst do pola typu entry, a o to kod:
wimie = gtk_entry_new();
gtk_entry_set_text(wimie, "tekst");
Niestety wyskakuje błąd:
'Error 1 error C2664: 'void gtk_entry_set_text(GtkEntry *,const gchar *)' : cannot convert argument 1 from 'GtkWidget *' to 'GtkEntry *'
Z dokumentacji wyczytałem że to powinno wyglądać tak:
void
gtk_entry_set_text (GtkEntry *entry,
const gchar *text);
"Sets the text in the widget to the given value, replacing the current contents.
Parameters:
entry - a GtkEntry
text - the new text" Źródło: http://developer.gnome.org/gtk3/stable/GtkEntry.html#gtk-entry-set-text