Lines Matching refs:uriEntry
69 static void notifyLoadStatusCb(WebKitWebView* webView, GParamSpec* pspec, GtkWidget* uriEntry)
75 gtk_entry_set_text(GTK_ENTRY(uriEntry), uri);
121 static GtkWidget* createBrowser(GtkWidget* window, GtkWidget* uriEntry, GtkWidget* statusbar, WebKitWebView* webView)
129 g_signal_connect(webView, "notify::load-status", G_CALLBACK(notifyLoadStatusCb), uriEntry);
149 static GtkWidget* createToolbar(GtkWidget* uriEntry, WebKitWebView* webView)
175 gtk_container_add(GTK_CONTAINER(item), uriEntry);
176 g_signal_connect(G_OBJECT(uriEntry), "activate", G_CALLBACK(activateUriEntryCb), NULL);
180 g_object_set_data(G_OBJECT(uriEntry), "web-view", webView);
182 g_signal_connect_swapped(G_OBJECT(item), "clicked", G_CALLBACK(activateUriEntryCb), (gpointer)uriEntry);
193 GtkWidget *uriEntry;
203 uriEntry = gtk_entry_new();
207 gtk_box_pack_start(GTK_BOX(vbox), createToolbar(uriEntry, webView), FALSE, FALSE, 0);
208 gtk_box_pack_start(GTK_BOX(vbox), createBrowser(window, uriEntry, statusbar, webView), TRUE, TRUE, 0);