diff --git a/rktwebview_test.cpp b/rktwebview_test.cpp index 681f84d..36c3024 100644 --- a/rktwebview_test.cpp +++ b/rktwebview_test.cpp @@ -33,6 +33,8 @@ int main(int argc, char *argv[]) int context = rkt_webview_new_context("", nullptr); int wv = rkt_webview_create(context, 0); + rkt_webview_set_title(wv, "Hi there, this is a title!"); + rkt_webview_set_icon(wv, "../../rktplayer.png"); rkt_data_t *d = rkt_webview_info(); rkt_webview_free_data(d);