My first PHP-GTK program

1. create the
2. connect the
3. on the close event, quit
4. create the
5. create a
6. create a
7. create a
8. create a
9. add
10. add columns to
11. create a
12. connect clicked signal to
13. when click on button, get
14. if text wrote is not empty, add this value to model and clean
15. if not, display alert with
GtkWindow;
2. connect the
GtkWindowon close event;
3. on the close event, quit
Gtk::mainloop;
4. create the
GtkBoxlayout;
5. create a
GtkLabeland add to layout;
6. create a
GtkEntryand add to layout;
7. create a
GtkButtonand add to layout;
8. create a
GtkScrolledWindowand
GtkTreeview;
9. add
GtkTreeviewinside
GtkScrolledWindowto enable scroll on
GtkTreeView;
10. add columns to
GtkTreeView;
11. create a
GtkListStoreto store the values, and add it to
GtkTreeView;
12. connect clicked signal to
GtkButton;
13. when click on button, get
GtkEntry::get_text;
14. if text wrote is not empty, add this value to model and clean
GtkEntry;
15. if not, display alert with
GtkMessageDialog;