How to set title and icon of GtkWindow

1f2e131a0ac370d8700a59af4745d05e.png
1. create the
GtkWindow
;
2. set the size with
GtkWindow::set_size_request
;
3. set the title with
GtkWindow::set_title
;
4. you can add icon from
GdkPixbuf
, or set it from file using
GtkWindow::set_icon_from_file
;
5. NOTE: some system themes doesn't show icon on window title, only on dock/task bar;