How to validade fields

1. create the
2. set name of entries to display on validate with
3. add
4. connect
5. on
6. if any entry doesn't has no text, get entry name with
GtkEntryand add it to a
array;
2. set name of entries to display on validate with
GtkEntry::set_name($name);
3. add
GtkButtonto perform action, like save to database;
4. connect
GtkButtonto signal
clicked;
5. on
onSavefunction, get array of entries, loop getting text with
GtkEntry::get_text();
6. if any entry doesn't has no text, get entry name with
GtkEntry::get_name()and display a
GtkDialog;